jikij Posted November 22, 2009 Report Share Posted November 22, 2009 Hello,I tried to compile pyrogenesis on OS X 10.5.8 (intel), but I got many errors.Most of them were complaining that wscasecmp was not declared. Some of the files where wscasecmp was not declared were:source/ps/Filesystem.cppsource/ps/Util.cppsource/lib/file/file_system_util.cppsource/lib/file/archive/archive_zip.cpp...In 'source/lib/sysdep/os/osx/osx.cpp' 'wstring_from_string' was not declared.I did also get an error in 'libraries/spidermonkey/include/js/jsotypes.h' about a conflicting declaration of uint64. I got this error when I compiled last time, and it seems like I am not the only one who got this error. Why has this not been fixed, by adding the simple fix suggested in http://www.wildfiregames.com/forum/index.php?showtopic=12593?Good luck Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 23, 2009 Report Share Posted November 23, 2009 For wcscasecmp, that should be straightforward to fix - filed as #414.For wstring_from_string, that's trivial so I've fixed it in SVN.For uint64, does the problem go away when you apply that patch to the game's libraries/spidermonkey/src/js/src/jsotypes.h (instead of a system version of the library)? (It's not clear to me from the forum post you linked to, and I can't test it myself.) Quote Link to comment Share on other sites More sharing options...
jikij Posted November 23, 2009 Author Report Share Posted November 23, 2009 The problem with uint64 goes away when I patch '...trunk/libraries/spidermonkey/src/js/src/jsotypes.h'.How can I fix the errors caused by wcscasecmp and compile successfully? Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 24, 2009 Report Share Posted November 24, 2009 Thanks, I've committed the change to jsotypes.h now so hopefully that'll work without manual patching.wcscasecmp just needs somebody to fix it . I won't have time to write it and test it myself in the next few days - if someone writes a patch for it then that'd be great, otherwise I could look at it soonish. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted December 3, 2009 Report Share Posted December 3, 2009 wcscasecmp should be fixed now. (Can't test on OS X myself, so let me know if there's any problems!) Quote Link to comment Share on other sites More sharing options...
MattSherman Posted January 9, 2010 Report Share Posted January 9, 2010 Any developments on this jikij? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.