karansher / computer-graphics-meshes

Computer Graphics Assignment about Meshes
0 stars 0 forks source link

LINK issues when building #4

Open RamDaj opened 2 years ago

RamDaj commented 2 years ago

Whenever I build the project from the .sln file, there are no issues, however when I compile my assignment in Visual Studio using (cmd + shift + b), I have ~22 errors regarding LINK

Most of the errors say LNK2001 unresolved external symbol __imp_strncpy C:\Users...\computer-graphics-meshes\out\build\x64-Debug\computer-graphics-meshes C:\Users...\computer-graphics-meshes\out\build\x64-Debug\glfw3.lib(input.c.obj)

Note that this happens even when I create a new project from scratch. I've tried setting the runtime library to a Multi-threaded DLL (/MD) to no avail, this is very frustrating as I can't even check if my code can even compile.

Has anyone else come across this issue?

ianktc commented 2 years ago

Try to build in release mode, I think it should work

RamDaj commented 2 years ago

I was already doing that, didn't work sadly