Package Details: luxcorerender 2:2.7.beta1-2

Git Clone URL: https://aur.archlinux.org/luxcorerender.git (read-only, click to copy)
Package Base: luxcorerender
Description: Physically correct, unbiased rendering engine.
Upstream URL: https://www.luxcorerender.org/
Licenses: Apache
Provides: luxrays
Submitter: bartus
Maintainer: bartus (howetuft)
Last Packager: bartus
Votes: 14
Popularity: 0.000003
First Submitted: 2018-05-11 21:03 (UTC)
Last Updated: 2025-04-28 09:06 (UTC)

Dependencies (21)

Sources (15)

Pinned Comments

bartus commented on 2020-06-11 15:32 (UTC) (edited on 2020-08-22 09:39 (UTC) by bartus)

This package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_OPENCL=1 to skip opencl kernel build (yields DISABLE_CUDA=1)
  • DISABLE_CUDA=1 to skip cuda kernel build.
Usage cases:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"

bartus commented on 2019-04-10 11:42 (UTC)

Please report issues and patches to luxcorerender@github.com

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

minxu commented on 2020-08-21 01:11 (UTC)

It seems that DISABLE_OPENCL=1 is needed to enable opencl, otherwise, PKGBUILD file end up adding -DLUXRAYS_DISABLE_OPENCL=ON to cmake cmd.

bartus commented on 2020-06-11 15:37 (UTC)

@travnick, Can't reproduce, could you please check if problem prevails with extra-x86_64-build

bartus commented on 2020-06-11 15:32 (UTC) (edited on 2020-08-22 09:39 (UTC) by bartus)

This package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_OPENCL=1 to skip opencl kernel build (yields DISABLE_CUDA=1)
  • DISABLE_CUDA=1 to skip cuda kernel build.
Usage cases:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"

travnick commented on 2020-06-07 17:27 (UTC)

I'm unable to build it:

-- Configuring done
CMake Error in src/luxrays/CMakeLists.txt:
  Imported target "Boost::thread" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

bartus commented on 2019-10-19 14:37 (UTC) (edited on 2019-10-19 14:40 (UTC) by bartus)

@NorthSailor: Yep, fixed.

We could even drop glfw from dedpends as it's a dependency of testing gui.

nsailor commented on 2019-10-19 07:50 (UTC) (edited on 2019-10-19 07:50 (UTC) by nsailor)

Is there any reason why this package depends on glfw-x11 instead of just glfw? I'm running Sway and changing the dependency to glfw (satisfied by glfw-wayland on my system) seems to work fine.

bartus commented on 2019-10-06 12:24 (UTC) (edited on 2019-10-06 12:32 (UTC) by bartus)

@omgold: Can't reproduce: I have the same flags in link.txt as in your case.

build/samples/luxcoredemo/CMakeFiles/luxcoredemo.dir/link.txt

/usr/bin/c++

-march=x86-64
-mtune=generic
-O2
-pipe
-fno-plt
-std=c++11
-Wall
-Wno-long-long
-pedantic
-msse
-msse2
-msse3
-mssse3
-fPIC
-fopenmp

-Wl,--version-script='/build/luxcorerender/src/LuxCore-luxcorerender_v2.2/cmake/exportmaps/linux_symbol_exports.map'
-rdynamic
CMakeFiles/luxcoredemo.dir/luxcoredemo.cpp.o

-o
../../bin/luxcoredemo
-Wl,-rpath,"\$ORIGIN"
../../lib/libluxcore.a
../../lib/libslg-core.a
../../lib/libslg-film.a
../../lib/libslg-kernels.a
../../lib/libluxrays.a
../../lib/libbcd.a
../../lib/libopenvdb.a
-lembree3
-lOpenImageDenoise
-ltbb
-ltbb
-ltiff
-ltiff
-lIex
-lIlmImf
-lHalf
-lImath
-lIlmThread
-lpng
-lz
-ljpeg
/usr/lib64/libboost_thread.so.1.71.0
/usr/lib64/libboost_program_options.so.1.71.0
/usr/lib64/libboost_filesystem.so.1.71.0
/usr/lib64/libboost_serialization.so.1.71.0
/usr/lib64/libboost_iostreams.so.1.71.0
/usr/lib64/libboost_regex.so.1.71.0
/usr/lib64/libboost_system.so.1.71.0
/usr/lib64/libboost_python37.so.1.71.0
/usr/lib64/libboost_chrono.so.1.71.0
/usr/lib64/libboost_serialization.so.1.71.0
/usr/lib64/libboost_numpy37.so.1.71.0
-lpython3.7m
-lOpenCL
-lpthread
/usr/lib64/libboost_python37.so.1.71.0
-lOpenImageIO
-lGL
-lOpenCL

But luxcoredemo builds without the issue, and it gets linked with /usr/lib/libGLX.so as expected

ldd build/bin/luxcoredemo |grep -i glx
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007fb822ebd000)

Could you perhaps try build luxcorerender with extra-x86_64-build from devtools ( you can use -r /tmp flag to build in ram ) ( resolve missing oidn dep with -- -I "$$oidn$$pkg.tar" flag )

omgold commented on 2019-10-06 09:08 (UTC)

It seems there is a library dependency issue. Stuff that needs OpenCL seems to need GLX also:

/usr/lib/ccache/bin/c++ -march=haswell -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -std=c++11 -Wall -Wno-long-long -pedantic -msse -msse2 -msse3 -mssse3 -fPIC -fopenmp -Wl,--version-script='/home/omangold/cache/luxcorerender/luxcorerender/src/LuxCore-luxcorerender_v2.2/cmake/exportmaps/linux_symbol_exports.map' -rdynamic CMakeFiles/luxcoredemo.dir/luxcoredemo.cpp.o -o ../../bin/luxcoredemo -Wl,-rpath,"\$ORIGIN" ../../lib/libluxcore.a ../../lib/libslg-core.a ../../lib/libslg-film.a ../../lib/libslg-kernels.a ../../lib/libluxrays.a ../../lib/libbcd.a ../../lib/libopenvdb.a -lembree3 -lOpenImageDenoise -ltbb -ltbb -ltiff -ltiff -lIex -lIlmImf -lHalf -lImath -lIlmThread -lpng -lz -ljpeg -lboost_thread -lpthread -lboost_program_options -lboost_filesystem -lboost_serialization -lboost_iostreams -lboost_regex -lboost_system -lboost_python3 -lboost_chrono -lboost_serialization -lboost_numpy3 -lboost_date_time -lboost_atomic -lpython3.7m -lOpenCL -lOpenImageIO -lboost_thread -lpthread -lboost_program_options -lboost_filesystem -lboost_serialization -lboost_iostreams -lboost_regex -lboost_system -lboost_python3 -lboost_chrono -lboost_serialization -lboost_iostreams -lboost_regex -lboost_system -lboost_python3 -lboost_chrono -lboost_numpy3 -lboost_date_time -lboost_atomic -lOpenCL /usr/bin/ld: ../../lib/libluxrays.a(device.cpp.o): in function luxrays::OpenCLDeviceDescription::GetOCLContext() const': device.cpp:(.text+0xaa8): undefined reference toglXGetCurrentContext' /usr/bin/ld: device.cpp:(.text+0xab3): undefined reference to `glXGetCurrentDisplay' collect2: error: ld returned 1 exit status make[2]: [samples/luxcoredemo/CMakeFiles/luxcoredemo.dir/build.make:143: bin/luxcoredemo] Error 1 make[2]: Leaving directory '/srv/cache/omangold/luxcorerender/luxcorerender/src/LuxCore-luxcorerender_v2.2/build' make[1]: [CMakeFiles/Makefile2:600: samples/luxcoredemo/CMakeFiles/luxcoredemo.dir/all] Error 2 make[1]: Leaving directory '/srv/cache/omangold/luxcorerender/luxcorerender/src/LuxCore-luxcorerender_v2.2/build' make: *** [Makefile:87: all] Error 2

bartus commented on 2019-04-10 11:42 (UTC)

Please report issues and patches to luxcorerender@github.com