Jump to content

compilation erros on osx 10.6


lacek
 Share

Recommended Posts

Dear All

I am getting the folowing compilation error on mac 10.6



Linking CXX shared library libnvimage.dylib
[ 68%] Built target nvimage
[ 71%] Generating CompressKernel.gen.cpp
/usr/include/stdlib.h(272): error: expected an expression

/usr/include/stdlib.h(272): error: expression must have (pointer-to-) function type

/usr/include/stdlib.h(272): error: type name is not allowed

/usr/include/stdlib.h(274): error: expected a ")"

/usr/include/stdlib.h(301): error: expected a ")"

/usr/include/stdlib.h(307): error: expected a ")"

/usr/include/stdlib.h(313): error: expected a ")"

/usr/include/stdlib.h(319): error: expected a ")"

8 errors detected in the compilation of "/tmp/tmpxft_000016d0_00000000-4_CompressKernel.cpp1.ii".
make[3]: *** [src/nvtt/CompressKernel.gen.cpp] Error 255
make[2]: *** [src/nvtt/CMakeFiles/nvtt.dir/all] Error 2
make[1]: *** [src/nvtt/CMakeFiles/nvtt.dir/rule] Error 2
make: *** [nvtt] Error 2
ERROR: NVTT build failed


my setup:

rezo-mtrg-48:workspaces lacek$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

I did clear-workspaces.sh before doing update-workspaces.sh -j3

Link to comment
Share on other sites

Actually the one wraitii complied was great, but since MegaUpload has been closed, you can't get it.

I just tweaked it with some extra maps and AI and the icon. You can download it here. (~360 MB ZIP)

The app is located in

 0 A.D./data/

If you need to configure screen resolution, etc, open

data/config/default.cfg

Link to comment
Share on other sites

Actually the one wraitii complied was great, but since MegaUpload has been closed, you can't get it.

I just tweaked it with some extra maps and AI and the icon. You can download it here. (~360 MB ZIP)

The app is located in

 0 A.D./data/

If you need to configure screen resolution, etc, open

data/config/default.cfg

Sweet, I don't have a mac, but I know people who do and would want to play this but cant be arsed to compile anything.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...