Giter Club home page Giter Club logo

Comments (5)

merlinND avatar merlinND commented on July 26, 2024 6

Using the provided SCons 2.5.1 should help. Here are steps that worked for me. First, opening the "Developer Command Prompt for VS 2017" from the Start menu. This assumes a default Python2.7 installation (from the official website).

# You probably have done that already
git clone https://github.com/mitsuba-renderer/mitsuba.git
cd mitsuba
git clone https://github.com/mitsuba-renderer/dependencies_win64.git
cd dependencies

# Unzip scons-2.5.1 from the dependencies directory, then navigate to that directory
# Install provided scons
C:\Python27\python.exe setup.py install

# Now go back to the Mitsuba root directory and select a configuration file
cd ..
copy build\config-win64-msvc2017.py .\config.py

# Start compiling
C:\Python27\scons.bat 

Note that you may see "Unknown compiler version" messages, for this I will refer you to issue #52.

from mitsuba.

merlinND avatar merlinND commented on July 26, 2024 1

Thanks for providing the config.log information. From what I can read, it looks like the dependencies directory might be missing. The required dependencies are provided for convenience in this repository:
https://github.com/mitsuba-renderer/dependencies_win64

They should be placed at the root of your Mitsuba directory, with name dependencies. Does this help?
If you already have the dependencies directory but still encounter this issue, could you post more information about your system, compiler and scons version?

from mitsuba.

kfiros1 avatar kfiros1 commented on July 26, 2024

Hey,

thanks for the reply,
the dependencies are exist.
I've installed scons-2.4.0.win-amd64.
system information: x64
processor: intel(R) core(TM) i7-8700K CPU @ 3.7 GHZ, 3701 Mhz, 6 core(s), 12 logical processor(s)
I'm using Visual Studio 2017, let me know how to find my compiler details if its necessary
or post another information.

from mitsuba.

kfiros1 avatar kfiros1 commented on July 26, 2024

@merlinND , it works!
you are great, thank you very much.
indeed, I've got the message of "Unknown compiler version" and I fixed it following #52
and now it builds it correctly.
However, I still have problem in building the gui, I've got the message:

`This application failed to start because it could not find or load the Qt platform plugin
''windows'' in '' '',

Available plattform plugins are: windows.

Reinstalling the application may fix the problem.

I reinstalled the Qt and scons again, I have 5.8 version of Qt.
I copied the "qwindows.dll" to "dist\platforms\qwindows.dll from the Qt
commented the unnecessary parts in qt5.py as @guoxx suggested in issue #52.

What else I can do?
I'll ask also in #52, if you have any insights about it so I would like to knew.

thanks!

from mitsuba.

merlinND avatar merlinND commented on July 26, 2024

(Troubleshooting continued in issue #52, where workarounds are proposed)

from mitsuba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.