Building Ogre v14.3.4 with Bullet support in Debug mode Topic is solved

Problems building or running the engine, queries about how to use features etc.
Mesrine
Gnoblar
Posts: 2
Joined: Fri Mar 07, 2025 6:13 pm

Building Ogre v14.3.4 with Bullet support in Debug mode

Post by Mesrine »

Ogre Version: 14.3.4
Operating System: Windows 10

Hello everyone,

I'm experiencing issues building Ogre v14.3.4 with Bullet support in Debug mode (Windows 10, Visual Studio 2022, version 17).
In Release mode, it works fine using the same procedure, so I assume I'm doing something wrong, but I can't figure out what.

I cloned the latest release from GitHub and placed it in a folder. Then, I ran the following command in the terminal:

Code: Select all

cmake -B build -DCMAKE_BUILD_TYPE=Debug

...
    Building components:
    + Bites
    + MeshLodGenerator
    + Overlay
    + Overlay Dear Imgui
    + Paging
    + Property
    + RTShader System
    + RTShader System Shaders
    + Terrain
    + Volume

This successfully built all the dependencies (including Bullet, which compiled without any issues).
However, in the feature summary, Bullet does not appear, and as a result, I cannot link against it.

If I do the following (after deleting the cache):

Code: Select all

cmake -B build -DCMAKE_BUILD_TYPE=Release

...
    Building components:
    + Bites
    + Bullet
    + MeshLodGenerator
    + Overlay
    + Overlay Dear Imgui
    + Paging
    + Property
    + RTShader System
    + RTShader System Shaders
    + Terrain
    + Volume

Everything works fine, and I have access to OgreBullet.

What am I doing wrong?
Could there be a flag like -DENABLE_BULLET=ON or something similar?
Are there any Debug-specific settings?

Thank you for your help.
Best regards.

paroj
OGRE Team Member
OGRE Team Member
Posts: 2142
Joined: Sun Mar 30, 2014 2:51 pm
x 1151

Re: Building Ogre v14.3.4 with Bullet support in Debug mode

Post by paroj »

maybe something like this is needed for Debug as well:
https://github.com/OGRECave/ogre/issues ... 1177309788

Mesrine
Gnoblar
Posts: 2
Joined: Fri Mar 07, 2025 6:13 pm

Re: Building Ogre v14.3.4 with Bullet support in Debug mode

Post by Mesrine »

Yes, you're right. I added "-DCMAKE_DEBUG_POSTFIX=" to Dependencies.cmake, and it worked flawlessly.

Thank you for your help paroj.