Yes, using Google is very hard. So i did it for you: Link order for librariesHysteric329 wrote:I do link irrBP and all necessary Bullet libraries, but I think this problem is due to the wrong linking order (when i change this order error change too). What is the right one?
irrBP - An Irrlicht - Bullet Physics Wrapper
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
"Whoops..."
-
- Posts: 2
- Joined: Thu Apr 25, 2013 4:01 pm
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Especially in Russia I tried about 10 different orders, but haven't reach the right one.randomMesh wrote: Yes, using Google is very hard.
@randomMesh: thanks for help (and for using google)!
-
- Posts: 91
- Joined: Mon Mar 05, 2012 4:51 pm
- Location: Bristol, UK
- Contact:
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
I cant get it to work properly.
I have built bullets, and moved the *.a's to libs/
I get
No rule to make target `/home/andrew/physics/bullet/libs/libBulletMultiThreaded.a', needed by `Game'. Stop.
I have built bullets, and moved the *.a's to libs/
I get
No rule to make target `/home/andrew/physics/bullet/libs/libBulletMultiThreaded.a', needed by `Game'. Stop.
Code: Select all
cmake_minimum_required(VERSION 2.6)
project(Game)
# Defines
set(PROJECT_SOURCE_DIR "src")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
set(BINDIR "bin")
# Dependancies
find_package(Irrlicht REQUIRED)
find_package(ZLIB REQUIRED)
find_package(X11 REQUIRED)
find_package(OpenGL REQUIRED)
find_package(JPEG REQUIRED)
find_package(BZip2 REQUIRED)
find_package(PNG REQUIRED)
# Executable
file(GLOB GAME_SRC_IRRBP
"bullet/src/*.cpp"
"bullet/src/actions/*.cpp"
"bullet/src/animator/*.cpp"
"bullet/src/body/*.cpp"
"bullet/src/constraint/*.cpp"
"bullet/src/softbody/*.cpp"
)
set(GAME_SRC
${GAME_SRC_IRRBP}
src/main.cpp
src/game.cpp
)
add_executable(${PROJECT_NAME} ${GAME_SRC})
include_directories(
${PROJECT_BINARY_DIR}
${IRRLICHT_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${CMAKE_BUILD_TYPE}
${X11_INCLUDE_DIR}
${OPENGL_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
"bullet/bullet-2.79-include"
"bullet/include"
)
target_link_libraries(
${PROJECT_NAME}
${IRRLICHT_LIBRARY}
${ZLIB_LIBRARIES}
${X11_LIBRARIES}
${OPENGL_LIBRARIES}
${JPEG_LIBRARIES}
${BZIP2_LIBRARIES}
${PNG_LIBRARIES}
${IRRBP_LIBRARY}
"/home/andrew/physics/bullet/libs/libBulletMultiThreaded.a"
"/home/andrew/physics/bullet/libs/libBulletSoftBody.a"
"/home/andrew/physics/bullet/libs/libBulletDynamics.a"
"/home/andrew/physics/bullet/libs/libBulletCollision.a"
"/home/andrew/physics/bullet/libs/libLinearMath.a"
)
set_target_properties(${PROJECT_NAME}
PROPERTIES
OUTPUT_NAME ${PROJECT_NAME}
)
# Install DLLs
if(WIN32)
if(DEFINED IRRLICHT_DLL)
message(Installing irrlicht dll)
install(FILES ${IRRLICHT_DLL} DESTINATION ${BINDIR})
endif()
endif()
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
i had same issue, was just wondering why its so hard to load bsp's with bullet mine keeps crashing when i try octtrees hehe. https://www.youtube.com/watch?v=9yEzis9GXY8 suposedly it can but i havnt found a bsp loader inside of it yet.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
-
- Posts: 1
- Joined: Wed Jan 19, 2022 5:14 am
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Thank god for web.archive.org!
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
what makes you say that do you have a working demo ?
https://github.com/netpipe/IrrlichtDemo ... irrBP-0.41 i have this but its not compiling maybe the linking order like it had said. but doubtful maybe it needs the newer bullet
https://github.com/netpipe/IrrlichtDemo ... irrBP-0.41 i have this but its not compiling maybe the linking order like it had said. but doubtful maybe it needs the newer bullet
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%