I'm trying to build a project with the MSVC compiler (cl.exe), the command is start /b /wait "" "cl.exe" %build_options% %compile_flags% ..\src\win32_main.cpp /link /LIBPATH:..\src\ %link_flags% /out:%application_name%
I have set LIBPATH to where the cpp implementations to my headers are but all I get is an unresolved external. Note, I have no problem running my project without cpp files (meaning everything being inside a header, included in my main and worked through there, the problem is that the linker can't find the implementation of .h files).
Any help would be appreciated, thanks! my files are structured like so
Aucun commentaire:
Enregistrer un commentaire