bspguy icon indicating copy to clipboard operation
bspguy copied to clipboard

Got Another Problem

Open ToxicHolyGrenade opened this issue 1 year ago • 4 comments

When I had decided to redo BSPGuy Master, I for some reason got this error.

LINK : fatal error LNK1181: cannot open input file '..\glew\lib\Release\x64\glew32s.lib' [C:\bspguy-master\build\bspguy .vcxproj]

ToxicHolyGrenade avatar Dec 02 '22 15:12 ToxicHolyGrenade

Check that the path exists (bspguy-master\glew\lib\Release\x64\glew32s.lib). If it doesn't, check step 5 here: https://github.com/wootguy/bspguy#windows-users

wootguy avatar Dec 03 '22 10:12 wootguy

As it turns it, it does exist, though in fairness, I did make a mistake about not choosing Windows 32-bit and 64-bit, but I still ran into issues despite learning from that minor mistake.

glfw3.lib(input.obj) : error LNK2019: unresolved external symbol __imp_strspn referenced in function glfwUpdateGamepadM appings [C:\bspguy-master\build\bspguy.vcxproj] C:\bspguy-master\build\Release\bspguy.exe : fatal error LNK1120: 1 unresolved externals [C:\bspguy-master\build\bspguy. vcxproj]

ToxicHolyGrenade avatar Dec 04 '22 22:12 ToxicHolyGrenade

I probably need to link to a specific version of GLFW. That could be a problem with the latest version.

wootguy avatar Dec 27 '22 20:12 wootguy

As it turns it, it does exist, though in fairness, I did make a mistake about not choosing Windows 32-bit and 64-bit, but I still ran into issues despite learning from that minor mistake.

glfw3.lib(input.obj) : error LNK2019: unresolved external symbol __imp_strspn referenced in function glfwUpdateGamepadM appings [C:\bspguy-master\build\bspguy.vcxproj] C:\bspguy-master\build\Release\bspguy.exe : fatal error LNK1120: 1 unresolved externals [C:\bspguy-master\build\bspguy. vcxproj]

I concur this is the exact same problem I ran into using the latest version of GLFW. I believe the release build was built with version 3.3.4 https://github.com/glfw/glfw/releases. When I tried building using that version it introduced its own set of errors

Outerbeast avatar Jan 30 '23 12:01 Outerbeast

specific versions of glfw and imgui are linked here as submodules now, so the build process should be less error-prone.

wootguy avatar Apr 23 '24 18:04 wootguy