Compiling help.

  • pilojo
    1st Oct 2010 Member 0 Permalink
    I have a problem with releasing.


    1>------ Build started: Project: TPT, Configuration: Release Win32 ------
    1> air.c
    1>c:\antb-the-powder-toy-e1135bd\graphics.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> graphics.c
    1>graphics.c(2): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> interface.c
    1>interface.c(4): fatal error C1083: Cannot open include file: 'bzlib.h': No such file or directory
    1> main.c
    1>main.c(29): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> misc.c
    1>c:\antb-the-powder-toy-e1135bd\interface.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> powder.c
    1>c:\antb-the-powder-toy-e1135bd\graphics.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    I can debug it and play. But I can't make it into an exe. All the files are in the release file too.
  • zc00gii
    1st Oct 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • pilojo
    1st Oct 2010 Member 0 Permalink
    I followed the wiki step by step. It works in debug mode but not release.

    Edit: I fixed that error now theres another. Too big to fit in the post.

    Edit2: It shortened to...


    1>------ Build started: Project: TPT, Configuration: Release Win32 ------
    1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
    1>CVTRES : fatal error CVT1100: duplicate resource. type:ICON, name:1, language:0x0409
    1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • zc00gii
    1st Oct 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • pilojo
    1st Oct 2010 Member 0 Permalink
    I've followed the wiki exactly for that and it keeps putting the previously posted error.
  • devast8a
    1st Oct 2010 Former Staff 0 Permalink
    pilojo
    You've deleted the resource file, yes?
  • pilojo
    1st Oct 2010 Member 0 Permalink
    Yeah. I deleted everything in it. It works for myself but will not go to an exe.
  • pilojo
    1st Oct 2010 Member 0 Permalink
    NVM! I think I got it to work.
  • pilojo
    1st Oct 2010 Member 0 Permalink
    It's fine I got it working. Locking.