mjohansson
Supporter
- Joined
- Feb 10, 2011
- Messages
- 409
Hi, the emulator can be found here:http://icculus.org/virtualjaguar/
I was gonna try to port it, so I thaught the first step would be to compile it myself on linux, but typing make I get error messages, first is that a } is missing in some file wich I added. Now its a bit more difficult... sdlemu_config.cpp 119: error: ´strcmp´ was not declared in this scope
It includes the .h file were this thing is declared, hmm no its not...
What exactly is this? I cant understand what happens here:
if(strcmp((*p).Token().c_str(), key_string) == 0)
return (*p).Value().c_str();
can a variable start with a dot?? dosnt that imply that its a member variable, here its functions but no pre thingy is stated, it just starts with a dot...
Does anyone have a clue about any of this? How the heck am I gonna solve this, I cant declare a function myself when I dont know what its supposed to do.
I was gonna try to port it, so I thaught the first step would be to compile it myself on linux, but typing make I get error messages, first is that a } is missing in some file wich I added. Now its a bit more difficult... sdlemu_config.cpp 119: error: ´strcmp´ was not declared in this scope
It includes the .h file were this thing is declared, hmm no its not...
What exactly is this? I cant understand what happens here:
if(strcmp((*p).Token().c_str(), key_string) == 0)
return (*p).Value().c_str();
can a variable start with a dot?? dosnt that imply that its a member variable, here its functions but no pre thingy is stated, it just starts with a dot...
Does anyone have a clue about any of this? How the heck am I gonna solve this, I cant declare a function myself when I dont know what its supposed to do.