Skip to content

build error:opensim library link error #25

Description

@maokuGee

[build] E:/OpenSim 4.2/sdk/include/OpenSim/Common/Component.h:2546: undefined reference to __imp__ZN7OpenSim9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_i' [build] CMakeFiles\Common.dir/objects.a(Visualization.cpp.obj): In function OpenSim::PhysicalOffsetFrame const* OpenSim::Component::findComponentOpenSim::PhysicalOffsetFrame(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const':
[build] E:/OpenSim 4.2/sdk/include/OpenSim/Common/Component.h:2557: undefined reference to `__imp__ZN7OpenSim13ComponentPathC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'
[build] collect2.exe: error: ld returned 1 exit status
[build] mingw32-make.exe[2]: *** [OpenSimRT\Common\CMakeFiles\Common.dir\build.make:164: libCommon.dll] Error 1
[build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:932: OpenSimRT/Common/CMakeFiles/Common.dir/all] Error 2
[build] mingw32-make.exe: *** [Makefile:165: all] Error 2
The above is the error I encountered in VScode software, I have completed the configuration part, in the generation of only loaded to 11%, then appeared similar to the "undefined reference to" problem! Looking forward to someone who can help me out, I'd appreciate it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions