Package Details: luxcorerender 2:2.2-3

Git Clone URL: (read-only, click to copy)
Package Base: luxcorerender
Description: LuxCoreRender is a physically correct, unbiased rendering engine.
Upstream URL:
Licenses: Apache
Conflicts: luxrays-hg
Provides: luxrays
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 8
Popularity: 1.09
First Submitted: 2018-05-11 21:03
Last Updated: 2019-12-04 07:50

Sources (4)

Pinned Comments

bartus commented on 2019-04-10 11:42

Please report issues and patches to

Latest Comments

1 2 3 Next › Last »

bartus commented on 2019-10-19 14:37

@NorthSailor: Yep, fixed.

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

NorthSailor commented on 2019-10-19 07:50

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

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






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

ldd build/bin/luxcoredemo |grep -i glx => /usr/lib/ (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

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/' -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

Please report issues and patches to

bartus commented on 2019-03-31 22:17

@darkshadow44 Yes, your solution for luxmark is exactly how it should be.

DarkShadow44 commented on 2019-03-31 20:59

Download and try to compile that (old luxmark PKGBUILD)

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libslg-film.a(intel_oidn.cpp.o): in function `slg::IntelOIDN::Apply(slg::Film&, unsigned int)':
(.text+0x1ac): undefined reference to `oidnNewDevice'
/usr/bin/ld: (.text+0x1be): undefined reference to `oidnCommitDevice'

The .a file in question is owned by luxcorerender. Do I have to link in oidn or should be linking luxrendercore be enough?

bartus commented on 2019-03-31 20:50

@DarkShadow44: please specify what's the problem with oidn exactly, I can't reproduce the issue base on your description.

DarkShadow44 commented on 2019-03-31 20:23

Works fine, thanks! Luxmark is finally compiling again.

Now where I'm not quite sure, luxcorerender depends on oidn - why do I have to manually link oidn when referencing luxcorerender?

bartus commented on 2019-03-31 18:59

@applebloom: fixed for boost 106900 just dropped - please test it and report if it's working correctly.