You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#51 2007-05-18 04:09:28

reedthehacker
Member
Registered: 2007-05-17
Posts: 3

Re: Problem with compiling CVS using dev-cpp...

erm

can u plz start from the download im a noob.

Offline

#52 2007-05-18 11:27:07

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Problem with compiling CVS using dev-cpp...

Ok, so before even going to cvs stuff, you should try to compile 0.7 source, which is in the site download.

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.


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

#53 2007-05-26 07:17:42

2002
Member
Registered: 2007-05-26
Posts: 2

Re: Problem with compiling CVS using dev-cpp...

Hi,

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?

Offline

#54 2007-05-26 11:26:28

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Problem with compiling CVS using dev-cpp...

You opened the wrong one, open the .dev project inside the "desmume-0.7.0\src\windows" folder...


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

#55 2007-05-27 04:31:00

2002
Member
Registered: 2007-05-26
Posts: 2

Re: Problem with compiling CVS using dev-cpp...

Hi,

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 smile

Offline

#56 2007-05-27 12:47:56

shash
Administrator
Registered: 2007-03-17
Posts: 897

Re: Problem with compiling CVS using dev-cpp...

You need the directX libraries and headers for DevCPP. Search the forums for a link, it should be somewhere.

Offline

#57 2007-05-27 17:48:43

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Problem with compiling CVS using dev-cpp...


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

Board footer

Powered by FluxBB