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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...