LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Weekly builds for testing and use between releases.

Moderator: coordinators

Forum rules
Please read the information / sticky post for some basic information regarding these builds/support.

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby PhilBo » Sun Aug 09, 2009 4:55 pm

Okay...I'm a noob. I'm trying to build RC5 on Linux. I tried to install Boost 1.39 and I thought that I did it successfully. I did a cmake lux which listed

Code: Select all
Boost version: 1.39.0
-- Found the following Boost libraries:
-- Boost library directory: /usr/lib
-- Boost include directory: /usr/include


So...it seemed that things were correct. I then issued the make command and it looked good until right at the end when it popped out the following...

Code: Select all
[ 96%] Building CXX object CMakeFiles/lux.dir/volumes/volumegrid.o
Linking CXX static library liblux.a
[ 96%] Built target lux
Scanning dependencies of target luxconsole
[ 96%] Building CXX object CMakeFiles/luxconsole.dir/renderer/luxconsole.o
Linking CXX executable luxconsole
/usr/bin/ld: cannot find -lboost_thread-mt
collect2: ld returned 1 exit status
make[2]: *** [luxconsole] Error 1
make[1]: *** [CMakeFiles/luxconsole.dir/all] Error 2
make: *** [all] Error 2


Any idea on how to correct?
User avatar
PhilBo
 
Posts: 187
Joined: Fri Oct 12, 2007 6:09 am
Location: Warren, Michigan, USA.

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby tomb » Sun Aug 09, 2009 5:00 pm

Your boost libs are probably named something slightly different - see in /usr/lib.

Anyway, I uploaded optimized ia32 and x64 linux builds this afternoon - they will be linked to as soon as someone with access to the filesystem drops by and updates the parent post.

T
User avatar
tomb
Developer
 
Posts: 1919
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby e_jackson » Sun Aug 09, 2009 6:18 pm

Hi everyone!

I had the same problems as PhilBo.

My OS is Bluewhite64 linux 12.2 (64-bit version of Slackware linux 12.2).
I had boost 1.38 installed.
Luxrender 0.6RC5 compiled and worked (almost) well with this version of boost.
I know that boost 1.39 is recommended to built Luxrender properly, but it worked with boost 1.38 and it was OK for me.
Once I found a situation that Luxrender RC5 crashed with a scene which was rendered fine in RC4, I decided to upgrade to boost 1.39 (I will write separate message about that scene).
So, I compiled boost 1.39 from source (it is usual for Slackware), then I began to compile Luxrender RC5 and it happened that it compiled but refused to link and gave me the following error:
Code: Select all
Linking CXX executable luxconsole
/usr/lib/gcc/x86_64-pc-linux/4.2.4/../../../../x86_64-pc-linux/bin/ld: cannot find -lboost_program_options-mt
collect2: ld returned 1 exit status
make[2]: *** [luxconsole] Error 1
make[1]: *** [CMakeFiles/luxconsole.dir/all] Error 2
make: *** [all] Error 2

After some time I found that the file
[location of the folder in which you are compiling Lux ]/CMakeFiles/luxconsole.dir/link.txt
contains following information about boost libraries:
boost_thread-mt
boost_program_options-mt
boost_filesystem-mt
boost_serialization-mt
boost_iostreams-mt
boost_regex-mt

but my /usr/lib folder contains libraries
libboost_thread.so (without "-mt" suffix) etc.
So I changed boost_thread-mt to boost_thread and so on in this file, and by analogy did the same procedure in the file
[location of the folder in which you are compiling Lux ]/CMakeFiles/luxrender.dir/link.txt
And after that linking procedure was successful.

I really don't know why boost 1.39 compiled in such a way in difference with 1.38.
So I think it may be useful to anticipate this situation in the process of automatic generation of configuration files.
e_jackson
 
Posts: 58
Joined: Thu Jul 03, 2008 5:44 pm
Location: Kyiv, Ukraine

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby Hrafn » Sun Aug 09, 2009 6:33 pm

And this is why I said I would wait LOL...

Looking forward to it guys.
Hrafn
 
Posts: 30
Joined: Sat Jul 04, 2009 12:57 am

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby e_jackson » Sun Aug 09, 2009 6:44 pm

Hi once again.

I have the following problem with RC5.
I decided to test it on a scene which was rendered with a positive haltspp. I also saved .flm file of that scene previous time and forgot to delete it. And Luxrender RC5 crashed when it finished parsing that scene and began to read data from .flm
I checked that when RC5 opens scene with .flm data the render of which is not finished (haltspp is zero or spp is less than haltspp), it does not crash.

I modeled this situation once again but launched Luxrender from console, which gave me the error message:
Code: Select all
luxrender: pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.


By the way, when I render a scene with a positive haltspp and .flm file does not exist at the beginning or contains data of non finished render (spp is less than haltspp), then at the end Luxrender RC5 gives the error:
Code: Select all
2009-Aug-10 01:20:28 Severe error: (14) Assertion '!pthread_mutex_lock(&m)' failed in function 'void boost::mutex::lock()' (file:/usr/include/boost/thread/pthread/mutex.hpp line:50)
2009-Aug-10 01:20:28 Severe error: (14) Assertion '!pthread_mutex_unlock(&m)' failed in function 'void boost::mutex::unlock()' (file:/usr/include/boost/thread/pthread/mutex.hpp line:55)

and Luxconsole rises the error:
Code: Select all
[Lux 2009-Aug-10 01:31:42 SEVERE ERROR : 14] Assertion '!pthread_mutex_lock(&m)' failed in function 'void boost::mutex::lock()' (file:/usr/include/boost/thread/pthread/mutex.hpp line:50)
[Lux 2009-Aug-10 01:31:42 SEVERE ERROR : 14] Assertion '!pthread_mutex_unlock(&m)' failed in function 'void boost::mutex::unlock()' (file:/usr/include/boost/thread/pthread/mutex.hpp line:55)
luxconsole: pthread_mutex_lock.c:115: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Aborted
e_jackson
 
Posts: 58
Joined: Thu Jul 03, 2008 5:44 pm
Location: Kyiv, Ukraine

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby tomb » Mon Aug 10, 2009 2:12 am

You should compile your boost libs with -mt (multithreading support) - I don't know for sure this is related to your crash but you should do it anyway :)

T
User avatar
tomb
Developer
 
Posts: 1919
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby VictorRomeo » Mon Aug 10, 2009 6:10 am

When will the 32bit windows version be avaiable ? I didn't manage to compile one by my own - but cant wait to try it ;)

best regards
VictorRomeo
 
Posts: 14
Joined: Fri Jul 24, 2009 5:01 am

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby jeanphi » Mon Aug 10, 2009 6:20 am

VictorRomeo wrote:When will the 32bit windows version be avaiable ? I didn't manage to compile one by my own - but cant wait to try it ;)


Radiance told me he'll try to do them this evening.

Jeanphi
jeanphi
Developer
 
Posts: 6579
Joined: Mon Jan 14, 2008 7:21 am

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby pinko » Mon Aug 10, 2009 7:57 am

Tnx very much to all devs.....great work as usual...
ciao
Luca. ;)
Blender 249.2/ Blender 2.57 - Luxrender 0.8
Image
MY WORKS: http://pinko3d.myblog.it/
My Omega X33 on BlenderArt Gallery : http://www.blender.org/features-gallery ... t-gallery/
User avatar
pinko
 
Posts: 451
Joined: Tue Oct 16, 2007 7:12 am
Location: Italy

Re: LuxRender v0.6 Release Candidate 5 - Windows/Linux/MacOSX

Postby pinko » Mon Aug 10, 2009 8:12 am

:o :o :o my preview material dont works....Linux Ubuntu 9.04 64bit....
:(
Luca.
Blender 249.2/ Blender 2.57 - Luxrender 0.8
Image
MY WORKS: http://pinko3d.myblog.it/
My Omega X33 on BlenderArt Gallery : http://www.blender.org/features-gallery ... t-gallery/
User avatar
pinko
 
Posts: 451
Joined: Tue Oct 16, 2007 7:12 am
Location: Italy

PreviousNext

Return to Weekly Testing Builds

Who is online

Users browsing this forum: No registered users and 1 guest