Thanks Man, I'm from Brazil, and my build works perfect... Give me some FPS Boost with the SSE 4.2 Instructions

, Now I Can run Zelda TP In 30(even 31 sometimes) FPS on Hyrule Field in the Last Revisions... Oh and Sorry for my bad english...
i can't build with Intel C++ anymore using the current latest revision (r7695)
could anyone pinpoint the revision causing it to fail? the last revision i built with this was r7673
these are the errors:
Code:
Error 209 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\DSPTool\Common.lib(MemoryUtil.obj) DSPTool
Code:
Error 216 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\Core\DolphinWX\VideoCommon.lib(MemoryUtil.obj) Dolphin
(08-11-2011, 04:38 AM)gabriel21st Wrote: [ -> ]i can't build with Intel C++ anymore using the current latest revision (r7695)
could anyone pinpoint the revision causing it to fail? the last revision i built with this was r7673
these are the errors:
Code:
Error 209 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\DSPTool\Common.lib(MemoryUtil.obj) DSPTool
Code:
Error 216 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\Core\DolphinWX\VideoCommon.lib(MemoryUtil.obj) Dolphin
I'm having that issue too. I'm working on finding a workaround.
r7681 broke ICC XE compilation when DSPTool was set to compile
again.
I've been working on this issue when I've had the chance.
Updated tutorial with the new GIT checkout method.
Still working on that error >.<
Quote:Error 216 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\Core\DolphinWX\VideoCommon.lib(MemoryUtil.obj) Dolphin
(08-25-2011, 10:43 AM)Lectrode Wrote: [ -> ]Updated tutorial with the new GIT checkout method.
Still working on that error >.<
just add psapi.lib to Linker -> input -> additional dependencies in both dsptool and dolphin .
Thank you for the guide. Reading through it and seeing other errors that people had helps me out a lot. Googled last couple days and finally ran across this.
My C++ and compiling is weak =( so this has been a great learning experience for me.
i will try to help to solve this issue asap once i have my git tools and dolphin-emulator source codes downloaded.
this one is pretty easy.
just comment out at [Common] -> [MemoryUtil.cpp] :
Code:
//if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc)))
//Ret = StringFromFormat("%s K", ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str());
only DSPTool.exe will use this line and it won't affect Dolphin.exe. Once you comment out this one, everything will compile.
I will figure out to fix this GetProcessMemoryInfo(). I have to read Psapi.h first. Thanks.
Code:
Error 216 error LNK2019: unresolved external symbol GetProcessMemoryInfo referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl MemUsage(void)" (?MemUsage@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) C:\Users\Gabriel\Documents\dolphin-emu\Source\Core\DolphinWX\VideoCommon.lib(MemoryUtil.obj) Dolphin
[color=#FF0000]NOW ALL PROBLEM SOLVED![/color]
1) Go to your
DSPTool and
Dolphin project file and press right click.
2) Click
Property.
3) Go to
Configuration Properties tree.
4) Go to
Linker subtree.
5) Go to
Input subtree.
6) At
Addditional Dependencies column, [color=#FF0000]APPEND [/color] "
[color=#C71585]psapi.lib;[/color]" infront of the line.
This is how it will look like:
DSPTool project
Quote:psapi.lib;winmm.lib;%(AdditionalDependencies)
Dolphin projectQuote:psapi.lib;dsound.lib;dxerr.lib;iphlpapi.lib;winmm.lib;setupapi.lib;xinput.lib;vfw32.lib;cg.lib;cgGL.lib;opengl32.lib;glew32s.lib;glu32.lib;rpcrt4.lib;comctl32.lib;%(AdditionalDependencies)
PS: Please remember to uncomment out these lines from Common\MemoryUtil.cpp if your uncomment them earlier.
Code:
if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc)))
Ret = StringFromFormat("%s K", ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str());