Forum

Problems with compilation of vs utility

Germán Aragón, modified 6 Years ago.

Problems with compilation of vs utility

Youngling Posts: 3 Join Date: 6/18/13 Recent Posts

Hello everybody!

I found some problems related with the compilation of the latest tags and trunks versions of delft3d and delft3dfm under windows 10 OS. I am ussing VS2015 enterprise update 3 and Intel 2016 update 4. Any time I've tried to compile the solution after prepare it with the python script the compilation process freeze my computer beacouse "vs_1.c" file doesn't exist. 

The solution I adopt to solve this problem is to delete the vs proyect from the solution in Visual Studio. Only with that change the compilation process completes successfuly.


I hope this information will help someone in future and maybe the deltf3d team could solve this problem.

Best regards!

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Problems with compilation of vs utility

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Germán,

That's indeed a good workaround; you probably won't need the vs tool.

Please check the compile logging in the Output window in VisualStudio when compiling vs. What might go wrong is this:

The programs Lex and Yacc are used to translate vs_l.l and vs_y.y into vs_y.c. These programs use the directory "tmp" in the root of  the  disc containing your compilation directory. If the source code is on the C-drive and if VisualStudio is not allowed to create/use directory "c:/tmp" then you might run into this error. Some possible solutions for this problem: put the source code on the D-drive or create directory "c/tmp" manually.

Regards,

Adri

Germán Aragón, modified 6 Years ago.

RE: Problems with compilation of vs utility

Youngling Posts: 3 Join Date: 6/18/13 Recent Posts

Hi Adri, thank you for your answer.

Indeed, I compiled de source code in D-Drive becouse I read the new FAQ about it. I don't know why this "vs_1.c" file doesn't exist or where Lex or Yacc programs try to save this file... When I compile the code again I'll try to attached the complete log to this thread.

By the way, I would like to ask you about the stage of developement of the "roller model"... Are you still working on it or is abandoned becouse of the existence of  XBeach? is there any other option to solve wave difraction online with FLOW and MOR in delft3D (2DH model version)? I've found lots of problems setting up this model and searching information about it.

 

Thank you in advance, best regards!

 

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Problems with compilation of vs utility

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Germán,

There is no development going on related to "roller model". It's not used very often; normally FLOW is run online with SWAN.

Regards,

Adri