null

Message Boards

Error LNK2001 when compiling tag version 7545

MA
Mohammed Almoghayer, modified 5 Months ago.

Error LNK2001 when compiling tag version 7545

Youngling Posts: 2 Join Date: 4/7/17 Recent Posts
Hi,

I tried to compile the delft3d source code tag 7545 using visual studio 2015 update 3 and Intel Fortran 16 update 4 and Python 3.4.3 64bit on windows 7 64bit. I got error LNK2001 (error list is attached). Can you please look at the error list and suggest what the problem might be?

I tried to use the same VS and Fortran versions to compile tag 6685, I got even more errors.

Thanks,

Mohammed



Severity Code Description Project File Line Suppression State
Error LNK1120 1 unresolved externals flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\bin\x64\Release\\flow2d3d.dll 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\data.lib(dfgather_module.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\data.lib(dfscatter_module.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io_netcdf.lib(io_ugrid.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(wrsedm.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\kernel.lib(creategridborder.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\delftio.lib(geometry_module.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\hyd_to_waq_part_lib.lib(agwaqgeom.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(wrihis.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(wrthis.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(wrimap.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(wrtmap.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\delftio.lib(string_module.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\delftio.lib(sync_rtcflow.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\delftio.lib(dio-plt-rw.obj) 1
Error LNK2001 unresolved external symbol for_realloc_lhs flow2d3d (engines_gpl\flow2d3d\flow2d3d) C:\Users\mohammed\Desktop\DelftRepo7545\src\engines_gpl\flow2d3d\packages\flow2d3d\io.lib(waq2flow.obj) 1
MA
Mohammed Almoghayer, modified 5 Months ago.

RE: Error LNK2001 when compiling tag version 7545

Youngling Posts: 2 Join Date: 4/7/17 Recent Posts
I found what was the problem. It was a mistake in using the wrong version of Fortran compiler, it was v17 instead of 16. I re-installed Fortran compiler 16. The build doesn't give errors anymore, but it still gives warnings.



Severity Code Description Project File Line Suppression State
Warning delwaq_dll: warning: TargetPath(D:\Delft3D\delft3d_repository_7545\src\engines_gpl\waq\bin\x64\Release\delwaq_dll.dll) does not match the Linker's OutputFile property value (D:\Delft3D\delft3d_repository_7545\src\engines_gpl\waq\bin\x64\Release\delwaq.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
Warning MSB8028 The intermediate directory (x64\Release\) contains files shared from another project (nefis.vcxproj). This can lead to incorrect clean and rebuild behavior. nefis_dll C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets 392
Warning C4099 'Exception': type name first seen using 'class' now seen using 'struct' dimr_lib d:\delft3d\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\include\exception.h 41
Warning C4267 'initializing': conversion from 'size_t' to 'int', possible loss of data dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 105
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 107
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 142
Warning C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 187
Warning C4996 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 197
Warning C4996 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 198
Warning C4996 '_splitpath': This function or variable may be unsafe. Consider using _splitpath_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 179
Warning C4996 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 206
Warning C4996 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 222
Warning C4553 '==': operator has no effect; did you intend '='? dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 440
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 454
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 445
Warning C4297 'get_var': function assumed not to throw an exception but does dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 451
Warning C4297 'get_var': function assumed not to throw an exception but does dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 461
Warning C4267 'initializing': conversion from 'size_t' to 'int', possible loss of data dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 515
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 535
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 517
Warning C4297 'set_var': function assumed not to throw an exception but does dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 524
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 527
Warning C4297 'set_var': function assumed not to throw an exception but does dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 532
Warning C4297 'set_var': function assumed not to throw an exception but does dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 542
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 608
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 793
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1036
Warning C4996 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1125
Warning C4996 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1326
Warning C4267 'initializing': conversion from 'size_t' to 'int', possible loss of data dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1407
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1409
Warning C4996 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1500
Warning C4996 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1606
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1642
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1654
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1679
Warning C4996 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1695
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1836
Warning C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1837
Warning C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1842
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1876
Warning C4800 'BOOL': forcing value to bool 'true' or 'false' (performance warning) dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1891
Warning C4996 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1913
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1926
Warning C4018 '<': signed/unsigned mismatch dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1953
Warning C4244 '=': conversion from 'double' to 'Clock::Timestamp', possible loss of data dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\src\dimr.cpp 1958
Warning MSB8012 TargetPath(D:\Delft3D\delft3d_repository_7545\src\utils_lgpl\nefis\packages\nefis\../../lib/x64/Release/dynamic\nefis_dll.dll) does not match the Linker's OutputFile property value (D:\Delft3D\delft3d_repository_7545\src\utils_lgpl\nefis\lib\x64\Release\dynamic\nefis.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). nefis_dll C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets 1189
Warning MSB8012 TargetName(nefis_dll) does not match the Linker's OutputFile property value (nefis). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). nefis_dll C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets 1191
Warning MSB8028 The intermediate directory (x64\Release\) contains files shared from another project (nefis_dll.vcxproj). This can lead to incorrect clean and rebuild behavior. nefis (utils_lgpl\nefis\nefis) C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets 392
Warning LNK4199 /DELAYLOAD:fmpich2.dll ignored; no imports found from fmpich2.dll dimr_lib D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\LINK 1
Warning LNK4098 defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library lint (tools_gpl\lint\lint) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\lint\packages\lint\LINK 1
Warning LNK4098 defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library kubint (tools_gpl\kubint\kubint) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\kubint\packages\kubint\LINK 1
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 57
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 65
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 73
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 81
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 89
Warning C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. flow2d3d (engines_gpl\flow2d3d\flow2d3d) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\flow2d3d\packages\flow2d3d\src\flow2d3d_version.cpp 97
Warning C4099 'Exception': type name first seen using 'class' now seen using 'struct' dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\include\exception.h 41
Warning C4099 'Exception': type name first seen using 'struct' now seen using 'class' dimr (engines_gpl\dimr\dimr) d:\delft3d\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr_lib\include\dimr.h 75
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 301
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 302
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 303
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 304
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 305
Warning C4996 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 306
Warning C4267 '+=': conversion from 'size_t' to 'int', possible loss of data dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 401
Warning C4267 'initializing': conversion from 'size_t' to 'int', possible loss of data dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 408
Warning C4996 '_splitpath': This function or variable may be unsafe. Consider using _splitpath_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 384
Warning C4996 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 422
Warning C4996 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 435
Warning C4996 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. dimr (engines_gpl\dimr\dimr) D:\Delft3D\delft3d_repository_7545\src\engines_gpl\dimr\packages\dimr\src\dimr_exe.cpp 528
Warning C4244 '=': conversion from '__int64' to 'int', possible loss of data vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_l.c 667
Warning C4267 '=': conversion from 'size_t' to 'int', possible loss of data vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_l.c 1193
Warning C4244 'initializing': conversion from '__int64' to 'int', possible loss of data vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_l.c 1359
Warning C4996 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details. vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_l.c 1546
Warning C4244 '=': conversion from '__int64' to 'int', possible loss of data vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_y.c 416
Warning C4102 'yynewerror': unreferenced label vs (tools_gpl\vs\vs) D:\Delft3D\delft3d_repository_7545\src\tools_gpl\vs\packages\vs\vs_y.c 529
Qinghua Ye, modified 5 Months ago.

RE: Error LNK2001 when compiling tag version 7545 (Answer)

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Mohammed,

Would you try the latest trunk code with the combination of compilers you listed? I don't think version 7545 was ready for this combination. But the latest trunk version has been tested.

Cheers,

Qinghua
JR
Jelian Reyes, modified 5 Months ago.

RE: Error LNK2001 when compiling tag version 7545

Youngling Posts: 2 Join Date: 12/16/19 Recent Posts
What do you mean by latest trunk? Is it ok if its not in the tag folder? I encountered the same error