Home_intro

intro story DELWAQ

DELWAQ

DELWAQ is the engine of the D-Water Quality and D-Ecology programmes of the Delft3D suite. It is based on a rich library from which relevant substances and processes can be selected to quickly put water and sediment quality models together.

The processes library covers many aspects of water quality and ecology, from basic tracers, dissolved oxygen, nutrients, organic matter, inorganic suspended matter, heavy metals, bacteria and organic micro-pollutants, to complex algae and macrophyte dynamics. High performance solvers enable the simulation of long periods, often required to capture the full cycles of the processes being modelled.

The finite volume approach underlying DELWAQ allows it to be coupled to both the structured grid hydrodynamics of the current Delft3D-FLOW engine and the upcoming D-Flow Flexible Mesh engine (1D-2D-3D) of the Delft3D Flexible Mesh Suite (or even other models such as TELEMAC).

'DELWAQ in open source' is our invitation to all leading experts to collaborate in further development and research in the field of water quality, ecology and morphology using Delft3D. Feel free to post your DELWAQ related questions or comments in this dedicated forum space. If you are new to DELWAQ, the tutorial (in the user manual) is a good place to start. A list of DELWAQ related publications is available here.

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ

Cohesive sediments & muddy systems

 


Message Boards

cannot open afxres.h durring compilation

SP
Sander Paekivi, modified 4 Years ago.

cannot open afxres.h durring compilation

Youngling Posts: 2 Join Date: 4/29/16 Recent Posts
Hello!

Compiling the source code from tag 6118 and in the end i see 10 errors:

Severity Code Description Project File Line Suppression State
Error fatal error RC1015: cannot open include file 'afxres.h'. C:\Deltares\Delf3D_Repository02\src\engines_gpl\waq\packages\delwaq1_version_number\include\version_number.rc 10
Error fatal error RC1015: cannot open include file 'afxres.h'. C:\Deltares\Delf3D_Repository02\src\engines_gpl\waq\packages\delwaq2_version_number\include\version_number.rc 10
Error fatal error RC1015: cannot open include file 'afxres.h'. C:\Deltares\Delf3D_Repository02\src\tools_gpl\mormerge\packages\mormerge_version_number\include\version_number.rc 10
Error general error c101008d: Failed to write the updated manifest to the resource of file "C:\Deltares\Delf3D_Repository02\src\utils_gpl\morphology\lib\x64\Release\dynamic\morphology_proclib.dll". The system cannot find the file specified. mt.exe
Error RC1015 cannot open include file 'afxres.h'. nefis_dll C:\Deltares\Delf3D_Repository02\src\utils_lgpl\nefis\packages\nefis\include\nefis_version.rc 10
Error RC1015 cannot open include file 'afxres.h'. kubint (tools_gpl\kubint\kubint) C:\Deltares\Delf3D_Repository02\src\tools_gpl\kubint\packages\kubint_version_number\include\version_number.rc 10
Error RC1015 cannot open include file 'afxres.h'. lint (tools_gpl\lint\lint) C:\Deltares\Delf3D_Repository02\src\tools_gpl\lint\packages\lint_version_number\include\version_number.rc 10
Error C1083 Cannot open source file: 'src\vs_l.c': No such file or directory vs (tools_gpl\vs\vs) C:\Deltares\Delf3D_Repository02\src\tools_gpl\vs\packages\vs\c1 1
Error RC1015 cannot open include file 'afxres.h'. datsel (tools_gpl\datsel\datsel) C:\Deltares\Delf3D_Repository02\src\tools_gpl\datsel\packages\datsel_version_number\include\version_number.rc 10
Error C1083 Cannot open source file: 'src\vs_y.c': No such file or directory vs (tools_gpl\vs\vs) C:\Deltares\Delf3D_Repository02\src\tools_gpl\vs\packages\vs\c1 1

Where did i go wrong? I used the prepare_sln.py for VS 2015 and intel parallel studio 2016 update 1.

All the best!
Sander
Adri Mourits, modified 4 Years ago.

RE: cannot open afxres.h durring compilation

Yoda Posts: 1212 Join Date: 1/3/11 Recent Posts
Hi Sander,

After some Googling:

If you have the express version of VisualStudio, this will not work. Otherwise:
- You can try solving it manually by adding the path to the related projects. The path should be something like (version dependent):
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxres.h
- Check this post for installing additional modules in VisualStudio. I expect that one of them should solve your problems.
- Reinstalling VisualStudio and after that reinstalling the Fortran Intel compiler might solve it; I did not run into your problem (with revision 5838).

Regards,

Adri
Renan Ribeiro, modified 2 Years ago.

RE: cannot open afxres.h durring compilation

Padawan Posts: 55 Join Date: 3/23/11 Recent Posts

Hello everyone,

 

Just to help if someone have the same problem.

I solved this just modifying the setup of Visual Studio (instaling MFC Microsoft Foundation Class). Take a look at this post.

-----

The error seems to generate from ema project because it requires the header file from MFC. As far as I understand, visual studio 2015 default setup does not install Visual C++ MFC package. Therefore you need to modify the Visual Studio 2015 setup and add the MFC .

Please close VS2015 and goto Control Panel->Programs and Features->Microsoft Visual Studio <Professional/Enterprise>->Change->Modify->Add Microsoft Foundation Classes.

------

Regards,

Renan