Jump to content

lacek

Community Newbie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by lacek

  1. 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

×
×
  • Create New...