Windows installation confusion.

155 views
Skip to first unread message

Javid Pack

unread,
Dec 13, 2017, 6:55:04 PM12/13/17
to mantaflow Forum
I've managed to get Cmake to generate correctly with only the OPENMP option selected, but attempting to additionally check the GUI option as detailed in the install.html instructions leads to "No Qt5 found (recommended!), trying to use Qt4" error. I have installed qt 5.10 in the default directory of c:/Qt, so now I am trying to use the solution mentioned in the Common Windows problems section. I am confused if this step should happen before or after I use CMake to generate the solution files. I tried making the build/Release and build/Debug folders and placing the qt dll files in there, and then running CMake, but I ran into the same error. Another thing is, I have no idea what the "three icuXXX.dll-s" mentioned in the instructions refers to and worry that that might be the cause of my issues.

If anyone has any more suggestions I would really like to hear them.

(I'm a researcher, but not too familiar with cmake things.)

Javid Pack

unread,
Dec 13, 2017, 7:39:33 PM12/13/17
to mantaflow Forum
Actually, seems like QT wasn't on path, adding it in seemed to satisfy cmake, but I still have issues. I managed to build the solution in VS, but I'm not sure which project in VS I should actually use as the startup project. AllBuild, the default, mentions "Access is denied" and starting the manta project mentions "unable to start correctly 0xc000007b" as an error. I assume the manta error might be related to the aforementioned icu dlls, since that is the only thing I can see missing from following the instructions.  

Nils Thuerey

unread,
Dec 15, 2017, 3:30:23 AM12/15/17
to mantaflow Forum
Hi Javid, good to hear you got the Qt compilation to work. The DLL issues mentioned in the instructions only arise once you've built the executables and try to run them. Then you can get system error popups saying "The program can't start because filename.dll is missing from your computer.". If that happens for the QtXXX dlls, the easiest solution is to copy the files mentioned in the instructions from the corresponding qt install directory into your release/debug directories. In the qt dir, you'll also find these icuXXX.dll files mentioned on the mantaflow homepage. You can start copying the qt dlls, though, and then windows will complain about the "icu" ones. So it's easy to figure out which files are meant, once you run into this problem.

To be honest, that won't help with your "access is denied" error, though. That one sounds like a lower level problem, and unrelated to cmake and qt. Unfortunately, I haven't come across this error message on our machines, so I'm not sure what could be causing it.

Javid Pack

unread,
Feb 1, 2018, 6:13:37 AM2/1/18
to mantaflow Forum
Thanks for the info. I actually forgot how I fixed the issues I was having, but it was something simple. I think I accidentally copied the dlls for the wrong processor architecture.
Reply all
Reply to author
Forward
0 new messages