Jump to content

kodai

Community Members
  • Posts

    11
  • Joined

  • Last visited

kodai's Achievements

Discens

Discens (2/14)

0

Reputation

  1. Hey guys, those errors still persist, but I tried today and the game runs and works fine! Thanks so much for your help Cheers!
  2. I've made a dollop of development, but I'm not sure. (one step forward, 2 steps back? haha) I modified my jsotypes.h to read: #ifndef _UINT64 typedef JSUint64 uint64; #define _UINT64 #endif This removes they error from before but I now get this one haha. ==== Building AtlasUI ==== SectionLayout.cpp ScenarioEditor.cpp DLLInterface.cpp ScriptedTool.cpp /Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/wxPython-2.8.7.1.0003_s-py2.5-macosx-10.3-fat.egg/wx/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61) /Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/wxPython-2.8.7.1.0003_s-py2.5-macosx-10.3-fat.egg/wx/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61) ObjectSettings.cpp Linking AtlasUI ld warning: in obj/AtlasUI_Debug/ActorEditor.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ActorEditorListCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AnimListEditor.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/PropListEditor.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ActorViewer.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ColourTester.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ColourTesterColourCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ColourTesterFileCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ColourTesterImageCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ActionButton.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ToolButton.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Canvas.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ColourDialog.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/DraggableListCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/DraggableListCtrlCommands.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/EditableListCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/EditableListCtrlCommands.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/FieldEditCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ListCtrlValidator.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/QuickComboBox.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/QuickFileCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/QuickTextCtrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/FileHistory.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/HighResTimer.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/SnapSplitterWindow.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/virtualdirtreectrl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasDialog.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasWindow.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ErrorReporter.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasClipboard.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasEventLoop.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasWindowCommand.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AtlasWindowCommandProc.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Datafile.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Observable.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/FFmpeg.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/VideoRecorder.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/DLLInterface.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/precompiled.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ScenarioEditor.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/SectionLayout.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Sidebar.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Cinematic.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Environment.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/LightControl.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Terrain.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Trigger.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/AlterElevation.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/FlattenElevation.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/PaintTerrain.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/PlaceObject.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ScriptedTool.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/TransformObject.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Brushes.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/MiscState.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/ObjectSettings.o, file is not of required architecture ld warning: in obj/AtlasUI_Debug/Tools.o, file is not of required architecture ld warning: in /opt/local/lib/libxml2.dylib, file is not of required architecture ld warning: in ../../../binaries/system/libAtlasObject_dbg.a, file is not of required architecture ld warning: in ../../../binaries/system/libAtlasScript_dbg.a, file is not of required architecture ld warning: in ../../../binaries/system/libwxJS_dbg.a, file is not of required architecture ld warning: in /opt/local/lib/libboost_signals-mt.dylib, file is not of required architecture ld warning: in /opt/local/lib/libboost_filesystem-mt.dylib, file is not of required architecture ld warning: in /opt/local/lib/libboost_system-mt.dylib, file is not of required architecture ld warning: in /opt/local/lib/libIL.dylib, file is not of required architecture ld warning: in /opt/local/lib/libILU.dylib, file is not of required architecture ld warning: in /opt/local/lib/libjs.dylib, file is not of required architecture ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture ld: in /opt/local/lib/libz.1.dylib, file is not of required architecture collect2: ld returned 1 exit status ld warning: duplicate dylib /opt/local/lib/libz.1.dylib ld warning: duplicate dylib /opt/local/lib/libxml2.2.dylib lipo: can't open input file: /var/tmp//ccMVzScP.out (No such file or directory) make[1]: *** [../../../binaries/system/libAtlasUI_dbg.so] Error 1 make: *** [AtlasUI] Error 2 What do we think about this error?
  3. trunk/binaries/system that's where they usually are
  4. We require the Enet library for networking, but unfortunately I can't help regarding its installation on OSX. Great! thank you so much for the link. I found it, installed and it works properly. Of course, now I have a new error, and I have no idea how to fix this one. There can't possibly be something wrong with the external libraries. what do you guys think? ==== Building AtlasUI ==== test_XeroXMB.cpp test_XMLWriter.cpp ScenarioEditor.cpp test_AtlasObjectXML.cpp Linking test /Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/wxPython-2.8.7.1.0003_s-py2.5-macosx-10.3-fat.egg/wx/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61) /Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/wxPython-2.8.7.1.0003_s-py2.5-macosx-10.3-fat.egg/wx/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61) /opt/local/include/js/jsotypes.h:77: error: conflicting declaration ‘typedef struct JSUint64 uint64’ /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:48: error: ‘uint64’ has a previous declaration as ‘typedef uint64_t uint64’ make[1]: *** [obj/AtlasUI_Debug/ScenarioEditor.o] Error 1 make: *** [AtlasUI] Error 2 I suspect it has something to do with spider monkey? What do you guys think?
  5. I don't mean to be a bother, but could you post the pasteit of your il.h ? It'd just be easier than going through the diff. Thanks so much! Also, I can now build up to pyrogenesis, but that fails because it says: Linking pyrogenesis ld: library not found for -lenet collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/pyrogenesis_dbg.app/Contents/MacOS/pyrogenesis_dbg] Error 1 make: *** [pyrogenesis] Error 2 Thoughts?
  6. delightful. Congratulations on getting it to work I will try it tomorrow! Hope it works!
  7. I made your edits and i do have libdevil installed. But i couldn't figure out how to get 1.7.0 on os x. The compile still feels on compiling Atlas.
  8. I wonder if anyone has gotten this to work on OS X. Thanks for the bit on the Makefile conditional statement. That's very helpful! I hope someone can help us fix this EDIT: Ok, so I'm making a bit of progress. I can ease the pain of compilation errors. In XMLFix.cpp, change line 178 from xmlDocDumpFormatMemory(doc, &mem,&size, 0); to xmlDocDumpFormatMemory(doc, &mem, (intptr_t *)size, 0); then edit timer.cpp @ line 80ish to be: #if OS_WIN t = whrt_Time(); #elif HAVE_CLOCK_GETTIME struct timespec cur; (void)clock_gettime(CLOCK_REALTIME, &cur); t = (cur.tv_sec - start.tv_sec) + (cur.tv_nsec - start.tv_usec)*1e-9; #elif HAVE_GETTIMEOFDAY struct timeval curz; gettimeofday(&curz, 0); t = (curz.tv_sec - start.tv_sec) + (curz.tv_usec - start.tv_nsec)*1e-6; #else # error "timer_Time: add timer implementation for this platform!" #endif That'll let Collada compile. Atlas UI has PAGES of warnings, and this kind creature. ==== Building AtlasUI ==== ../../../source/lib/res/sound/snd_mgr.cpp: In function ‘LibError alc_init()’: ../../../source/lib/res/sound/snd_mgr.cpp:259: error: invalid conversion from ‘const char*’ to ‘ALCubyte*’ ../../../source/lib/res/sound/snd_mgr.cpp:259: error: initializing argument 1 of ‘ALCdevice* alcOpenDevice(ALCubyte*)’ ../../../source/lib/res/sound/snd_mgr.cpp: In function ‘LibError snd_dev_prepare_enum()’: ../../../source/lib/res/sound/snd_mgr.cpp:689: error: ‘ALCchar’ was not declared in this scope ../../../source/lib/res/sound/snd_mgr.cpp:689: error: expected primary-expression before ‘)’ token ColourTesterImageCtrl.cpp ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:34:19: error: IL/il.h: No such file or directory ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:35:20: error: IL/ilu.h: No such file or directory make[1]: *** [obj/lowlevel_Debug/snd_mgr.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... *sigh*
  9. I still get this error. FCollada/FUtils/FUFileManager.cpp: In static member function ‘static bool FUFileManager::MakeDirectory(const fstring&)’: FCollada/FUtils/FUFileManager.cpp:214: error: ‘mkdir’ was not declared in this scope FCollada/FUtils/FUFileManager.cpp: In static member function ‘static fstring FUFileManager::GetApplicationFolderName()’: FCollada/FUtils/FUFileManager.cpp:380: error: aggregate ‘stat stat_buf’ has incomplete type and cannot be defined FCollada/FUtils/FUFileManager.cpp:393: error: invalid use of undefined type ‘struct stat’ FCollada/FUtils/FUFileManager.cpp:380: error: forward declaration of ‘struct stat’ FCollada/FUtils/FUFileManager.cpp:395: error: ‘S_ISLNK’ was not declared in this scope make: *** [output/debug/FCollada/FUtils/FUFileManager.o] Error 1 It looks like, under OS X, in FUFileManager.cpp, it keeps defaulting to Linux, not __APPLE__. So, if I change the final if from Linux To Apple, and remove the conditional Linux statements and just leave the windows and apple ifs, it fixes those errors. However, when I try to compile I still get an error: FCollada/FUtils/FUFileManager.cpp: In static member function ‘static bool FUFileManager::MakeDirectory(const fstring&)’: FCollada/FUtils/FUFileManager.cpp:218: error: invalid conversion from ‘const char*’ to ‘const unsigned char*’ FCollada/FUtils/FUFileManager.cpp:218: error: initializing argument 7 of ‘OSErr AddFolderDescriptor(FolderType, FolderDescFlags, FolderClass, FolderLocation, OSType, OSType, const unsigned char*, Boolean)’ FCollada/FUtils/FUFileManager.cpp:218: warning: unused variable ‘err’ FCollada/FUtils/FUFileManager.cpp: In static member function ‘static fstring FUFileManager::GetApplicationFolderName()’: FCollada/FUtils/FUFileManager.cpp:384: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188) FCollada/FUtils/FUFileManager.cpp:384: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:179) FCollada/FUtils/FUFileManager.cpp:384: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:179) FCollada/FUtils/FUFileManager.cpp:384: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188) make: *** [output/debug/FCollada/FUtils/FUFileManager.o] Error 1 So, I tried just deleting OSErr err = AddFolderDescriptor('extn', 0, 'relf', 0, 0, 0, _fname.c_str(), false); from #elif defined(__APPLE__) fm::string _fname = TO_STRING(directory); OSErr err = AddFolderDescriptor('extn', 0, 'relf', 0, 0, 0, _fname.c_str(), false); And to my great pleasure, once that line is also removed, it makes. *(I think all that function does is create some sort of directory, and the line I removed simply tells the OS that there's been some sort of error, so I don't think it's that critical that I can't remove it for the time being) **(I should also mention there were a tremendous amount of warnings, for whatever that's worth) So I go to the workspaces folder and run the update for ./update-workspaces.sh I should mention that I had to edit my update-workspaces.sh from premake_dir=$(pwd)/../../premake to premake_dir=$(pwd)/../premake However, when i try to make -j3 in the gcc (the last step), I get an error when it tries to build. *(It should be noted that i had to use sudo. so, sudo make -j3) ==== Building AtlasScript ==== ScriptInterface.cpp timer.cpp ../../../source/lib/timer.cpp: In function ‘void timer_LatchStartTime()’: ../../../source/lib/timer.cpp:72: error: cannot convert ‘timespec*’ to ‘timeval*’ for argument ‘1’ to ‘int gettimeofday(timeval*, void*)’ ../../../source/lib/timer.cpp: In function ‘double timer_Time()’: ../../../source/lib/timer.cpp:90: error: ‘struct timespec’ has no member named ‘tv_usec’ AtlasObjectText.cpp make[1]: *** [obj/lowlevel_Debug/timer.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... AtlasObjectXML.cpp Linking AtlasObject Linking AtlasScript Now, I don't know where to go from here. I should mention though that I have to copies of trunk. The one that I used above is brand new and I went through it fresh when I wrote this post (just to make sure I hadn't messed up) But on my original trunk, the same thing happens except during the final compile I get: ==== Building Collada ==== timer.cpp precompiled.cpp ../../../source/lib/timer.cpp: In function ‘void timer_LatchStartTime()’: ../../../source/lib/timer.cpp:72: error: cannot convert ‘timespec*’ to ‘timeval*’ for argument ‘1’ to ‘int gettimeofday(timeval*, void*)’ ../../../source/lib/timer.cpp: In function ‘double timer_Time()’: ../../../source/lib/timer.cpp:90: error: ‘struct timespec’ has no member named ‘tv_usec’ make[1]: *** [obj/lowlevel_Debug/timer.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... make[1]: `../../../binaries/system/libwxJS_dbg.a' is up to date. CommonConvert.cpp Decompose.cpp DLL.cpp ../../../source/collada/DLL.cpp: In member function ‘virtual void BufferedOutputCallback::operator()(const char*, unsigned int)’: ../../../source/collada/DLL.cpp:78: warning: comparison between signed and unsigned integer expressions ../../../source/collada/DLL.cpp:84: warning: comparison between signed and unsigned integer expressions GeomReindex.cpp Maths.cpp PMDConvert.cpp PSAConvert.cpp StdSkeletons.cpp XMLFix.cpp ../../../source/collada/XMLFix.cpp: In function ‘void FixBrokenXML(const char*, const char**, size_t*)’: ../../../source/collada/XMLFix.cpp:178: error: invalid conversion from ‘int*’ to ‘intptr_t*’ ../../../source/collada/XMLFix.cpp:178: error: initializing argument 3 of ‘void xmlDocDumpFormatMemory(xmlDoc*, xmlChar**, intptr_t*, int)’ make[1]: *** [obj/Collada_Debug/XMLFix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Collada] Error 2 The same error about time. What do you guys think? I hope my little excursion helps others who are trying to install on OS X! Thanks so much, again, I appreciate your assistance. And thank you Philip, for the patch!
  10. So i'm really pulling my hair out. I have all the dependencies and I can't compile this library. This is the error I get. ** By the way, i'm on OS X ** Thanks! I really appreciate your help.
×
×
  • Create New...