Crystal Space
Welcome, Guest. Please login or register.
October 31, 2014, 05:28:33 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8896 Members
Latest Member: Msenglcarl03
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Generic error, make on OSX
« previous next »
Pages: [1] Print
Author Topic: Generic error, make on OSX  (Read 1771 times)
JoeZ
Newbie
*
Posts: 4


View Profile Email
« on: June 30, 2011, 07:20:44 am »

Hi,

I'm trying to build CS 1.4.0 on OSX 10.6.7, following the instructions here; http://www.crystalspace3d.org/docs/online/manual/MacOS_002fX-Building.html#0

but the "make -k all" command always fails. Here are the last few lines from the latest error;


Code:
   g++ -c -o ./out/macosx/optimize/plugins/video/cursor/cursor.o -I/CS/. -I./include -I/CS/./include -pipe -Wmost -Wno-unknown-pragmas -fvisibility=hidden -mpentiumpro -mfpmath=sse -I/usr/local/include -force_cpusubtype_ALL -fno-common -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -g2  /CS/plugins/video/cursor/cursor.cpp

...skipped cscursor.csbundle for lack of crystalspace...

  rm -f cscursor.csplugin
  cp /CS/plugins/video/cursor/cscursor.csplugin cscursor.csplugin

make: *** [all] Error 1

I'm not sure what to make of that. I think I have all the supporting libraries I need. If I try using the --prefix option, I get this error instead;

Code:
/CS/plugins/video/canvas/wxgl/GLWXDriver2D.cpp:729: error: ‘WXK_PRIOR’ was not declared in this scope
/CS/plugins/video/canvas/wxgl/GLWXDriver2D.cpp:730: error: ‘WXK_NEXT’ was not declared in this scope
/CS/plugins/video/canvas/wxgl/GLWXDriver2D.cpp:746: error: ‘WXK_NUMPAD_NEXT’ was not declared in this scope
/CS/plugins/video/canvas/wxgl/GLWXDriver2D.cpp:760: error: ‘WXK_NUMPAD_PRIOR’ was not declared in this scope
...skipped wxgl.csbundle for lack of <plugins!video!canvas!wxgl!>GLWXDriver2D.o...
...skipped csbmpimg.csbundle for lack of crystalspace...
...skipped csddsimg.csbundle for lack of crystalspace...
...skipped csgifimg.csbundle for lack of crystalspace...
...skipped csjpgimg.csbundle for lack of crystalspace...
...skipped imgplex.csbundle for lack of crystalspace...
...skipped cstgaimg.csbundle for lack of crystalspace...
...skipped gl3d.csbundle for lack of crystalspace...
...skipped soft3d.csbundle for lack of crystalspace...
...skipped shadermgr.csbundle for lack of crystalspace...
...skipped glshader_arb.csbundle for lack of crystalspace...
...skipped glshader_cg.csbundle for lack of crystalspace...
...skipped glshader_fixed.csbundle for lack of crystalspace...
...skipped glshader_ps1.csbundle for lack of crystalspace...
...skipped softshader.csbundle for lack of crystalspace...
...skipped vproc_std.csbundle for lack of crystalspace...
...skipped shaderweaver.csbundle for lack of crystalspace...
...skipped xmlshader.csbundle for lack of crystalspace...
...skipped null3d.csbundle for lack of crystalspace...
...skipped cscursor.csbundle for lack of crystalspace...
make: *** [all] Error 1

Can anybody tell me what's going wrong? Googling the error only brought me to pages with the same question but no answer...
Logged
kickvb
Global Moderator
Jr. Member
*****
Posts: 79


View Profile
« Reply #1 on: June 30, 2011, 01:59:31 pm »

It is possible that the documentation on that page is completely outdated.

What does it give with simply:
Code:
./configure
jam
?
Logged
JoeZ
Newbie
*
Posts: 4


View Profile Email
« Reply #2 on: June 30, 2011, 10:13:53 pm »

http://pastebin.com/mwJP7L15

Last three lines;

Code:
...failed updating 3 target(s)...
...skipped 165 target(s)...
...updated 1243 target(s)...

None of the .apps work, and /crystalspace-src-1.4.0/walktest.app/Contents/MacOS is empty.
Logged
JoeZ
Newbie
*
Posts: 4


View Profile Email
« Reply #3 on: July 01, 2011, 02:03:13 am »

I ran jam -q to figure out the first failed target... Maybe this one is prerequisite to one or more of the others. Kind of looks like that from what I can understand.

http://pastebin.com/rRsjW6ru
Logged
kickvb
Global Moderator
Jr. Member
*****
Posts: 79


View Profile
« Reply #4 on: July 07, 2011, 05:14:22 pm »

Maybe this one is prerequisite to one or more of the others.

Yes this is the file that prevents the main CS library to be compiled. This problem has apparently been fixed in the revision 33854, which has been merged in the 1.4 branch in revision 34876.

So you should use the 1.4 branch from the svn which is more up to date than the official 1.4 release (the branch is here). Alternatively, you can also give a try to the 2.0 branch.
Logged
JoeZ
Newbie
*
Posts: 4


View Profile Email
« Reply #5 on: July 12, 2011, 04:04:06 pm »

Thanks for the advice. I tried the trunk, but that failed on five targets instead of three. So now I'm trying the 2.0, 1.4, and 34876 SVN's.

Edit: All were critical failures. I guess I'll just see if I can work in Ubuntu Linux for a while.
« Last Edit: July 13, 2011, 12:04:49 pm by JoeZ » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.384 seconds with 16 queries.