{"action":"opened","issue":{"url":"https://api.github.com/repos/Ybalrid/BtOgre21/issues/14","repository_url":"https://api.github.com/repos/Ybalrid/BtOgre21","labels_url":"https://api.github.com/repos/Ybalrid/BtOgre21/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Ybalrid/BtOgre21/issues/14/comments","events_url":"https://api.github.com/repos/Ybalrid/BtOgre21/issues/14/events","html_url":"https://github.com/Ybalrid/BtOgre21/issues/14","id":343091830,"node_id":"MDU6SXNzdWUzNDMwOTE4MzA=","number":14,"title":"Demo Library Link Order","user":{"login":"dermont123","id":13048804,"node_id":"MDQ6VXNlcjEzMDQ4ODA0","avatar_url":"https://avatars0.githubusercontent.com/u/13048804?v=4","gravatar_id":"","url":"https://api.github.com/users/dermont123","html_url":"https://github.com/dermont123","followers_url":"https://api.github.com/users/dermont123/followers","following_url":"https://api.github.com/users/dermont123/following{/other_user}","gists_url":"https://api.github.com/users/dermont123/gists{/gist_id}","starred_url":"https://api.github.com/users/dermont123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dermont123/subscriptions","organizations_url":"https://api.github.com/users/dermont123/orgs","repos_url":"https://api.github.com/users/dermont123/repos","events_url":"https://api.github.com/users/dermont123/events{/privacy}","received_events_url":"https://api.github.com/users/dermont123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T12:37:44Z","updated_at":"2018-07-20T12:37:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nThe link order appears to be wrong for the demo when building against bullet static libs.\r\n`\r\ndiff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt\r\nindex a6bbc8a..fb7a8fc 100644\r\n--- a/demo/CMakeLists.txt\r\n+++ b/demo/CMakeLists.txt\r\n@@ -33,11 +33,11 @@ add_executable(BtOgre21DEMO main.cpp)\r\n #Link the required libraries\r\n target_link_libraries(\r\n         BtOgre21DEMO\r\n//+        ${BtOgre21_LIBRARIES}\r\n         ${BULLET_LIBRARIES}\r\n         ${OGRE_LIBRARIES}\r\n         ${OGRE_HlmsPbs_LIBRARIES}\r\n         ${OGRE_HlmsUnlit_LIBRARIES}\r\n//-        ${BtOgre21_LIBRARIES}\r\n         ${SDL2_LIBRARY}\r\n \r\n )\r\n`\r\n`\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::VertexIndexToShape::createBox()':\r\nBtOgreGP.cpp:(.text+0xd39): undefined reference to `btBoxShape::btBoxShape(btVector3 const&)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::VertexIndexToShape::createCylinder()':\r\nBtOgreGP.cpp:(.text+0xee2): undefined reference to `btCylinderShapeX::btCylinderShapeX(btVector3 const&)'\r\nBtOgreGP.cpp:(.text+0xf36): undefined reference to `btCylinderShapeZ::btCylinderShapeZ(btVector3 const&)'\r\nBtOgreGP.cpp:(.text+0xf76): undefined reference to `btCylinderShape::btCylinderShape(btVector3 const&)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::VertexIndexToShape::createConvex()':\r\nBtOgreGP.cpp:(.text+0x10cc): undefined reference to `btConvexHullShape::btConvexHullShape(float const*, int, int)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::VertexIndexToShape::createTrimesh()':\r\nBtOgreGP.cpp:(.text+0x11f0): undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'\r\nBtOgreGP.cpp:(.text+0x1354): undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::VertexIndexToShape::createCapsule()':\r\nBtOgreGP.cpp:(.text+0x1554): undefined reference to `btCapsuleShape::btCapsuleShape(float, float)'\r\nBtOgreGP.cpp:(.text+0x15cf): undefined reference to `btCapsuleShapeX::btCapsuleShapeX(float, float)'\r\nBtOgreGP.cpp:(.text+0x1632): undefined reference to `btCapsuleShapeZ::btCapsuleShapeZ(float, float)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::AnimatedMeshToShapeConverter::createAlignedBox(unsigned char, Ogre::Vector3 const&, Ogre::Quaternion const&)':\r\nBtOgreGP.cpp:(.text+0x389a): undefined reference to `btBoxShape::btBoxShape(btVector3 const&)'\r\n/media/sdb15/Development/OGRE/v2-1/BtOgre21/build/libBtOgre21.a(BtOgreGP.cpp.o): In function `BtOgre::AnimatedMeshToShapeConverter::createOrientedBox(unsigned char, Ogre::Vector3 const&, Ogre::Quaternion const&)':\r\nBtOgreGP.cpp:(.text+0x3f41): undefined reference to `btBoxShape::btBoxShape(btVector3 const&)'\r\ncollect2: error: ld returned 1 exit status\r\nCMakeFiles/BtOgre21DEMO.dir/build.make:104: recipe for target 'BtOgre21DEMO' failed\r\nmake[2]: *** [BtOgre21DEMO] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/BtOgre21DEMO.dir/all' failed\r\nmake[1]: *** [CMakeFiles/BtOgre21DEMO.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n`"}}
{"actor":{"display_login":"dermont123"}}