Page 14 of 14
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Posted: Sat Apr 27, 2013 10:57 am
by randomMesh
Hysteric329 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?
Yes, using Google is very hard. So i did it for you:
Link order for libraries
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Posted: Sat Apr 27, 2013 12:44 pm
by Hysteric329
randomMesh wrote:
Yes, using Google is very hard.
Especially in Russia

I tried about 10 different orders, but haven't reach the right one.
@randomMesh: thanks for help (and for using google)!
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Posted: Fri Aug 23, 2013 4:08 pm
by rubenwardy
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.
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
Posted: Sat Jan 15, 2022 9:09 pm
by netpipe
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.
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Posted: Wed Jan 19, 2022 5:17 am
by gandalfpotter13
Thank god for web.archive.org!
Re: irrBP - An Irrlicht - Bullet Physics Wrapper
Posted: Fri Jan 21, 2022 7:14 pm
by netpipe
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