Mixed OpenSceneGraph_LIBRARIES of static and dynamic libraries #1331
Unanswered
AhmedAredah
asked this question in
Q&A
Replies: 1 comment
-
I'm not a regular Windows users but the fatal error report suggests that you have a corrupted file. As a general comment, there is a standalone CMake example, so have a look at this. Also if you a new scene graph user in 2024 I don't know why you would select OpenSceneGraph, it's successor VulkanSceneGarph would likely be a better place to start. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a C++ application with cmakelists.txt as below:
and the result is
OpenSceneGraph_LIBRARIES gives both static and dynamic libraries and hence gives error at the following code:
The error is:
C:\Program Files\OpenSceneGraph\bin\osg202-osg.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x308
What am I doing wrong here? I would appreciate your guidance.
OS: Windows x64
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions