[luxrender]icc compiled - intolerable instruction

one more time about rendering software luxrender…

it home is luxrender.net it is GPL’ed free software…

i try to start with it… I have download source and bin packages…

I could not compile it


/src/lux> cmake luxrender
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- OpenGL include directory: /usr/include
CMake Error at CMakeLists.txt:91 (MESSAGE):
  Could not find FLTK


-- Configuring incomplete, errors occurred!

afaiu i need FLTK

so that it - Fast Light Toolkit (FLTK)


/src/lux> sudo zypper in fltk
Загружаются метаданные репозитария 'openSUSE BuildService - Сборки CVS Wine' готово]
Собирается кэш репозитария 'openSUSE BuildService - Сборки CVS Wine' готово]
Чтение установленных пакетов...
'fltk' уже установлен.
Нечего выполнять.

zypper said that it allready installed… I am confused here…

another way…

i install allready builded package

ok i put it in /usr/lib/luxrender/ #actually this does not matter where… but maybe does

there I have 4 precompiled executables…

/usr/lib/luxrender/bin> ls
luxconsole-gcc  luxconsole-icc-static  luxrender-gcc  luxrender-icc-static

I read this Installation guide - LuxRender Wiki

according to above i try luxrender

simple check that files exists

/usr/lib/luxrender/bin> ls ../test/suzanne.lxs
../test/suzanne.lxs
/usr/lib/luxrender/bin> ls
luxconsole-gcc  luxconsole-icc-static  luxrender-gcc  luxrender-icc-static
/usr/lib/luxrender/bin> ./luxconsole-icc-static -t 4 ../test/suzanne.lxs
Недопустимая инструкция

last mean “intolerable instruction” according google

same with gui one

/usr/lib/luxrender/bin> ./luxrender-icc-static -t 4 ../test/suzanne.lxs
Недопустимая инструкция

the gcc one is not working, because… i show you


/usr/lib/luxrender/bin> ./luxrender-gcc -t 4 ../test/suzanne.lxs
./luxrender-gcc: error while loading shared libraries: libboost_program_options-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory

i see this then i search with zypper or yast

something like >zypper se libboost_program_options

zypper returnes me what package contain this… if it installed i search for simmilar library

for example I find libboost_program_options-gcc42-mt-1_36_1.so

so i link this to what luxrender need…

after all this sex it asks next lib… so… i tired of this… and live this alone after five-six links…

And now I even did not remember what links i made… But I think i can find them by date of creation…

can somebody help me with this?
Last I download intel free c++ compiller… and give a try it later…

Usually when you compile a program and you need to use library foo, the package you need is foo-devel.

@ken_yap
you right as usual :slight_smile:
thank you one more time…

and next question… from where to read i need to start to understand howto make rpm package?
for this program…

this is not all :frowning:

“cmake” make it work

so after that it say that I can use make…

after 15 min of making… “make” return this


<skipped>
liblux.a(sampling.o):sampling.cpp:(.text+0x1f3a): more undefined references to `boost::detail::get_tss_data(void const*)' follow
collect2: ld returned 1 exit status
make[2]: *** [luxconsole] Ошибка 1
make[1]: *** [CMakeFiles/luxconsole.dir/all] Ошибка 2

Ошибка - this is Error

what can(need) I do in this situation?