Thanks for pointing that out to me - I couldn't believe that I made that mistake! I opened up the .dev file in the "desmume-0.7.0\src\windows" folder as you said, in Dev C++, It started compiling, but half way through it stopped and I think there was another error.
There were 57 errors. Here is the Compile Log file:
-------------------------------------------------------------------------------------
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Kong Family Computer\Desktop\desmume-0.7.0\src\windows\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Kong Family Computer\Desktop\desmume-0.7.0\src\windows\Makefile.win" all
gcc.exe -c snddx.c -o obj/snddx.o -I"C:/Dev-Cpp/include" -DVERSION=\"0.7.0\" -fexpensive-optimizations -O3
snddx.c:20:20: dsound.h: No such file or directory
snddx.c:23: error: syntax error before "hr"
snddx.c:25: error: syntax error before "hr"
snddx.c:53: error: syntax error before "lpDS8"
snddx.c:53: warning: data definition has no type or storage class
snddx.c:54: error: syntax error before "lpDSB"
snddx.c:54: warning: data definition has no type or storage class
snddx.c:55: error: syntax error before "hwnd"
snddx.c:55: warning: data definition has no type or storage class
snddx.c:60: error: syntax error before "soundvolume"
snddx.c:60: warning: data definition has no type or storage class
snddx.c: In function `SNDDXInit':
snddx.c:67: error: `DSBUFFERDESC' undeclared (first use in this function)
snddx.c:67: error: (Each undeclared identifier is reported only once
snddx.c:67: error: for each function it appears in.)
snddx.c:67: error: syntax error before "dsbdesc"
snddx.c:68: error: `WAVEFORMATEX' undeclared (first use in this function)
snddx.c:69: error: `HRESULT' undeclared (first use in this function)
snddx.c:72: error: `ret' undeclared (first use in this function)
snddx.c:72: error: `NULL' undeclared (first use in this function)
snddx.c:72: error: `DS_OK' undeclared (first use in this function)
snddx.c:75: error: `MB_OK' undeclared (first use in this function)
snddx.c:75: error: `MB_ICONINFORMATION' undeclared (first use in this function)
snddx.c:79: error: `DSSCL_PRIORITY' undeclared (first use in this function)
snddx.c:86: error: `dsbdesc' undeclared (first use in this function)
snddx.c:88: error: `DSBCAPS_PRIMARYBUFFER' undeclared (first use in this function)
snddx.c:101: error: `wfx' undeclared (first use in this function)
snddx.c:102: error: `WAVE_FORMAT_PCM' undeclared (first use in this function)
snddx.c:118: error: `DSBCAPS_GLOBALFOCUS' undeclared (first use in this function)
snddx.c:118: error: `DSBCAPS_STICKYFOCUS' undeclared (first use in this function)
snddx.c:119: error: `DSBCAPS_CTRLVOLUME' undeclared (first use in this function)
snddx.c:119: error: `DSBCAPS_GETCURRENTPOSITION2' undeclared (first use in this function)
snddx.c:120: error: `DSBCAPS_LOCHARDWARE' undeclared (first use in this function)
snddx.c:126: error: `DSERR_CONTROLUNAVAIL' undeclared (first use in this function)
snddx.c:127: error: `DSERR_INVALIDCALL' undeclared (first use in this function)
snddx.c:128: error: `E_FAIL' undeclared (first use in this function)
snddx.c:129: error: `E_NOTIMPL' undeclared (first use in this function)
snddx.c:134: error: `DSBCAPS_LOCSOFTWARE' undeclared (first use in this function)
snddx.c:151: error: `DSBPLAY_LOOPING' undeclared (first use in this function)
snddx.c:158: error: `DSBVOLUME_MAX' undeclared (first use in this function)
snddx.c: In function `SNDDXDeInit':
snddx.c:168: error: `DWORD' undeclared (first use in this function)
snddx.c:168: error: syntax error before "status"
snddx.c:172: error: `status' undeclared (first use in this function)
snddx.c:174: error: `DSBSTATUS_PLAYING' undeclared (first use in this function)
snddx.c:178: error: `NULL' undeclared (first use in this function)
snddx.c: In function `SNDDXUpdateAudio':
snddx.c:198: error: `LPVOID' undeclared (first use in this function)
snddx.c:198: error: syntax error before "buffer1"
snddx.c:200: error: `DWORD' undeclared (first use in this function)
snddx.c:203: error: `status' undeclared (first use in this function)
snddx.c:205: error: `DSBSTATUS_BUFFERLOST' undeclared (first use in this function)
snddx.c:208: error: `buffer1' undeclared (first use in this function)
snddx.c:208: error: `buffer1_size' undeclared (first use in this function)
snddx.c:208: error: `buffer2' undeclared (first use in this function)
snddx.c:208: error: `buffer2_size' undeclared (first use in this function)
snddx.c: In function `SNDDXGetAudioSpace':
snddx.c:224: error: `DWORD' undeclared (first use in this function)
snddx.c:224: error: syntax error before "playcursor"
snddx.c:227: error: `playcursor' undeclared (first use in this function)
snddx.c:227: error: `writecursor' undeclared (first use in this function)
snddx.c:227: error: `DS_OK' undeclared (first use in this function)
snddx.c: In function `SNDDXMuteAudio':
snddx.c:246: error: `DSBVOLUME_MIN' undeclared (first use in this function)
snddx.c: In function `SNDDXSetVolume':
snddx.c:262: error: `LONG' undeclared (first use in this function)
snddx.c:262: error: syntax error before "volume"
make.exe: *** [obj/snddx.o] Error 1
Execution terminated
-------------------------------------------------------------------------------------
Thanks for helping
]]>I've just downloaded the source files for DeSmuME 0.7 from sourcefourge.net. I've also downloaded Dev C++ (Bloodshed). As told - I opened up Dev C++ and opened up the "desmume.dev" project file that's found in the "desmume-0.7.0\src\gtk\dev-cpp" folder. It failed to compile and this was the compile log:
--------------------------------------------------------------------------
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\My Computer\Desktop\desmume-0.7.0\src\gtk\dev-cpp\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\My Computer\Desktop\desmume-0.7.0\src\gtk\dev-cpp\Makefile.win" all
g++.exe ../../debug.o -o "desmume.exe" -L"C:/Dev-Cpp/lib" -mwindows -limm32 -lshell32 -lole32 -luuid -lintl -lpangowin32-1.0.dll -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lgdk-win32-2.0.dll -lglib-2.0.dll -lgmodule-2.0.dll -lgobject-2.0.dll -lgthread-2.0.dll -lgtk-win32-2.0.dll -lpango-1.0.dll libpthreadGC2.a libSDL.a
g++.exe: libpthreadGC2.a: No such file or directory
g++.exe: libSDL.a: No such file or directory
make.exe: *** [desmume.exe] Error 1
Execution terminated
--------------------------------------------------------------------------
It seems like I'm missing some files or something.
Can someone please help me out?
]]>Grab the source, unpack it, locate the project file (.dev), double click it, and look for the compile option.
If everything is sucessfull, you should have a desmume.exe on the windows dir.
If not, take a look on the other threads where people had problems compiling, most answers are there already.
Then you can come back here for more help.
]]>can u plz start from the download im a noob.
]]>Theres no need to configure anything, it works out-of-the-box. You just need to add some parameters and libs if you want save state support.
Now please read the other threads before making a new thread about it... http://forums.desmume.org/viewtopic.php?pid=904#p904
]]>Can someone please take me step through step what to do.
Please contact me if inreristed. Reedthehacker@yahoo.com
It may be worth your time. ;]]
]]>Sorry to be bothering you so much, I am just really bummed that I can't do it, because if your'e not actually doing any coding it should be really simple to compile, so it seriously sucks that I am having all these problems.
]]>If others can compile it so easily I really don't know why I keep on having problems....
]]>After people starting making their own beta builds, and distributing on the net:
1) some came with virus;
2) people only complained about bug/errors to official dev team, which didnt had a thing to do with those builds.