You are not logged in.

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

#1 Re: Support » broken compilation for gtk-glade under Windows xp » 2007-06-08 14:10:03

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

#3 Support » broken compilation for gtk-glade under Windows xp » 2007-05-28 18:16:24

cyborg_
Replies: 7

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 ?

Board footer

Powered by FluxBB