Compile Kaillera with mingw

Post here everything related to the Kaillera SDK (applications announcements/troubles/questions).

Moderators: toqer, gothic_hobbit, civilian, okaygo

Compile Kaillera with mingw

Postby Kaned » Wed Jul 21, 2004 9:50 am

Hello!

Got some problem with compiling Kaillera under mingw (via DevCPP)
I got "ISO C++ forbids declaration of " on each func declaration of the .H

any hint ?

Thanks
Kaned
 

Postby Kaned » Wed Jul 21, 2004 10:14 pm

the exact errors messages are :

kailleraclient.h:50: ISO C++ forbids declaration of `kailleraGetVersion' with no type

kailleraclient.h:55: ISO C++ forbids declaration of `kailleraInit' with no type

kailleraclient.h:60: ISO C++ forbids declaration of `kailleraShutdown' with no type

kailleraclient.h:83: ISO C++ forbids declaration of `kailleraSetInfos' with no
type

kailleraclient.h:88: ISO C++ forbids declaration of `kailleraSelectServerDialog
' with no type

kailleraclient.h:117: ISO C++ forbids declaration of `kailleraModifyPlayValues'
with no type

kailleraclient.h:123: ISO C++ forbids declaration of `kailleraChatSend' with no
type

kailleraclient.h:129: ISO C++ forbids declaration of `kailleraEndGame' with no
type
Kaned
 

Postby Kaned » Thu Jul 22, 2004 7:56 am

for people with the same problem :

compile with -Wdisable-optimization, it works for me
Kaned
 

Postby Kelutzu » Thu Jul 22, 2004 9:10 am

Kaned make a mini-howto about how to implement kaillera in mame (where kailleraclient.h must be and what else needs to be modified) and send it to Kelutzul@Yahoo.com please.
Kelutzu
 

Postby Guest » Thu Jul 22, 2004 11:28 am

Id like that howto as well so just post it here
Guest
 

starting with kaillera SDK

Postby goebish » Thu Nov 11, 2004 2:45 am

This is not as simple :roll:
A simple kailera implementation is here: http://www.icculus.org/cgi-bin/viewcvs/ ... .c?rev=1.9
Or you can look at mame32k 0.64 sources .. really usefull to start
goebish
Senior Member
 
Posts: 21
Joined: Tue Sep 21, 2004 11:29 pm
Location: http://snes9k.fr.st

Postby typhen » Sat Jan 22, 2005 6:38 am

looks like it's complaining because the function definitions don't have a return type in the header. If you prefix each one with the word int, it might compile.
typhen
 


Return to SDK Development

Who is online

Users browsing this forum: No registered users and 1 guest