Win32 PS2SDK problems?
Posted: Sun Feb 05, 2006 2:12 pm
I'm a bit of a noob here, but I seem to have gotten a lot of what I wanted to work, compile and everything but a little bit to link.
I am currently using the win32 version of the PS2SDK found on the main PS2DEV.org homepage under "tools."
I cannot seem to fix the following two problems I keep running into.
1: I can't seem to find any way of linking in gettimeofday. Is it in the SDK? Or just in the .h's and not in the libaries?
I even tried manually externing' a definition to "C" and it still couldn't link it.
2: I cannot seem to get strings to work ... at all. Any time I use them I keep getting the following bunch of errors:
In file included from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/cwchar:51,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/bits/fpos.h:45
,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/bits/char_trai
ts.h:46,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/string:47,
from src/StdString.h:95,
from src/global.h:9,
from src/MercuryINI.h:4,
from src/MercuryINI.cpp:1:
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(71) : `difftime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(72) : `mktime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(73) : `time' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(74) : `asctime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(75) : `ctime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(76) : `gmtime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(77) : `localtime' not
declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(78) : `strftime' not declared
Any ideas what I could be doing wrong?
I am currently using the win32 version of the PS2SDK found on the main PS2DEV.org homepage under "tools."
I cannot seem to fix the following two problems I keep running into.
1: I can't seem to find any way of linking in gettimeofday. Is it in the SDK? Or just in the .h's and not in the libaries?
I even tried manually externing' a definition to "C" and it still couldn't link it.
2: I cannot seem to get strings to work ... at all. Any time I use them I keep getting the following bunch of errors:
In file included from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/cwchar:51,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/bits/fpos.h:45
,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/bits/char_trai
ts.h:46,
from /cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/string:47,
from src/StdString.h:95,
from src/global.h:9,
from src/MercuryINI.h:4,
from src/MercuryINI.cpp:1:
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(71) : `difftime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(72) : `mktime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(73) : `time' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(74) : `asctime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(75) : `ctime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(76) : `gmtime' not declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(77) : `localtime' not
declared
/cygdrive/c/ps2dev/IDE/ee/include/c++/3.2.2/ctime(78) : `strftime' not declared
Any ideas what I could be doing wrong?