mitsuba
mitsuba copied to clipboard
python3 error in build/SConscript.configure
Hi,
I found the build/SConscript.configure and build/SConscript.install have several python 2 version print: for example:
print 'Using configuation file "%s"" % configFile'
and when I use scons, they give me an error notice of this and stop compiling.
I think it may be better to change it?
Best ZIQI WANG
@KIKI007 Thanks for the suggestion Ziqi. Would you be able to test PR #83 on your system, and report the results with your OS, Python and SCons versions please?
Greetings, in addition to the PR #83, it seems that the file data/scons/qt5.py
needs to be modified as well, in order for it to be compatible with Python 3. At the moment I cannot build the GUI with SCons 3.1.2, Python 3.6.9 and Mac OSX Catalina 10.15.1, as it reports a syntax error on line 138 of the qt5.py
file (not recognising basestring
).
Hey on trying PR #83 I get the following error. I am on ubuntu 20.04
$ scons -j8
scons: Reading SConscript files ...
Using configuation file "/home/lenovo/Desktop/research/mitsuba/config.py"
Unable to detect a Qt installation -- not building the GUI!
Checking for g++ ...no
Could not compile a simple C++ fragment, verify that g++ is installed! This could also mean that the Boost libraries are missing. The file "config.log" should contain more information.
Any help is highly appreciated. Thanks