Forum

RE: Compiling on windows 10 virtual machine: error during example

Germán Barrera, modified 7 Years ago.

Compiling on windows 10 virtual machine: error during example

Youngling Post: 1 Join Date: 1/19/18 Recent Posts
Hello everyone


First of all, thank you for taking the time.... This is my first post on the forum, i'm an undergraduate student and i'm trying to compile the Delft3D on windows.


Now to the point... im having issues with the compilation, ive already read a lot of the questions of the forum, it has been a lot of help ... i get the errors (flex.exe) and (byacc.exe), I was notified that flex.exe and byacc.exe was unable to start correctly, but for what ive read i can work without them, so the compilation created a bin folder and so far so good, by the way after these messages i have put my source folder with all permission option ...

the next step according to the Readme.file and the source code website is to run some examples, this is where i get stuck... in the first example
"run_flow2d3d.bat" i have the following message "d_hydro.exe - System error. The execution of the code cannot continue because cannot find libexpat.dll''.

The question here is how can i fix this ? im using the latest tag 7545.


My set-up: Visual Studio Professional 2015
Python 3.6.5. x86-64
Intel Parallel Studio XE 2016
Tortoise 1.9.7
Windows 10 (Virtual machine on a mac, 2.4 GHz Intel Core i5, 8 GB 1600 MHz DDR3)

oh and here is another question, is there any issue with running the software with a virtual machine? it seems that it has no problem so far..

I've attached the BuildLogs..
thumbnail
Adri Mourits, modified 7 Years ago.

RE: Compiling on windows 10 virtual machine: error during example (Answer)

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Germán,

The errors in your build log are serious.

What version of Delft3D are you using? You should start with the latest tagged version, currently https://svn.oss.deltares.nl/repos/delft3d/tags/7545/

You are compiling in a directory with a white space in the path: "c:\program files\delft3d\delft3d_repository". Although this should not result in issues anymore, it's safer to compile in directory without white spaces in the path, e.g. "c:\sourcecode". And it's also good to avoid the "c:\program files" directory: Windows uses restricted permissions in there.

If you also create directory "c:\tmp", the lex/yacc errors will disapear too.

There are no issues related to running on Virtual Machines.

Regards,

Adri