help with compiling

  • The-Coder
    13th Apr 2011 Member 0 Permalink
    1>C:\Documents and Settings\Marius Gordan\Desktop\FacialTurd-The-Powder-Toy-d355353\Debug\Powder toy.exe : fatal error LNK1120: 9 unresolved externals
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • cctvdude99
    13th Apr 2011 Member 0 Permalink
    @The-Coder
    You could be a bit more specific than just posting that. =| Well, I got no idea. Bai.
  • The-Coder
    13th Apr 2011 Member 0 Permalink
    1>------ Build started: Project: Powder toy, Configuration: Debug Win32 ------
    1> misc.c
    1>src\misc.c(67): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>src\misc.c(103): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
    1>src\misc.c(143): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
    1>src\misc.c(272): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
    1>src\misc.c(403): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>src\misc.c(425): warning C4013: 'exe_name' undefined; assuming extern returning int
    1>src\misc.c(425): warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int'
    1>src\misc.c(430): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>src\misc.c(431): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
    1>acid.obj : error LNK2019: unresolved external symbol _parts_avg referenced in function _update_ACID
    1>btry.obj : error LNK2001: unresolved external symbol _parts_avg
    1>sprk.obj : error LNK2001: unresolved external symbol _parts_avg
    1>swch.obj : error LNK2001: unresolved external symbol _parts_avg
    1>uran.obj : error LNK2019: unresolved external symbol _restrict_flt referenced in function _update_URAN
    1>graphics.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>interface.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>powder.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>frzw.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>ice.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>pyro.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>sing.obj : error LNK2001: unresolved external symbol _restrict_flt
    1>prti.obj : error LNK2019: unresolved external symbol _orbitalparts_set referenced in function _update_PRTI
    1>prto.obj : error LNK2001: unresolved external symbol _orbitalparts_set
    1>prti.obj : error LNK2019: unresolved external symbol _orbitalparts_get referenced in function _update_PRTI
    1>prto.obj : error LNK2001: unresolved external symbol _orbitalparts_get
    1>graphics.obj : error LNK2001: unresolved external symbol _orbitalparts_get
    1>graphics.obj : error LNK2019: unresolved external symbol _clamp_flt referenced in function _draw_air
    1>graphics.obj : error LNK2019: unresolved external symbol _isign referenced in function _draw_line
    1>misc.obj : error LNK2019: unresolved external symbol __imp__regfree referenced in function _sregexp
    1>misc.obj : error LNK2019: unresolved external symbol __imp__regexec referenced in function _sregexp
    1>misc.obj : error LNK2019: unresolved external symbol __imp__regcomp referenced in function _sregexp
    1>C:\Documents and Settings\Marius Gordan\Desktop\FacialTurd-The-Powder-Toy-d355353\Debug\Powder toy.exe : fatal error LNK1120: 9 unresolved externals
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Hope you will help me
  • dnerd
    13th Apr 2011 Member 0 Permalink
    what are you trying to compile?
  • The-Coder
    13th Apr 2011 Member 0 Permalink
    FacialTurd-The-Powder-Toy-d355353 thats the name of the folder
  • dnerd
    13th Apr 2011 Member 0 Permalink
    @The-Coder (View Post)
    have you made any changes to the source that you downloaded?
  • The-Coder
    13th Apr 2011 Member 0 Permalink
    nope i didnt
  • dnerd
    13th Apr 2011 Member 0 Permalink
    then the point is? just download the compiled version from here:
    https://powdertoy.co.uk/Download.html
  • The-Coder
    13th Apr 2011 Member 0 Permalink
    im just trying to compile it now to see if i can trutly can and after that i would edit it and compile again
  • vanquish349
    13th Apr 2011 Member 0 Permalink
    @dnerd (View Post)
    it is good to learn how to compile
Locked by ief015: UTT