opengl-tutorials / ogl

http://www.opengl-tutorial.org
2.69k stars 925 forks source link

error when compiling Bullet #113

Open TheRektafire opened 3 years ago

TheRektafire commented 3 years ago

I'm following the tutorials exactly based on the steps on the site and after generating the solutions with cmake i opened tutorials.sln in vs2019 and am trying to do a Release x64 build but bullet keeps failing to build because it is expecting LinearMath to be a .lib but it's always building as a .dll regardless of whether it's set to build as a dll or static library in the project settings, how would i fix this

Here are the errors i get:

2>Project not selected to build for this solution configuration 
1>LINK : fatal error LNK1181: cannot open input file '..\LinearMath\Release\LinearMath.lib'
1>Done building project "BulletCollision.vcxproj" -- FAILED.
3>------ Build started: Project: BulletDynamics, Configuration: Release x64 ------
3>LINK : fatal error LNK1181: cannot open input file '..\BulletCollision\Release\BulletCollision.lib'
3>Done building project "BulletDynamics.vcxproj" -- FAILED.
4>------ Build started: Project: BulletSoftBody, Configuration: Release x64 ------
5>------ Build started: Project: misc05_picking_BulletPhysics, Configuration: Release x64 ------
4>LINK : fatal error LNK1181: cannot open input file '..\BulletDynamics\Release\BulletDynamics.lib'
4>Done building project "BulletSoftBody.vcxproj" -- FAILED.
5>LINK : fatal error LNK1181: cannot open input file 'external\bullet-2.81-rev2613\src\BulletDynamics\Release\BulletDynamics.lib'
5>Done building project "misc05_picking_BulletPhysics.vcxproj" -- FAILED.
6>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
6>Project not selected to build for this solution configuration