With the expected embree3 installed instead of embree v4, the build fails early on:
[95/1056] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/utils/mc.cpp.o
[96/1056] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/utils/cuda.cpp.o
FAILED: src/luxrays/CMakeFiles/luxrays.dir/utils/cuda.cpp.o
/usr/lib/ccache/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_NO_DEPRECATED
-DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NUMPY_NO_LIB -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_PYTHON_NO_LIB
-DBOOST_PYTHON_STATIC_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_NO_LIB -DBOOST_STATIC_LIB -DBOOST_SYSTEM_NO_LIB
-DBOOST_THREAD_NO_LIB -DCPP_API_EXPORTS -I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/json-3.7.3/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/cuew/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/clew/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/optix-7.1.0/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/spdlog-1.8.0/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/robin-hood-hashing-3.9.1/src/include
-I/usr/include/python3.11 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/user/.cache/makepkg/luxcorerender-git/src/build/generated/include
-isystem /usr/include/Imath -isystem /usr/include/OpenEXR -w -std=c++11 -Wall -Wno-long-long -pedantic -msse -msse2 -msse3 -mssse3
-fPIC -fopenmp -std=gnu++14 -MD -MT src/luxrays/CMakeFiles/luxrays.dir/utils/cuda.cpp.o -MF
src/luxrays/CMakeFiles/luxrays.dir/utils/cuda.cpp.o.d -o src/luxrays/CMakeFiles/luxrays.dir/utils/cuda.cpp.o -c
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp: In member function ‘bool
luxrays::cudaKernelPersistentCache::CompilePTX(const std::vector<std::__cxx11::basic_string<char> >&, const std::string&, const
std::string&, char**, size_t*, bool*, std::string*)’:
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp:177:44: error: ‘ofstream’ is not a
member of ‘boost::filesystem’; did you mean ‘std::ofstream’?
177 | boost::filesystem::ofstream file(boost::filesystem::path(fileName),
| ^~~~~~~~
In file included from /usr/include/c++/13.2.1/ios:40,
from /usr/include/c++/13.2.1/ostream:40,
from /usr/include/c++/13.2.1/iostream:41,
from /home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp:21:
/usr/include/c++/13.2.1/iosfwd:167:41: note: ‘std::ofstream’ declared here
167 | typedef basic_ofstream<char> ofstream;
| ^~~~~~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp:184:25: error: ‘file’ was not
declared in this scope
184 | file.write((char *)&hashBin, sizeof(int));
| ^~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp:209:44: error: ‘ifstream’ is not a
member of ‘boost::filesystem’; did you mean ‘std::ifstream’?
209 | boost::filesystem::ifstream file(boost::filesystem::path(fileName),
| ^~~~~~~~
/usr/include/c++/13.2.1/iosfwd:164:41: note: ‘std::ifstream’ declared here
164 | typedef basic_ifstream<char> ifstream;
| ^~~~~~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/cuda.cpp:214:25: error: ‘file’ was not
declared in this scope
214 | file.read((char *)&hashBin, sizeof(int));
| ^~~~
[97/1056] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/utils/ocl.cpp.o
FAILED: src/luxrays/CMakeFiles/luxrays.dir/utils/ocl.cpp.o
/usr/lib/ccache/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_NO_DEPRECATED
-DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NUMPY_NO_LIB -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_PYTHON_NO_LIB
-DBOOST_PYTHON_STATIC_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_NO_LIB -DBOOST_STATIC_LIB -DBOOST_SYSTEM_NO_LIB
-DBOOST_THREAD_NO_LIB -DCPP_API_EXPORTS -I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/json-3.7.3/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/cuew/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/clew/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/optix-7.1.0/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/spdlog-1.8.0/include
-I/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/deps/robin-hood-hashing-3.9.1/src/include
-I/usr/include/python3.11 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/user/.cache/makepkg/luxcorerender-git/src/build/generated/include
-isystem /usr/include/Imath -isystem /usr/include/OpenEXR -w -std=c++11 -Wall -Wno-long-long -pedantic -msse -msse2 -msse3 -mssse3
-fPIC -fopenmp -std=gnu++14 -MD -MT src/luxrays/CMakeFiles/luxrays.dir/utils/ocl.cpp.o -MF
src/luxrays/CMakeFiles/luxrays.dir/utils/ocl.cpp.o.d -o src/luxrays/CMakeFiles/luxrays.dir/utils/ocl.cpp.o -c
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp: In member function ‘virtual
_cl_program* luxrays::oclKernelPersistentCache::Compile(cl_context, cl_device_id, const
std::vector<std::__cxx11::basic_string<char> >&, const std::string&, bool*, std::string*)’:
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp:306:44: error: ‘ofstream’ is not a
member of ‘boost::filesystem’; did you mean ‘std::ofstream’?
306 | boost::filesystem::ofstream file(boost::filesystem::path(fileName),
| ^~~~~~~~
In file included from /usr/include/c++/13.2.1/ios:40,
from /usr/include/c++/13.2.1/ostream:40,
from /usr/include/c++/13.2.1/iostream:41,
from /home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp:21:
/usr/include/c++/13.2.1/iosfwd:167:41: note: ‘std::ofstream’ declared here
167 | typedef basic_ofstream<char> ofstream;
| ^~~~~~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp:313:25: error: ‘file’ was not declared
in this scope
313 | file.write((char *)&hashBin, sizeof(int));
| ^~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp:340:44: error: ‘ifstream’ is not a
member of ‘boost::filesystem’; did you mean ‘std::ifstream’?
340 | boost::filesystem::ifstream file(boost::filesystem::path(fileName),
| ^~~~~~~~
/usr/include/c++/13.2.1/iosfwd:164:41: note: ‘std::ifstream’ declared here
164 | typedef basic_ifstream<char> ifstream;
| ^~~~~~~~
/home/user/.cache/makepkg/luxcorerender-git/src/luxcorerender/src/luxrays/utils/ocl.cpp:345:25: error: ‘file’ was not declared
in this scope
345 | file.read((char *)&hashBin, sizeof(int));
| ^~~~
[98/1056] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/utils/safesave.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'luxcorerender-git-2:2.6.r27.g8a048104b-1'
This was the initial configuration output:
==> Making package: luxcorerender-git 2:2.7.beta1.r0.g2f35684a0-1 (2023-08-16, 15:57:37 CEST)
==> WARNING: Skipping dependency checks.
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- CMake version 3.27.1 detected
CMake Deprecation Warning at CMakeLists.txt:29 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at CMakeLists.txt:32 (cmake_policy):
The OLD behavior for policy CMP0072 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 13.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Single-config generator detected
-- Using build variant:
-- Available custom configurations in cmake/SpecializedConfig:
-- Config_Dade
-- Config_Linux-Static
-- Config_OSX
-- Config_Windows
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenImageIO: /usr/lib/libOpenImageIO.so
-- #define OPENEXR_VERSION_STRING "3.1.10"
-- Found OpenEXR: /usr/lib/libIex-3_1.so;/usr/lib/libImath-3_1.so;/usr/lib/libOpenEXR-3_1.so;/usr/lib/libIlmThread-3_1.so
-- Found TIFF: /usr/lib/libtiff.so (found version "4.5.1")
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.40")
CMake Warning (dev) at cmake/Dependencies.cmake:49 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:114 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: /usr/lib/libpython3.11.so (found suitable version "3.11.3", minimum required is "3.4")
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.56.0")
found components: thread program_options filesystem serialization iostreams regex system python311 chrono serialization numpy311
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found - compiling with
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.24.38
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
COMPONENT = openvdb
-- Found OpenVDB: /usr/include (found version "10.0.1") found components: openvdb
-- OpenVDB ABI Version: 10
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: iostreams
-- Found Blosc: /usr/lib/libblosc.so (found version "1.21.4")
-- OpenCL support: enabled
-- CUDA support: enabled
-- Intel OIDN support: enabled
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.7") found components: doxygen dot
-- Found Doxygen and generating LuxRays documentation
-- Doxygen LuxRays output: /luxrays/html/index.html
-- Found dot
-- Found Doxygen and generating SLG documentation
-- Doxygen SLG output: /slg/html/index.html
-- Found dot
-- Found Doxygen and generating LuxCore documentation
-- Doxygen LuxCore output: /luxcore/html/index.html
-- Found dot
CMake Warning at src/pyluxcoretools/CMakeLists.txt:74 (message):
pyside-uic not available - using pre-generated files from the source tree
-- Configuring done (3.0s)
-- Generating done (1.1s)
Pinned Comments
bartus commented on 2022-03-14 10:34 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2019-04-10 11:42 (UTC) (edited on 2023-11-22 15:49 (UTC) by bartus)
Please report
issues
andpatches
to luxcorerender-git/github.com