I want to compile LuxRender with a clean installation of VS2010.
So I download:
- lux-f3a8aa4fd75a.zip
- luxrays-8d8fa9bb556f.zip
- windows-93929c1cde8b.zip
Import the projects in VS2010 and set all paths. A little bit later I found the VS2010 source, but I tested it with the same problems.
Then I compiled without success and must made a lot of changes.
I think the following problems are source problems and so I ask for help.
Q:\Lux-26-01-2012 is the path of Lux source.
1. Changes in files
Q:\Lux-26-01-2012\luxrays\include\luxrays\utils\core\atomic.h
Q:\Lux-26-01-2012\lux\core\osfunc.h
set ::source in ::ipcsource
Perhaps this is a change in boost. I use boost 1.49.
2. Changes in projectsproject luxmark:
..\..\..\luxrays\samples\samples change in ..\..\..\luxrays\samples\smallluxgpu
new Path $(LUX_QT_ROOT)\include\QtNetwork
project luxmark
This project doesn’t fit with the source. I changed the paths of the files .*, path.*, volume.* pathgpu.*, kdtree.*, hybridhashgrid.*, sppm.*, hashgrid.* and slgscene.*
In addition: in file q:\Lux-26-01-2012\luxrays\samples\luxmark\luxmarkapp.h
#include "rendersession.h" set to #include "slg2/rendersession.h"
in file q:\Lux-26-01-2012\luxrays\samples\luxmark\luxmarkapp.cpp
#include "pathocl/pathocl.h" set to #include "slg2/pathocl/pathocl.h"
project liblux:
error: 1> luxlex.cpp
1>Q:\Lux-26-01-2012\lux\core\luxlex.l(37): fatal error C1083: Cannot open include file: 'luxparse.hpp': No such file or directory
The file luxparse.hpp isn’t in the source!
3. After these changes I’ve got some errors in
Project luxmark
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(33): error C2061: syntax error : identifier 'RenderConfig'
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(45): error C2143: syntax error : missing ';' before '*'
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(45): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(45): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(51): error C2146: syntax error : missing ';' before identifier 'editActions'
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>q:\lux-26-01-2012\luxrays\samples\luxmark\slg2/rendersession.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
