You are not logged in.

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



#1 2007-05-23 16:35:57

heptaprism
Member
Registered: 2007-05-23
Posts: 3

problem trying to compile desmume

I donloaded desmume .7-win  and the desmume .7 tar file  found on hte chanka website. Tehn I checked it thorugh the tortoisse cvs program. Now IM trying to compile it in Dev-C++ and the following compiler log appears.
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Edgardo Quintanilla\My Documents\desmume\src\windows\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Edgardo Quintanilla\My Documents\desmume\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

Help me please Im new at this and do not know what to do

Offline

#2 2007-05-23 17:03:31

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

Re: problem trying to compile desmume

You need the directx libraries. iirc, there were some links on the forum, search for them smile And why do you want to compile it ?

Offline

#3 2007-05-23 17:21:58

heptaprism
Member
Registered: 2007-05-23
Posts: 3

Re: problem trying to compile desmume

correct me if im wrong, but don't you have to do that before you can actually use the emulator? sad I do not know that is why Im trying to get help

Offline

#4 2007-05-23 21:54:06

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

Re: problem trying to compile desmume

Nope, there's a binary already compiled in the main download page tongue

Offline

#5 2007-05-24 06:44:16

heptaprism
Member
Registered: 2007-05-23
Posts: 3

Re: problem trying to compile desmume

So what you are telling me is that in order to play ds roms all i need is the program on that page and Im set

Offline

#6 2007-05-25 12:39:02

Serio
Member
From: ZA WARUDO
Registered: 2007-03-22
Posts: 28
Website

Re: problem trying to compile desmume

Yes. Although the cvs version has supposedly more bugfixes I heard.

I tried to compile it too, but it appears Visual C++ 6.0 isn't going to work, and to get Visual Studio demo to even install I need to install service pack 2 which I detest. tongue


Hi. This is a signature. Worship it. yikes tongue

Offline

#7 2007-05-25 13:46:58

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

Re: problem trying to compile desmume

Then try dev-c++, its really small, easy and free.


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

Offline

#8 2007-05-26 23:07:21

Serio
Member
From: ZA WARUDO
Registered: 2007-03-22
Posts: 28
Website

Re: problem trying to compile desmume

Just tried, everything worked fine and compiled without problems. So far the only difference i see is that the dropdown menus for the debug tools are fixed and actually visible now.

Also just for fun I fixed three trivial text things that were leftovers from the old french version in the files. tongue


Hi. This is a signature. Worship it. yikes tongue

Offline

Board footer

Powered by FluxBB