after fiddling with setenv CFLAGS (i.e. setenv CFLAGS "-I/sw/include -I/usr/X11R6/include"), I finally got the configure script to give me makefiles.
make then gives an error on src/GLEXT/GLBilboardRenderer.cpp:
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"0.36.2\" -DPKGDIR=\"/usr/local/games/scorched3d/\" -I. -I. -I../porting -I.. -I/sw/lib/wx/include/gtkd-2.4 -I/sw/include -D__WXDEBUG__ -D__WXGTK__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -DdDOUBLE -c -o GLBilboardRenderer.o `test -f ../GLEXT/GLBilboardRenderer.cpp || echo './'`../GLEXT/GLBilboardRenderer.cpp
In file included from ../ode/ode.h:28,
from ../engine/PhysicsEngine.h:24,
from ../tank/TankPhysics.h:26,
from ../tank/Tank.h:27,
from ../tank/TankContainer.h:25,
from ../common/Logger.h:27,
from ../GLEXT/GLBilboardRenderer.cpp:27:
../ode/config.h:38:59: malloc.h: No such file or directory
make[2]: *** [GLBilboardRenderer.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Here's the code around src/ode/config.h:38:
#if defined(__DARWIN__)
#include <sys/malloc.h>
#else
#include <malloc.h> // for alloca under windows
#endif
No amount of -D__DARWIN__ or -I/usr/include/sys helps any (at least, in CFLAGS it does not help any... is there a different variable i should do this in?), so I changed the #include <malloc.h> to <sys/malloc.h>... I know this dosen't help any for other people, but my guess is the problem is in the make file or configure script not propogating the include directories/build flags properly.
After this change I get an error which appears to be related to malloc.h:
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"0.36.2\" -DPKGDIR=\"/usr/local/games/scorched3d/\" -I. -I. -I../porting -I.. -I/sw/lib/wx/include/gtkd-2.4 -I/sw/include -D__WXDEBUG__ -D__WXGTK__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -DdDOUBLE -c -o aseFile.tab.o `test -f ../3dsparse/aseFile.tab.cpp || echo './'`../3dsparse/aseFile.tab.cpp
In file included from /usr/include/stdlib.h:64,
from ../porting/windows.h:5,
from ../porting/porting.h:1,
from ../common/Defines.h:30,
from g:\cxx\scorched\3dsparse\aseFile.y:3:
/usr/include/alloca.h:36: error: `void*size_t' redeclared as different kind of
symbol
/usr/include/sys/types.h:123: error: previous declaration of `typedef long
unsigned int size_t'
In file included from ../porting/windows.h:5,
from ../porting/porting.h:1,
from ../common/Defines.h:30,
from g:\cxx\scorched\3dsparse\aseFile.y:3:
/usr/include/stdlib.h:131: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:132: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:141: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:142: error: parse error before `*' token
/usr/include/stdlib.h:143: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:144: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:144: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:147: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:159: error: parse error before `*' token
/usr/include/stdlib.h:205: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:205: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:208: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:208: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:212: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:212: error: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:223: error: type specifier omitted for parameter `size_t'
In file included from ../porting/windows.h:6,
from ../porting/porting.h:1,
from ../common/Defines.h:30,
from g:\cxx\scorched\3dsparse\aseFile.y:3:
/usr/include/string.h:74: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:75: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:76: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:77: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:78: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:86: error: parse error before `char'
/usr/include/string.h:88: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:89: error: parse error before `char'
/usr/include/string.h:90: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:91: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:92: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:93: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:96: error: parse error before `char'
/usr/include/string.h:99: error: parse error before `*' token
/usr/include/string.h:103: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:104: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:105: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:108: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:112: error: parse error before `*' token
/usr/include/string.h:113: error: parse error before `*' token
/usr/include/string.h:115: error: type specifier omitted for parameter `size_t'
/usr/include/string.h:119: error: type specifier omitted for parameter `size_t'
In file included from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:45,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/gcc/darwin/3.3/c++/cstring:89: error: `strxfrm' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:90: error: `strcspn' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:91: error: `strspn' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:95: error: `strlen' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:100: error: type specifier omitted for
parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/cstring:100: error: parse error before `)'
token
/usr/include/gcc/darwin/3.3/c++/cstring: In function `void* std::memchr(...)':
/usr/include/gcc/darwin/3.3/c++/cstring:101: error: `__p' undeclared (first use
this function)
/usr/include/gcc/darwin/3.3/c++/cstring:101: error: (Each undeclared identifier
is reported only once for each function it appears in.)
/usr/include/gcc/darwin/3.3/c++/cstring:101: error: `__c' undeclared (first use
this function)
/usr/include/gcc/darwin/3.3/c++/cstring:101: error: `__n' undeclared (first use
this function)
In file included from /usr/include/pthread.h:60,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/time.h: At global scope:
/usr/include/time.h:127: error: parse error before `*' token
In file included from /usr/include/pthread.h:61,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/unistd.h:136: error: parse error before `,' token
/usr/include/unistd.h:147: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:165: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:177: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:179: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:226: error: type specifier omitted for parameter `size_t'
In file included from /usr/include/pthread.h:61,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/unistd.h:238: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:273: error: redefinition of `void*valloc'
/usr/include/stdlib.h:157: error: `void*valloc' previously declared here
/usr/include/unistd.h:280: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:281: error: type specifier omitted for parameter `size_t'
/usr/include/unistd.h:284: error: type specifier omitted for parameter `size_t'
In file included from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/pthread.h:207: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:207: error: parse error before `*' token
/usr/include/pthread.h:209: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:209: error: parse error before `*' token
/usr/include/pthread.h:211: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:211: error: parse error before `*' token
/usr/include/pthread.h:223: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:223: error: parse error before `)' token
/usr/include/pthread.h:224: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:224: error: parse error before `)' token
/usr/include/pthread.h:226: error: type specifier omitted for parameter `size_t
'
/usr/include/pthread.h:226: error: parse error before `)' token
/usr/include/pthread.h:331: error: parse error before `)' token
In file included from /usr/include/gcc/darwin/3.3/c++/cwchar:51,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:45,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/gcc/darwin/3.3/c++/ctime:78: error: `strftime' not declared
In file included from /usr/include/gcc/darwin/3.3/c++/cwchar:54,
from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:45,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/wchar.h:166: error: parse error before `char'
/usr/include/wchar.h:167: error: parse error before `*' token
/usr/include/wchar.h:170: error: parse error before `*' token
/usr/include/wchar.h:174: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:174: error: parse error before `,' token
/usr/include/wchar.h:180: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:180: error: parse error before `,' token
/usr/include/wchar.h:183: error: parse error before `*' token
/usr/include/wchar.h:189: error: parse error before `wchar_t'
/usr/include/wchar.h:190: error: parse error before `*' token
/usr/include/wchar.h:192: error: parse error before `wchar_t'
/usr/include/wchar.h:193: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:194: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:195: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:198: error: parse error before `*' token
/usr/include/wchar.h:200: error: parse error before `wchar_t'
/usr/include/wchar.h:202: error: parse error before `*' token
/usr/include/wchar.h:210: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:211: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:212: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:213: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:214: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:231: error: type specifier omitted for parameter `size_t'
/usr/include/wchar.h:233: error: parse error before `*' token
/usr/include/wchar.h:234: error: parse error before `*' token
In file included from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:45,
from /usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/gcc/darwin/3.3/c++/cwchar:147: error: `mbrlen' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:148: error: `mbrtowc' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:150: error: `mbsrtowcs' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:162: error: `wcrtomb' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:167: error: `wcscspn' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:168: error: `wcsftime' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:169: error: `wcslen' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:173: error: `wcsrtombs' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:174: error: `wcsspn' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:180: error: `wcsxfrm' not declared
/usr/include/gcc/darwin/3.3/c++/cwchar:216: error: type specifier omitted for
parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/cwchar:216: error: parse error before `)' token
In file included from /usr/include/gcc/darwin/3.3/c++/string:47,
from ../3dsparse/Model.h:27,
from ../3dsparse/ASEModel.h:24,
from ../3dsparse/ASEFile.h:24,
from g:\cxx\scorched\3dsparse\aseFile.y:4:
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:81: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:81: error: parse error
before `)' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:84: error: parse error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:87: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:87: error: parse error
before `,' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:90: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:90: error: parse error
before `)' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:93: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:93: error: parse error
before `)' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:96: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:96: error: parse error
before `,' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:138: error: type specifier
omitted for parameter `size_t'
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:138: error: parse error
before `)' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:142: error: parse error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: In static member function `
static int std::char_traits<char>::compare(...)':
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:139: error: `__s1'
undeclared (first use this function)
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:139: error: `__s2'
undeclared (first use this function)
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: At global scope:
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:145: error: syntax error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:146: error: parse error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: In function `int*
std::find(...)':
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:147: error: parse error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: At global scope:
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:149: error: syntax error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:153: error: syntax error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:157: error: syntax error
before `*' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:162: error: syntax error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:168: error: syntax error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:172: error: parse error
before `&' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: In function `bool
eq_int_type(...)':
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:173: error: `__c1'
undeclared (first use this function)
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:173: error: `__c2'
undeclared (first use this function)
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h: At global scope:
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:176: error: syntax error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:179: error: syntax error
before `(' token
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:188: error: `char_traits' is
not a template
/usr/include/gcc/darwin/3.3/c++/bits/char_traits.h:189: confused by earlier errors, bailing out
make[2]: *** [aseFile.tab.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
To me this looks like its using the wrong header file due to the type mismatches, but I have not been able to track down the source.
yeah, i had some old code in there... but after i got a fresh tree, I still had one last error: ld complained about _acosf (single percision acos), but adding -lmx (see man acosf) to the link command fixed that. I'm on 10.3.2 btw.
The game its self seems to run a bit slower, but that is remedied with decreasing the detail level. I still have issues when GL Extensions are not disabled, but the delete key works now.
yes, I am still having the severe graphics glitches with out GL Extensions disabled. Mostly, it appears to be missing or improperly clipped textures.
Is there any sort of dxdiag-like application for OS X that I can use to test my OpenGL environemnt?
I also suspect that I have the wrong SDL/WX libraries or vesions of libraries installed... what should I look for in that department?
You could try playing other openGL games that use GL extensions.... The UT2003 demo?
I think it nearly impossible for wxgtk to be to blame. WXgtk is an Xwindows widget toolkit only used for the beginning dialog, before the game even starts.
I use fink's sdl 1.2.6-12...
It seems unlikely to me though, that a buggy SDL is the source of your troubles. We're using the same libs, I'm sure of it.
I still think it's NVIDIA's GL implementation for OSX.
I know it's a bitter pill, since you can't change the video chip on your laptop... We can only hope that NVIDIA will be forthcoming with updates to its OSX drivers...
Then again, we're still the only 2 people who I know for certain have tried the OSX port of scorched... It would be nice to get more data points to help determine whether this is systematic among NVIDIA users.
c. thomas
GoochRules! wrote:
yes, I am still having the severe graphics glitches with out GL Extensions disabled. Mostly, it appears to be missing or improperly clipped textures.
Is there any sort of dxdiag-like application for OS X that I can use to test my OpenGL environemnt? I also suspect that I have the wrong SDL/WX libraries or vesions of libraries installed... what should I look for in that department?
ok... i dl'ed the ut2003 demo for OS X... it runs slowly, but it runs.
I guess I meant that my compiled versions of sdl/wx were somehow different than yours... I have sdl-1.2.6-12 and wxgtk-2.4.1.2-22, both from fink. I haven't (or don't think that I have) done anything special to fink or how it gets stuff built... maybe in the end you're right about this bad nVidia OpenGL impl.
So... towards that end, I've been trying to track down my OpenGL problems on with this profiler I got with Xcode, but when I got the latest sources from CVS (2004/01/09 17:45 GMT -08:00), the source would no longer link.
First it complained about View*::* symbols, which I was able to squish... just had to actually compile the (new) source file in engine, and add that object to the link.
Now it complains about xAddProcessCallbackForPid(wxEndProcessData*, int) being undefined. I ran nm on my libwx_gtk-2.4.dylib, and found:
00000000 A _Z20wxAddProcessCallbackP16wxEndProcessDatai.eh
000d6a48 T __Z20wxAddProcessCallbackP16wxEndProcessDatai
U _Z26wxAddProcessCallbackForPidP16wxEndProcessDatai
...so it looks like that's in there, and that library is being linked, so I don't know what the problem is. (I did remove the patched wxgtk.[info|patch] file, is that it?)
As far as testing OpenGL, I've been looking hard for a program that will tell me what GL stuff my system supports, etc., but I can't find anything for OS X. Any hints is greatly apperciated.
BTW... would a Xcode project for scorched3d be of any value to anyone?
Ok, so I got a lot of OpenGL info from my system...
scorched3d in windowed (800x600) mode (the text appeared to be clipped on the right side, I hop this list is complete... the last one in the list, "GL_ATI_texture_env_combine3 t", is interesting because I have an nVidia card, not ATI... its even more interesting because its in all three lists):
GL_ARB_texture_env_dot3 GL_ARB_texture_compression GL_ARB_imaging GL_ARB_point_parameters GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_paletted_texture_color GL_EXT_texture_rectangle GL_EXT_shared_texture_palette GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_secondary_color GL_EXT_texture_compression_s3tc GL_SGIS_texture_edge_clamp GL_NV_blend_square GL_NV_register_combiners GL_NV_multisample_filter_hint GL_NV_fog_distance GL_SGIS_texture_lod GL_ATI_texture_env_combine3 t
And finally, from the OpenGL Driver Monitor program (which is a part of the developer tools package, /Developer/Applications/Graphics Tools/OpenGL Driver Monitor.app)
NVIDIA GeForce4 MX OpenGL Engine
Vendor Name NVIDIA Corporation
Version 1.1 NVIDIA-1.3.4
Renderer Name NVIDIA GeForce4 MX OpenGL Engine
OpenGL Extensions
GL_ARB_transpose_matrix
GL_ARB_vertex_program
GL_ARB_vertex_blend
GL_ARB_window_pos
GL_EXT_multi_draw_arrays
GL_EXT_clip_volume_hint
GL_EXT_rescale_normal
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_APPLE_client_storage
GL_APPLE_specular_vector
GL_APPLE_transform_hint
GL_APPLE_packed_pixels
GL_APPLE_fence
GL_APPLE_vertex_array_object
GL_APPLE_vertex_program_evaluators
GL_APPLE_element_array
GL_APPLE_flush_render
GL_NV_texgen_reflection
GL_NV_light_max_exponent
GL_IBM_rasterpos_clip
GL_SGIS_generate_mipmap
GL_ARB_texture_mirrored_repeat
GL_APPLE_ycbcr_422
GL_APPLE_texture_range
GL_APPLE_vertex_array_range
GL_APPLE_pixel_buffer
GL_ARB_multitexture
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_compression
GL_ARB_imaging
GL_ARB_point_parameters
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_texture_env_add
GL_EXT_compiled_vertex_array
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_paletted_texture
GL_EXT_texture_rectangle
GL_EXT_shared_texture_palette
GL_EXT_separate_specular_color
GL_EXT_stencil_wrap
GL_EXT_secondary_color
GL_EXT_texture_compression_s3tc
GL_SGIS_texture_edge_clamp
GL_NV_blend_square
GL_NV_register_combiners
GL_NV_multisample_filter_hint
GL_NV_fog_distance
GL_SGIS_texture_lod
GL_ATI_texture_env_combine3
Display Mask 1 (0x00000001)
Renderer ID 139264 (0x00022000)
Off Screen No
Full Screen Yes
Hardware Accelerated Yes
Robust No
Backing Store No
MP Safe Yes
Window Yes
Multi Screen No
Compliant Yes
Screen Mask Yes
Buffer Modes 15 (0x0000000f)
Monoscopic Yes
Stereoscopic Yes
Single Buffer Yes
Double Buffer Yes
Color Buffer Modes 33792 (0x00008400)
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
16 bits/pixel argb A=15, R=14:10, G=9:5, B=4:0
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
8-16 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb A=31:24, R=23:16, G=15:8, B=7:0
8-32 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb --not available--
8-32 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
Accum Buffer Modes 8421376 (0x00808000)
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
8-16 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb A=31:24, R=23:16, G=15:8, B=7:0
8-32 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb --not available--
8-32 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb A=63:48, R=47:32, G=31:16, B=15:0
Depth Buffer Modes 3073 (0x00000c01)
0 bits per pixel Yes
1 bits per pixel No
2 bits per pixel No
3 bits per pixel No
4 bits per pixel No
5 bits per pixel No
6 bits per pixel No
8 bits per pixel No
10 bits per pixel No
12 bits per pixel No
16 bits per pixel Yes
24 bits per pixel Yes
32 bits per pixel No
48 bits per pixel No
64 bits per pixel No
96 bits per pixel No
128 bits per pixel No
Stencil Buffer Modes 128 (0x00000080)
0 bits per pixel No
1 bits per pixel No
2 bits per pixel No
3 bits per pixel No
4 bits per pixel No
5 bits per pixel No
6 bits per pixel No
8 bits per pixel Yes
10 bits per pixel No
12 bits per pixel No
16 bits per pixel No
24 bits per pixel No
32 bits per pixel No
48 bits per pixel No
64 bits per pixel No
96 bits per pixel No
128 bits per pixel No
Max Aux Buffers 2 (0x00000002)
Total Video Memory 67108864 (0x04000000)
Total Texture Memory 61207568 (0x03a5f410)
Generic
Vendor Name Apple
Version 1.1 APPLE-1.1
Renderer Name Generic
OpenGL Extensions
GL_ARB_transpose_matrix
GL_ARB_vertex_program
GL_ARB_vertex_blend
GL_ARB_window_pos
GL_EXT_multi_draw_arrays
GL_EXT_clip_volume_hint
GL_EXT_rescale_normal
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_APPLE_client_storage
GL_APPLE_specular_vector
GL_APPLE_transform_hint
GL_APPLE_packed_pixels
GL_APPLE_fence
GL_APPLE_vertex_array_object
GL_APPLE_vertex_program_evaluators
GL_APPLE_element_array
GL_APPLE_flush_render
GL_NV_texgen_reflection
GL_NV_light_max_exponent
GL_IBM_rasterpos_clip
GL_SGIS_generate_mipmap
GL_ARB_multitexture
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_imaging
GL_ARB_texture_env_add
GL_EXT_blend_color
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_texture_env_add
GL_EXT_texture_lod_bias
GL_EXT_abgr
GL_EXT_bgra
GL_SGIS_texture_edge_clamp
GL_APPLE_ycbcr_422
Display Mask 1 (0x00000001)
Renderer ID 131584 (0x00020200)
Off Screen Yes
Full Screen No
Hardware Accelerated No
Robust Yes
Backing Store Yes
MP Safe Yes
Window Yes
Multi Screen Yes
Compliant Yes
Screen Mask Yes
Buffer Modes 13 (0x0000000d)
Monoscopic Yes
Stereoscopic No
Single Buffer Yes
Double Buffer Yes
Color Buffer Modes 51712 (0x0000ca00)
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb R=14:10, G=9:5, B=4:0
16 bits/pixel argb --not available--
8-16 bits/pixel argb A=7:0, R=14:10, G=9:5, B=4:0
16 bits/pixel rgb --not available--
8-16 bits/pixel argb --not available--
32 bits/pixel rgb R=23:16, G=15:8, B=7:0
32 bits/pixel argb A=31:24, R=23:16, G=15:8, B=7:0
8-32 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb --not available--
8-32 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
Accum Buffer Modes 12632064 (0x00c0c000)
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
16 bits/pixel argb --not available--
8-16 bits/pixel argb --not available--
16 bits/pixel rgb --not available--
8-16 bits/pixel argb --not available--
32 bits/pixel rgb R=23:16, G=15:8, B=7:0
32 bits/pixel argb A=31:24, R=23:16, G=15:8, B=7:0
8-32 bits/pixel argb --not available--
32 bits/pixel rgb --not available--
32 bits/pixel argb --not available--
8-32 bits/pixel argb --not available--
64 bits/pixel rgb --not available--
64 bits/pixel argb --not available--
64 bits/pixel rgb R=47:32, G=31:16, B=15:0
64 bits/pixel argb A=63:48, R=47:32, G=31:16, B=15:0
Depth Buffer Modes 5121 (0x00001401)
0 bits per pixel Yes
1 bits per pixel No
2 bits per pixel No
3 bits per pixel No
4 bits per pixel No
5 bits per pixel No
6 bits per pixel No
8 bits per pixel No
10 bits per pixel No
12 bits per pixel No
16 bits per pixel Yes
24 bits per pixel No
32 bits per pixel Yes
48 bits per pixel No
64 bits per pixel No
96 bits per pixel No
128 bits per pixel No
Stencil Buffer Modes 129 (0x00000081)
0 bits per pixel Yes
1 bits per pixel No
2 bits per pixel No
3 bits per pixel No
4 bits per pixel No
5 bits per pixel No
6 bits per pixel No
8 bits per pixel Yes
10 bits per pixel No
12 bits per pixel No
16 bits per pixel No
24 bits per pixel No
32 bits per pixel No
48 bits per pixel No
64 bits per pixel No
96 bits per pixel No
128 bits per pixel No
Max Aux Buffers 4 (0x00000004)
Total Video Memory 0 (0x00000000)
Total Texture Memory 0 (0x00000000)
I have resolved my compile problem (mentioned in the last post as a link error).
I believe that the osx/wxgtk.[info|patch] files in cvs are bad... specifically, the patch file appears to contain no more than (in hex) 0a0d, i.e., a windows newline.
I found a good version of the file and have been able to compile.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum