lacek Posted February 6, 2012 Report Share Posted February 6, 2012 Dear AllI am getting the folowing compilation error on mac 10.6Linking 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 255make[2]: *** [src/nvtt/CMakeFiles/nvtt.dir/all] Error 2make[1]: *** [src/nvtt/CMakeFiles/nvtt.dir/rule] Error 2make: *** [nvtt] Error 2ERROR: NVTT build failedmy setup:rezo-mtrg-48:workspaces lacek$ gcc -vUsing built-in specs.Target: i686-apple-darwin10Configured 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-darwin10Thread model: posixgcc version 4.2.1 (Apple Inc. build 5646) (dot 1)I did clear-workspaces.sh before doing update-workspaces.sh -j3 Quote Link to comment Share on other sites More sharing options...
MishFTW Posted February 6, 2012 Report Share Posted February 6, 2012 Well you can borrow my copy, it works fine (minus atlas and music) Quote Link to comment Share on other sites More sharing options...
Sonarpulse Posted February 7, 2012 Report Share Posted February 7, 2012 where is that uploaded? Quote Link to comment Share on other sites More sharing options...
MishFTW Posted February 8, 2012 Report Share Posted February 8, 2012 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 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted February 8, 2012 Report Share Posted February 8, 2012 I have no idea about that compilation error, as I've never encountered it. Are you using Mac Ports and have you fully installed Xcode? Is there plenty of free space on whichever volume you're compiling on? Quote Link to comment Share on other sites More sharing options...
Sonarpulse Posted February 9, 2012 Report Share Posted February 9, 2012 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.cfgSweet, 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.