[parsec-users] parsec-3.0beta raytrace compile error

Yuanfang Chen cyfmxc at gmail.com
Sat Sep 22 15:26:44 EDT 2012


Hi all,

I got an error when compiling MapOptions.cxx of raytracing.

[ 40%] Building CXX object RTTL/CMakeFiles/RTTL.dir/common/MapOptions.o
cd /home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL
&& /usr/bin/g++   -DTHIS_IS_CMAKE
-I/home/user/Build/parsec-3.0/pkgs/libs/mesa/inst/amd64-linux.gcc/include
-O3 -g -funroll-loops -fprefetch-loop-arrays -fpermissive
-fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed
-DPARSEC_VERSION=3.0-beta-20120904 -fexceptions -fno-strict-aliasing
-fno-align-labels -DNDEBUG -D_MM_NO_ALIGN_CHECK
-I/home/user/Build/parsec-3.0/pkgs/libs/mesa/inst/amd64-linux.gcc/include
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/BVH
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/SG
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/LRT/include
-I/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/LRT
  -D__user__ -o CMakeFiles/RTTL.dir/common/MapOptions.o -c
/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common/MapOptions.cxx
/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common/MapOptions.cxx:
In member function ‘bool RTTL::MapOptions::parse(int, const char**,
bool)’:
/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common/MapOptions.cxx:326:57:
error: ‘access’ was not declared in this scope
/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common/MapOptions.cxx:
In member function ‘bool RTTL::MapOptions::parse_file(const char*)’:
/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc/RTTL/common/MapOptions.cxx:454:28:
error: ‘access’ was not declared in this scope
make[2]: *** [RTTL/CMakeFiles/RTTL.dir/common/MapOptions.o] Error 1
make[2]: Leaving directory
`/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc'
make[1]: *** [RTTL/CMakeFiles/RTTL.dir/all] Error 2
make[1]: Leaving directory
`/home/user/Build/parsec-3.0/pkgs/apps/raytrace/obj/amd64-linux.gcc'
make: *** [all] Error 2

it seems that somehow, 'access' method is not defined in class
MapOptions. anyone in the same boat?

thanks,
yuanfang


More information about the parsec-users mailing list