Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 error in build/SConscript.configure #82

Open
KIKI007 opened this issue Jul 15, 2018 · 3 comments · May be fixed by #83
Open

python3 error in build/SConscript.configure #82

KIKI007 opened this issue Jul 15, 2018 · 3 comments · May be fixed by #83

Comments

@KIKI007
Copy link

KIKI007 commented Jul 15, 2018

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

@merlinND merlinND linked a pull request Jul 24, 2018 that will close this issue
6 tasks
@merlinND
Copy link
Member

@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?

@no-materials
Copy link

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).

@avani17101
Copy link

avani17101 commented Sep 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants