![]() |
|
Building SVN on OS X |
CGamesPlay
Member #2,559
July 2002
![]() |
Here's what I get when I run cmake: ... -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found CMake Error: Error in cmake code at /Users/cgames/Projects/allegro/CMakeLists.txt:361: Unknown CMake command "pkg_check_modules". -- Configuring done When I build with the XCode project, I get 768 errors, the first of which are:
And finally when I try to build with scons, I get similar errors to XCode's. Any rest for the weary? -- Ryan Patterson - <http://cgamesplay.com/> |
Thomas Fjellstrom
Member #476
June 2000
![]() |
looks like that xcode project is stale, file.c and lzss.c have been moved and are no longer part of the allegro core. AS for the cmake error, I have no idea. -- |
Peter Wang
Member #23
April 2000
|
Your version of CMake is probably too old. You need CMake 2.6+.
|
Evert
Member #794
November 2000
![]() |
In can confirm current SVN builds cleanly for me on OS X, so yes, try to upgrade your CMake version. |
Peter Hull
Member #1,136
March 2001
|
Actually it's not working for me at the moment, using a out-of-source build for either Xcode or makefiles. I think it might be picking up an old config file from somewhere. Regarding the 'AllegroNew.xcodeproj', I suppose it can be deleted, though a 'hand-made' Xcode project is better than the one cmake generates (faster and easier to debug) so it might reappear once the source is more stable. Pete
|
CGamesPlay
Member #2,559
July 2002
![]() |
It might be worth noting that the newest version of CMake in fink (an OS X package manager), Ubuntu, and Debian is 2.4. This might change when a5 comes to near its release, of course, but compatibility might not be a bad idea. Listen to me talk: fink, Ubuntu, and Debian all ship with scons 0.97 or 1.0.0, and the scons file only works with 1.1.0 -- Ryan Patterson - <http://cgamesplay.com/> |
Peter Hull
Member #1,136
March 2001
|
OK it works for me now, it was down to some old config files. I can recommend macports for all your dependency needs - it definitely has the latest cmake. Pete
|
|