windows 10 native linkage error : [Linker] org_lwjgl_system_dyncall_DynCall.obj

Started by umen, March 09, 2020, 11:51:05

Previous topic - Next topic

umen

LWJGL version: lwjgl3-3.2.3
LWJGL build #: X
Java version: 1.8
Platform: Windows
Description
compiling using VS 2019 Developer Command Prompt for VS 2019
invoking ant or ant -v -p or ant compile-native
getting this linkage error:

compile-native-platform:
   [Linker]    Creating library bin\windows\x64\build\lwjgl.lib and object bin\windows\x64\build\lwjgl.exp
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgFloat
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallChar
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcStructSize
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgChar
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcDefineStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgLongLong
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallLong
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcStructField
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcMode
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcFree
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgLong
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallVoid
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgShort
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallBool
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallShort
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcSubStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCloseStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcFreeStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgPointer
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcNewStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgBool
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallLongLong
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcStructAlignment
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgDouble
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallDouble
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcReset
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgStruct
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallPointer
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallFloat
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcGetError
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcArgInt
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcCallInt
   [Linker] org_lwjgl_system_dyncall_DynCall.obj : error LNK2001: unresolved external symbol _dcNewCallVM
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgUChar
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgBool
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgUShort
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgShort
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgDouble
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgLong
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgLongLong
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbNewCallback
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgUInt
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgPointer
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbInitCallback
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbGetUserData
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgInt
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgULong
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbFreeCallback
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgFloat
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgChar
   [Linker] org_lwjgl_system_dyncall_DynCallback.obj : error LNK2001: unresolved external symbol _dcbArgULongLong
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlSymsNameFromValue
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlSymsName
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlFreeLibrary
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlSymsCleanup
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlFindSymbol
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlLoadLibrary
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlSymsInit
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlSymsCount
   [Linker] org_lwjgl_system_dyncall_DynLoad.obj : error LNK2001: unresolved external symbol _dlGetLibraryPath
   [Linker] bin\windows\x64\build\lwjgl.dll : fatal error LNK1120: 61 unresolved externals

BUILD FAILED
c:\Dev\my\java\3d\lwjgl3-3.2.3\build.xml:411: The following error occurred while executing this line:
c:\Dev\my\java\3d\lwjgl3-3.2.3\config\windows\build.xml:148: The following error occurred while executing this line:
c:\Dev\my\java\3d\lwjgl3-3.2.3\config\windows\build.xml:114: apply returned: 2

Total time: 3 seconds


Any idea what to check?
seams like all the native or most of the native external libs did compiled
thanks

spasi

There should be 3 dyn*_s.lib files under bin/libs/native/windows/x64/org/lwjgl/. Are they there?

umen

there is no files under :
C:\Dev\my\java\3d\lwjgl3-3.2.3\bin\libs\native\windows\x64>ls -l
total 0

spasi


umen

same link error:
BUILD FAILED
c:\Dev\my\java\3d\lwjgl3-3.2.3\build.xml:411: The following error occurred while executing this line:
c:\Dev\my\java\3d\lwjgl3-3.2.3\config\windows\build.xml:148: The following error occurred while executing this line:
c:\Dev\my\java\3d\lwjgl3-3.2.3\config\windows\build.xml:114: apply returned: 2

spasi

The VS compiler might be configured wrongly. Try vcvarsall amd64 before ant compile-native.