Issues compiling with static - linker missing .o files?
Hi pretty much as topic says, I'm compiling a DLL very much like one I've already compiled without problems but this time the linker is complaining it cannot find a load of .o files. Strange as I thought it was only things like .cpp files and the like which were converted to .o files to be linked against?
Anyway here is the error message:
mingw32-g++.exe: obj\Debug\libZFXRenderer.o: No such file or directory
mingw32-g++.exe: obj\Debug\libgdi32.o: No such file or directory
mingw32-g++.exe: obj\Debug\libvfw32.o: No such file or directory
mingw32-g++.exe: obj\Debug\libzfx3d.o: No such file or directory
And it's correct there's nothing in the Debug folder relating to any of the static libraries there. But there never is anyway, so why is it looking for this? It never did this the last DLL I compiled and that came with 3 static libraries needed to compile. None of which ended up as .o files in the debug folder either for that matter.
Seems rather odd. Maybe a bad setting or something. I've included all required statics in the linker settings too. I don't know could a bad pragma comment or something cause this?