You are not logged in.

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



#1 2007-05-28 18:16:24

cyborg_
Member
Registered: 2007-04-24
Posts: 4

broken compilation for gtk-glade under Windows xp

hi guys,

when i try to compile the latest cvs of gtk-glade under Windows i get

main.c:494: error: syntax error before "hThisInstance"

main.c: In function `WinMain':

main.c:498: error: invalid initializer

gcc.exe: unrecognized option `-rdynamic'

make.exe: *** [main.o] Error 1

any suggestion ?

Offline

#2 2007-05-28 23:05:48

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

Re: broken compilation for gtk-glade under Windows xp

Well the gtk-glade port on windows isnt working.
The 3d code needs to be fixed.
But i never had that bug.


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

Offline

#3 2007-06-01 08:38:24

schnappy
Member
Registered: 2007-05-31
Posts: 3

Re: broken compilation for gtk-glade under Windows xp

if your wanting to use your product under windows, you could try yourself some hassle by grabbing CVS pre-compiled
http://amponzi.googlepages.com/

But i dont know anywhere to get *unix compilations

Offline

#4 2007-06-01 11:37:32

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

Re: broken compilation for gtk-glade under Windows xp

schnappy, those are native win32 binary.
What he was trying to do was to compile the gtk-glade port for win32.


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

Offline

#5 2007-06-07 14:27:09

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: broken compilation for gtk-glade under Windows xp

You can safely ignore the gcc unrecognized option `-rdynamic' .
It's needed under GNU/Linux and MacOSX but not under MS Windows.

As for the syntax error... I'm sorry, i'm unable to help.
I'm missing Damdoum...

Offline

#6 2007-06-07 16:31:26

cyborg_
Member
Registered: 2007-04-24
Posts: 4

Re: broken compilation for gtk-glade under Windows xp

i'm missing damdoum too ;_;

Offline

#7 2007-06-08 12:33:25

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: broken compilation for gtk-glade under Windows xp

The syntax error maybe that the header file windows.h is not included.

Offline

#8 2007-06-08 14:10:03

cyborg_
Member
Registered: 2007-04-24
Posts: 4

Re: broken compilation for gtk-glade under Windows xp

if i add windows.h in main.c, i get

In file included from c:/Dev-Cpp/include/objbase.h:74,
                 from c:/Dev-Cpp/include/ole2.h:9,
                 from c:/Dev-Cpp/include/windows.h:111,
                 from main.c:28:
c:/Dev-Cpp/include/objidl.h:58: error: syntax error before string constant

main.c:599: error: conflicting types for 'WinMain'
c:/Dev-Cpp/include/winbase.h:1040: error: previous declaration of 'WinMain' was here
main.c:599: error: conflicting types for 'WinMain'
c:/Dev-Cpp/include/winbase.h:1040: error: previous declaration of 'WinMain' was here
main.c: In function `WinMain':
main.c:601: error: invalid initializer

make.exe: *** [main.o] Error 1

Offline

Board footer

Powered by FluxBB