I don't have a bin folder, just a debug folder. And I still get this error at the end:
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library acid.obj : error LNK2019: unresolved external symbol _parts_avg referenced in function _update_ACID btry.obj : error LNK2001: unresolved external symbol _parts_avg sprk.obj : error LNK2001: unresolved external symbol _parts_avg swch.obj : error LNK2001: unresolved external symbol _parts_avg uran.obj : error LNK2019: unresolved external symbol _restrict_flt referenced in function _update_URAN graphics.obj : error LNK2001: unresolved external symbol _restrict_flt interface.obj : error LNK2001: unresolved external symbol _restrict_flt powder.obj : error LNK2001: unresolved external symbol _restrict_flt frzw.obj : error LNK2001: unresolved external symbol _restrict_flt ice.obj : error LNK2001: unresolved external symbol _restrict_flt pyro.obj : error LNK2001: unresolved external symbol _restrict_flt sing.obj : error LNK2001: unresolved external symbol _restrict_flt prti.obj : error LNK2019: unresolved external symbol _orbitalparts_set referenced in function _update_PRTI prto.obj : error LNK2001: unresolved external symbol _orbitalparts_set prti.obj : error LNK2019: unresolved external symbol _orbitalparts_get referenced in function _update_PRTI prto.obj : error LNK2001: unresolved external symbol _orbitalparts_get graphics.obj : error LNK2001: unresolved external symbol _orbitalparts_get graphics.obj : error LNK2019: unresolved external symbol _clamp_flt referenced in function _draw_air graphics.obj : error LNK2019: unresolved external symbol _isign referenced in function _draw_line misc.obj : error LNK2019: unresolved external symbol __imp__regfree referenced in function _sregexp misc.obj : error LNK2019: unresolved external symbol __imp__regexec referenced in function _sregexp misc.obj : error LNK2019: unresolved external symbol __imp__regcomp referenced in function _sregexp C:\ThePowderToy\Debug\ThePowderToy.exe : fatal error LNK1120: 9 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
(as well as a TON of complaints from the compiler about loss of precision converting from float to int, not all possible control paths leading to an output, claims of depreciated functions, and that kind of stuff).
@Videogamer555(View Post) derpderpderpderpderp. Debug\ delete *.obj rebuild. It looks like you're missing something from the linker, also. So make sure you have everything >.> Pastebin errors from now on.
Yes those are all linker errors. There's no need to manually delete the .obj files, there's a "clean project" or something that does exactly that. Also you will still need python installed if you want to compile the new console.
I've cleaned and recompiled numerous times. Error still does not go away. I need trouble shooting for my specific problem, not just some generic "delete all the files and start over" fix.
This may be one of the things that causes the other failures. MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
This may be one of the things that causes the other failures. MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
What does this mean and how do I fix it?
Warnings mean nothing. Ignore the warnings and focus on the errors.