ARLuxrender: Windows7 / Ubuntu 11.10 binaries are available!

Post your tests, experiments and unfinished renderings here.

Moderator: coordinators

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby J the Ninja » Sun Apr 01, 2012 10:42 am

Btw, if you have more than one version of luxblend installed, don't try to activate them both simultaneously, weird things start to happen. Disable one addon in preferences first, then enable the other.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby aldozang » Sun Apr 01, 2012 11:06 am

The suggestion of Ninja should work. I think the problems occur because there are functions and classes with the same name. ARLuxblend can also be used to export scenes for LuxRender, you only need to use the usual integrators. ;)
User avatar
aldozang
Developer
 
Posts: 79
Joined: Wed Dec 16, 2009 4:02 pm
Location: Rio de Janeiro, Brasil

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby B.Y.O.B. » Sun Apr 01, 2012 5:13 pm

Ok. The problem is not that serious anyway and can be avoided easily with the little workarounds already mentioned.
User avatar
B.Y.O.B.
 
Posts: 1880
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby joc » Fri Dec 21, 2012 1:59 am

Great stuff! Unfortunately I did not manage yet to compile the branch on 32bit Linux. Sticky errors! Does anybody have a 32bit-Linux build?
joc
 
Posts: 13
Joined: Thu Jul 19, 2012 6:57 am

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby joc » Fri Dec 21, 2012 5:14 am

Luxrays builds fine on 32bit Linux, but luxrender with updated ARLuxrender-branch always ends up with:
Code: Select all
...
-- Generating done
-- Build files have been written to: /home/joc/Programme/ArLux/lux
joc@linux-4uy3:~/Programme/ArLux/lux> make luxrender
[  1%] [FLEX][LuxLexer] Building scanner with flex 2.5.35
[  1%] [BISON][LuxParser] Building parser with bison 2.4.1                             
[  1%] Building CXX object CMakeFiles/luxShared.dir/cpp_api/dllmain.o                   
[  1%] Building CXX object CMakeFiles/luxShared.dir/cpp_api/lux_api.o                   
[  2%] Building CXX object CMakeFiles/luxShared.dir/cpp_api/lux_wrapper_factories.o     
[  2%] Building CXX object CMakeFiles/luxShared.dir/luxparse.o                         
[  2%] Building CXX object CMakeFiles/luxShared.dir/luxlex.o                           
[  3%] Building CXX object CMakeFiles/luxShared.dir/core/api.o                         
[  3%] Building CXX object CMakeFiles/luxShared.dir/core/camera.o                       
[  3%] Building CXX object CMakeFiles/luxShared.dir/core/cameraresponse.o               
[  4%] Building CXX object CMakeFiles/luxShared.dir/core/color.o                       
[  4%] Building CXX object CMakeFiles/luxShared.dir/core/context.o                     
In file included from /home/joc/Programme/ArLux/lux/core/scene.h:28:0,                 
                 from /home/joc/Programme/ArLux/lux/core/context.cpp:26:
/home/joc/Programme/ArLux/lux/core/primitive.h: In member function ‘virtual void lux::Primitive::GetIntersection(const luxrays::RayHit&, unsigned int, lux::Intersection*) const’:
/home/joc/Programme/ArLux/lux/core/primitive.h:175:9: error: ‘runtime_error’ is not a member of ‘std’
make[3]: *** [CMakeFiles/luxShared.dir/core/context.o] Fehler 1
make[2]: *** [CMakeFiles/luxShared.dir/all] Fehler 2
make[1]: *** [CMakeFiles/luxrender.dir/rule] Fehler 2
make: *** [luxrender] Fehler 2
joc@linux-4uy3:~/Programme/ArLux/lux>

Whereas cmake gives no warnings except OpenCl deactivation in luxrays.
joc
 
Posts: 13
Joined: Thu Jul 19, 2012 6:57 am

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby jeanphi » Fri Dec 21, 2012 9:54 am

Hi,

It's probably a missing header inclusion, add the following at the top of lux/core/primitive.h:
Code: Select all
#include <stdexcept>


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

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby joc » Fri Dec 21, 2012 12:36 pm

Thanks, this seems to make some progress, but ends with:
Code: Select all
...[  6%] Building CXX object CMakeFiles/luxShared.dir/core/film.o                         
/home/joc/Programme/ArLux/lux/core/film.cpp: In constructor ‘lux::Film::Film(unsigned int, unsigned int, lux::Filter*, unsigned int, const float*, const std::string&, bool, bool, bool, bool, bool, int, int, bool, int, int)’:
/home/joc/Programme/ArLux/lux/core/film.cpp:641:34: error: ‘TIME_UTC’ is not a member of ‘boost’
/home/joc/Programme/ArLux/lux/core/film.cpp: In member function ‘virtual void lux::Film::AddSampleCount(float)’:
/home/joc/Programme/ArLux/lux/core/film.cpp:880:24: error: ‘TIME_UTC’ is not a member of ‘boost’
make[3]: *** [CMakeFiles/luxShared.dir/core/film.o] Fehler 1
make[2]: *** [CMakeFiles/luxShared.dir/all] Fehler 2
make[1]: *** [CMakeFiles/luxrender.dir/rule] Fehler 2
make: *** [luxrender] Fehler 2
joc@linux-4uy3:~/Programme/ArLux/lux>

I think I had some mess with the boost TIME_UTC problem before...
joc
 
Posts: 13
Joined: Thu Jul 19, 2012 6:57 am

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby joc » Fri Dec 21, 2012 3:18 pm

Replacing TIME_UTC with TIME_UTC_ in /core/film.cpp and /core/photonmap.cpp brings make up to 9% where it stops with:
Code: Select all
... 9% Building CXX object CMakeFiles/luxShared.dir/core/primitive.o                   
/home/joc/Programme/ArLux/lux/core/primitive.cpp: In member function ‘virtual void lux::InstancePrimitive::GetShadingGeometry(const lux::Transform&, const lux::DifferentialGeometry&, lux::DifferentialGeometry*) const’:
/home/joc/Programme/ArLux/lux/core/primitive.cpp:176:49: error: ‘memcpy’ was not declared in this scope
/home/joc/Programme/ArLux/lux/core/primitive.cpp: In member function ‘virtual void lux::MotionPrimitive::GetShadingGeometry(const lux::Transform&, const lux::DifferentialGeometry&, lux::DifferentialGeometry*) const’:
/home/joc/Programme/ArLux/lux/core/primitive.cpp:241:49: error: ‘memcpy’ was not declared in this scope
make[3]: *** [CMakeFiles/luxShared.dir/core/primitive.o] Fehler 1
make[2]: *** [CMakeFiles/luxShared.dir/all] Fehler 2
make[1]: *** [CMakeFiles/luxrender.dir/rule] Fehler 2
make: *** [luxrender] Fehler 2
joc
 
Posts: 13
Joined: Thu Jul 19, 2012 6:57 am

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby Dade » Fri Dec 21, 2012 3:46 pm

joc wrote:Replacing TIME_UTC with TIME_UTC_ in /core/film.cpp and /core/photonmap.cpp brings make up to 9% where it stops with:
Code: Select all
... 9% Building CXX object CMakeFiles/luxShared.dir/core/primitive.o                   
/home/joc/Programme/ArLux/lux/core/primitive.cpp: In member function ‘virtual void lux::InstancePrimitive::GetShadingGeometry(const lux::Transform&, const lux::DifferentialGeometry&, lux::DifferentialGeometry*) const’:
/home/joc/Programme/ArLux/lux/core/primitive.cpp:176:49: error: ‘memcpy’ was not declared in this scope
/home/joc/Programme/ArLux/lux/core/primitive.cpp: In member function ‘virtual void lux::MotionPrimitive::GetShadingGeometry(const lux::Transform&, const lux::DifferentialGeometry&, lux::DifferentialGeometry*) const’:
/home/joc/Programme/ArLux/lux/core/primitive.cpp:241:49: error: ‘memcpy’ was not declared in this scope
make[3]: *** [CMakeFiles/luxShared.dir/core/primitive.o] Fehler 1
make[2]: *** [CMakeFiles/luxShared.dir/all] Fehler 2
make[1]: *** [CMakeFiles/luxrender.dir/rule] Fehler 2
make: *** [luxrender] Fehler 2


You may have to add a "#include <string.h>" at the beginning of file.
User avatar
Dade
Developer
 
Posts: 4795
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: ARLuxrender: Windows7 / Ubuntu 11.10 binaries are availa

Postby joc » Sat Dec 22, 2012 7:01 am

I hope it's okay to handle that in this thread. Thank You for helping anyway.
Dade wrote:You may have to add a "#include <string.h>" at the beginning of file.

O.k. helps! I did this in both, the /core/primitive.cpp and /accelerators/qbvhaccel.cpp, because the 'memcpy' declaration was missed there too. Hope not to arrange any mess with that. After some more TIME_UTC-replacements, Make runs now to:
Code: Select all
[ 28%] Building CXX object CMakeFiles/luxShared.dir/accelerators/qbvhaccel.o           
/home/joc/Programme/ArLux/lux/accelerators/qbvhaccel.cpp: In member function ‘float lux::QBVHAccel::BuildObjectSplit(unsigned int, unsigned int, const unsigned int*, const lux::BBox*, const lux::Point*, const lux::BBox&, int&)’:
/home/joc/Programme/ArLux/lux/accelerators/qbvhaccel.cpp:512:10: error: ‘numeric_limits’ is not a member of ‘std’
/home/joc/Programme/ArLux/lux/accelerators/qbvhaccel.cpp:512:30: error: expected primary-expression before ‘float’
/home/joc/Programme/ArLux/lux/accelerators/qbvhaccel.cpp:512:30: error: expected ‘;’ before ‘float’
/home/joc/Programme/ArLux/lux/accelerators/qbvhaccel.cpp:512:35: error: expected unqualified-id before ‘>’ token
make[3]: *** [CMakeFiles/luxShared.dir/accelerators/qbvhaccel.o] Fehler 1
make[2]: *** [CMakeFiles/luxShared.dir/all] Fehler 2
make[1]: *** [CMakeFiles/luxrender.dir/rule] Fehler 2
make: *** [luxrender] Fehler 2
joc
 
Posts: 13
Joined: Thu Jul 19, 2012 6:57 am

PreviousNext

Return to Works in Progress

Who is online

Users browsing this forum: No registered users and 1 guest