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

Yuanfang Chen cyfmxc at gmail.com
Sun Sep 30 09:44:21 EDT 2012


Thank you, Juan. It works now.

On Tue, Sep 25, 2012 at 4:36 AM, Juan Cebrian <juanmc at idi.ntnu.no> wrote:
> Edit: /pkgs/apps/raytrace/src/RTTL/common/MapOptions.hxx
>
> + #include <unistd.h>
>
> ________________________________________
> De: Yuanfang Chen [cyfmxc at gmail.com]
> Enviado el: sábado, 22 de septiembre de 2012 21:26
> Para: parsec-users at lists.cs.princeton.edu
> Asunto: [parsec-users] parsec-3.0beta raytrace compile error
>
> 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
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users


More information about the parsec-users mailing list