Linking issues on Visual Studio 2019 #1476
Labels
help wanted
Indicates wanting help on an issue or pull request
type: bug
Indicates an unexpected problem or unintended behavior
Bug Report
Environment
-- 6.9.2
-- Windows 10
-- Visual Studio 2019 (MSVC 142)
Expected Behavior
Compile the hello-world example, after successfully installed DART on Windows following the guide.
Current Behavior
Before this Issue:
I met some other issues to compile the VS solution that CMake generates for the DART examples.
/permissive-
flag._USE_MATH_DEFINES
. (as this post tells)assimp
,fcl
andosgUtil
are not in theInput
field of linker property.Linker Issue:
After resolved all the issues above, there are still 7 unresolved externals, which caused LNK1120 error.
The unresolved external symbols are:
A more complete error information for the first of it is as follows: (
dart-gui-osg.lib(Viewer.obj)
might be informative)All are related to
dart::gui::osg::TrackballManipulator
and this is strange. I have useddumpbin
to check the symbols, and in all of the dart library files, there are related symbols indart-gui-osg.lib
(the RelWithDebInfo version, but I compile with Release version), and it contains related symbols, as follows:P.S. I also tried with the config RelWithDebInfo, the same.
Thank you for your help. And maybe I would better try to develop under Linux. I can get everything works on Linux but I have to remotely use it because of the pandemic. Everyone, keep safe.
The text was updated successfully, but these errors were encountered: