intro story Coast / Estuary

Coast / Estuary

Coastal systems are among the most dynamic physical systems on earth and are subject to a large variety of forces. The morphodynamic changes occurring to coastlines worldwide are of great interest and importance. These changes occur as a result of the erosion of sediments, its subsequent transport as bed load or suspended load, and eventual deposition. 
 
Estuaries are partly enclosed water bodies that have an open connection to the coast. Estuaries generally have one or more branching channels, intertidal mudflats and/or salt marshes. Intertidal areas are of high ecological importance and trap sediments (sands, silts, clays and organic matter).
Within the Delft3D modelling package a large variation of coastal and estuarine physical and chemical processes can be simulated. These include waves, tidal propagation, wind- or wave-induced water level setup, flow induced by salinity or temperature gradients, sand and mud transport, water quality and changing bathymetry (morphology). Delft3D can also be used operationally e.g. storm, surge and algal bloom forecasting. 
 
On this discussion page you can post questions, research discussions or just share your experience about modelling coastal and/or estuarine systems with Delft3D FM. 
 

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 

 

Message Boards

Compiling on windows 10 errors

JR
João Ribeiro, modified 4 Years ago.

Compiling on windows 10 errors

Youngling Posts: 1 Join Date: 2/3/15 Recent Posts
Hi

I am trying to compile the Delft3D solution on:

OS Name Microsoft Windows 10 Enterprise
Version 10.0.14393 Build 14393
System Type x64-based PC
Processor Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2401 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM) 8.00 GB

Visual studio 2010
Intel_fortran_composer_xe2011_12.1_for_windows

I can compile all projects in all platforms except for the ones below:

Delpar (debug/win32) I get the follpwing error:

Error 14 error LNK2001: unresolved external symbol _mainCRTStartup LINK
Error 15 error LNK2019: unresolved external symbol __chkstk referenced in function _DELPAR part_kernel_f.lib(delpar.obj)

1>------ Build started: Project: nefis_dll, Configuration: Debug Win32 ------
1> Generating version number in '.\include\nefis_version.h' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
1> Generating version number in '.\include\nefis_version.rc' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
1> wl-xdr.c
1> rt.c
1> pt.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(430): warning C4244: 'function' : conversion from 'BUInt8' to 'size_t', possible loss of data
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(433): warning C4244: '=' : conversion from 'BUInt8' to 'BUInt4', possible loss of data
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(438): warning C4244: 'function' : conversion from 'BUInt8' to 'size_t', possible loss of data
1> oc.c
1> hs.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\hs.c(352): warning C4244: '=' : conversion from 'BUInt8' to 'BInt4', possible loss of data
1> gt.c
1> gp.c
1> f2c.c
1> er.c
1> df.c
1> c2c.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(976): warning C4018: '<' : signed/unsigned mismatch
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1037): warning C4018: '<' : signed/unsigned mismatch
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1098): warning C4018: '<' : signed/unsigned mismatch
1> Generating Code...
1> nefis_version.cpp
1> LINK : ../../lib/Debug/dynamic\nefis.dll not found or not built by the last incremental link; performing full link
1> Creating library C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\lib\Debug\dynamic\nefis.lib and object C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\lib\Debug\dynamic\nefis.exp
1> nefis_dll.vcxproj -> C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\packages\nefis\../../lib/Debug/dynamic\nefis.dll
2>------ Build started: Project: nefis (utils_lgpl\nefis\nefis), Configuration: Debug Win32 ------
2> Generating version number in '.\include\nefis_version.h' ...
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
2> Generating version number in '.\include\nefis_version.rc' ...
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
2> wl-xdr.c
2> rt.c
2> pt.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(433): warning C4244: '=' : conversion from 'BUInt8' to 'BUInt4', possible loss of data
2> oc.c
2> hs.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\hs.c(352): warning C4244: '=' : conversion from 'BUInt8' to 'BInt4', possible loss of data
2> gt.c
2> gp.c
2> f2c.c
2> er.c
2> df.c
2> c2c.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(976): warning C4018: '<' : signed/unsigned mismatch
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1037): warning C4018: '<' : signed/unsigned mismatch
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1098): warning C4018: '<' : signed/unsigned mismatch
2> Generating Code...
2> nefis_version.cpp
2> nefis.vcxproj -> C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\packages\nefis\..\..\lib\Debug\static\nefis.lib
3>------ Build started: Project: delpar, Configuration: Debug Win32 ------
3>Performing Pre-Build Event...
3>Generating version number in 'C:\Projects\VisualStudio2010\Delft3DCurrent\src\engines_gpl\part\version\version_number.rc' ...
3>C:\Projects\VisualStudio2010\Delft3DCurrent\src\scripts_lgpl\win32\update_version.cmd: 6891M
3>C:\Projects\VisualStudio2010\Delft3DCurrent\src\scripts_lgpl\win32\update_version.cmd: Regenerating existing file 'C:\Projects\VisualStudio2010\Delft3DCurrent\src\engines_gpl\part\version\version_number.rc'.
3>Compiling resources...
3>version_number.rc
3>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Linking...
3>nefis.lib(f2c.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
3>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
3>part_kernel_f.lib(delpar.obj) : error LNK2019: unresolved external symbol __chkstk referenced in function _DELPAR

3>part_io_f.lib(rdpart.obj) : error LNK2001: unresolved external symbol __chkstk
3>part_io_f.lib(part13.obj) : error LNK2001: unresolved external symbol __chkstk
3>deltares_common.lib(message_module.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_utils_f.lib(polpart.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_data_f.lib(alloc.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>deltares_common.lib(timers.obj) : error LNK2019: unresolved external symbol __alloca_probe referenced in function _TIMERS_mp_TIMINC
3>deltares_common.lib(string_module.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_io_f.lib(meteo1temphelpers.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_io_f.lib(malloc.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_utils_f.lib(get_key.obj) : error LNK2001: unresolved external symbol __alloca_probe
3>part_utils_f.lib(boombounce.obj) : error LNK2001: unresolved external symbol __alloca_probe
...
...
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __imp__VirtualQuery@12 referenced in function _tbk_getModuleName
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __imp__GetModuleFileNameA@12 referenced in function _tbk_getModuleName
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol _strncat referenced in function _tbk_getModuleName
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol _memcmp referenced in function _tbk_get_pc_info
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __except_handler3 referenced in function _tbk_trace_stack
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __except_list referenced in function _tbk_trace_stack
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __imp__GetCurrentProcess@0 referenced in function _tbk_trace_stack
3>libifcoremt.lib(for_secnds.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcess@0
3>libirc.lib(tbk_backtrace.obj) : error LNK2019: unresolved external symbol __imp__GetCurrentThread@0 referenced in function _tbk_trace_stack
3>libirc.lib(irc_msg_support.obj) : error LNK2019: unresolved external symbol _printf referenced in function ___libirc_print
3>deltares_common.lib(throwexception.obj) : error LNK2019: unresolved external symbol __CxxThrowException@8 referenced in function _THROWEXCEPTION
3>deltares_common.lib(throwexception.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
3>libifcoremt.lib(for_secnds.obj) : error LNK2019: unresolved external symbol __imp__GetProcessTimes@20 referenced in function _for_cpusec
3>libifcoremt.lib(for_secnds.obj) : error LNK2019: unresolved external symbol _clock referenced in function _for_cpusec
3>LINK : error LNK2001: unresolved external symbol __load_config_used
3>..\..\bin\Debug\delpar.exe : fatal error LNK1120: 169 unresolved externals
3>Project : warning PRJ0018 : The following environment variables were not found:
3>$(Configuration)
3>$(OSS_UCRTLIBDIR)
3>
3>Build log written to "file://C:\Projects\VisualStudio2010\Delft3DCurrent\src\engines_gpl\part\packages\delpar\Debug\BuildLog.htm"
3>delpar - 623 error(s), 1 warning(s)
========== Build: 2 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========

vs (all platforms/all configurations):
1>------ Build started: Project: nefis_dll, Configuration: Debug Win32 ------
1> Generating version number in '.\include\nefis_version.h' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
1> Generating version number in '.\include\nefis_version.rc' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
1> wl-xdr.c
1> rt.c
1> pt.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(430): warning C4244: 'function' : conversion from 'BUInt8' to 'size_t', possible loss of data
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(433): warning C4244: '=' : conversion from 'BUInt8' to 'BUInt4', possible loss of data
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(438): warning C4244: 'function' : conversion from 'BUInt8' to 'size_t', possible loss of data
1> oc.c
1> hs.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\hs.c(352): warning C4244: '=' : conversion from 'BUInt8' to 'BInt4', possible loss of data
1> gt.c
1> gp.c
1> f2c.c
1> er.c
1> df.c
1> c2c.c
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(976): warning C4018: '<' : signed/unsigned mismatch
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1037): warning C4018: '<' : signed/unsigned mismatch
1>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1098): warning C4018: '<' : signed/unsigned mismatch
1> Generating Code...
1> nefis_version.cpp
1> LINK : ../../lib/Debug/dynamic\nefis.dll not found or not built by the last incremental link; performing full link
1> Creating library C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\lib\Debug\dynamic\nefis.lib and object C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\lib\Debug\dynamic\nefis.exp
1> nefis_dll.vcxproj -> C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\packages\nefis\../../lib/Debug/dynamic\nefis.dll
2>------ Build started: Project: nefis (utils_lgpl\nefis\nefis), Configuration: Debug Win32 ------
2> Generating version number in '.\include\nefis_version.h' ...
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
2> Generating version number in '.\include\nefis_version.rc' ...
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
2> wl-xdr.c
2> rt.c
2> pt.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\pt.c(433): warning C4244: '=' : conversion from 'BUInt8' to 'BUInt4', possible loss of data
2> oc.c
2> hs.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\hs.c(352): warning C4244: '=' : conversion from 'BUInt8' to 'BInt4', possible loss of data
2> gt.c
2> gp.c
2> f2c.c
2> er.c
2> df.c
2> c2c.c
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(976): warning C4018: '<' : signed/unsigned mismatch
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1037): warning C4018: '<' : signed/unsigned mismatch
2>c:\projects\visualstudio2010\delft3dcurrent\src\utils_lgpl\nefis\packages\nefis\src\c2c.c(1098): warning C4018: '<' : signed/unsigned mismatch
2> Generating Code...
2> nefis_version.cpp
2> nefis.vcxproj -> C:\Projects\VisualStudio2010\Delft3DCurrent\src\utils_lgpl\nefis\packages\nefis\..\..\lib\Debug\static\nefis.lib
3>------ Build started: Project: vs_version_number, Configuration: Debug Win32 ------
3> Generating version number in '.\include\version_number.h' ...
3> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891M
3> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\version_number.h'.
3> Generating version number in '.\include\version_number.rc' ...
3> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 6891M
3> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\version_number.rc'.
3> version.c
3> f2c.c
3> c2c.c
3> Generating Code...
3> vs_version_number.vcxproj -> C:\Projects\VisualStudio2010\Delft3DCurrent\src\tools_gpl\vs\packages\vs_version_number\bin\Debug\vs_version_number.lib
3>------ Build started: Project: vs (tools_gpl\vs\vs), Configuration: Debug Win32 ------
4> A subdirectory or file tmp already exists.
4> Could Not Find C:\Projects\VisualStudio2010\Delft3DCurrent\src\tools_gpl\vs\packages\vs\src\vs_l.c

Error 42 error MSB6001: Invalid command line switch for "cmd.exe". Process with an Id of 27964 is not running. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 103 6 vs (tools_gpl\vs\vs)


It opens several flex.exe and crashes the compilation.

I tried the solution on this linkhttp://oss.deltares.nl/web/delft3d/general/-/message_boards/view_message/904820;jsessionid=86960883BED9D7D34D173C993423FC00.v-oss002.dlt.proteon.nl but it didint work.

Any sugestions?
Best regards
João Ribeiro
Adri Mourits, modified 4 Years ago.

RE: Compiling on windows 10 errors

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

Try the "release, x64" configuration. That's the safest one.

vs is build using the executables "flex" and "byacc", included in the source code tree. It uses directory "tmp" on the toplevel directory of the current drive. Problems might occur if you don't have write permission in this directory.

You probably won't need vs. So you can also choose to leave problems in there.

Regards,

Adri