cannot open afxres.h durring compilation - Forum - Delft3D
Forum
- Home
- 3. Archive
- General
- Compilation on Windows
- cannot open afxres.h durring compilation
cannot open afxres.h durring compilation
Sander Paekivi, modified 9 Years ago.
cannot open afxres.h durring compilation
Youngling Post: 1 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
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
Renan Ribeiro, modified 6 Years ago.
RE: cannot open afxres.h durring compilation
Youngling Posts: 6 Join Date: 3/23/11 Recent PostsHello 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
Attachments: