osx snow leopard build error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Return To The Roots |
Won't Fix
|
Medium
|
FloSoft | ||
S25client |
Won't Fix
|
Medium
|
FloSoft |
Bug Description
moin, hab jetz snow leopard installiert - (immernoch i386) wollte das game für den neuen 10er kernel neukompiliern und das is passiert:
./cmake.sh --prefix=.
Activating release build
Running "cmake -DPREFIX=. -DCMAKE_
-- Compiling for macos.local
-- The C compiler identification is unknown <<<<<<< müsste da nich die distri mit architektur stehn???
-- The CXX compiler identification is unknown<<<<<< "
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
--
(...) soweit ok...
make
Scanning dependencies of target version
[ 0%] Building CXX object version/
Linking CXX executable version
[ 0%] Built target version
Scanning dependencies of target updateversion
renewing version to day "20090904"
renewing version to revision "5478"
[ 0%] Built target updateversion
Scanning dependencies of target audiodrv
[ 0%] Building CXX object driver/
/Users/
/Users/
make[2]: *** [driver/
make[1]: *** [driver/
make: *** [all] Error 2
mein mac hat folgendes:
Darwin MacBook.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-
die rev steht oben im debug
mfg ich hoffe ihr könnt mir helfen ;)
Changed in s25rttr: | |
milestone: | none → nightly |
status: | In Progress → Won't Fix |
hmm okay das untere hab ich nicht gelsen gehabt.
Jedenfalls kopiere mal
cmake/macos. local.cmake
nach
cmake/macos. snow.cmake
und ändere folgendes:
--- frame-pointer ") frame-pointer ")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mtune=prescott -malign-double -ffast-math -mmmx -msse -mfpmath=sse -fomit-
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mtune=prescott -malign-double -ffast-math -mmmx -msse -mfpmath=sse -fomit-
---
zu
--- frame-pointer ") frame-pointer ")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffast-math -mmmx -msse -mfpmath=sse -fomit-
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math -mmmx -msse -mfpmath=sse -fomit-
---
und bau dann mal mit
--- INSTALL_ PREFIX= . -DCOMPILEFOR_ PLATFORM= macos.snow ..
cd build
cmake -DPREFIX=. -DCMAKE_
make
---