TPT Not Compiling

  • jalfor
    1st Jun 2011 Member 0 Permalink
    This is what it says at the bottom in the build log.

    .......Build:Debug in TPT ........

    Skipping file (no compiler program set): ../src/Resources/powder-res.rc
    compiling ../src/air.c
    ccl: error unrecognized command line potion "-mwindows"
    process terminated with status 1 (0 minutes, 0 seconds)
    0 errors, 0 warnings

    HELP
  • vanquish349
    1st Jun 2011 Member 0 Permalink
    what are you useing to compile
  • TheWiseEyes
    1st Jun 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • me4502
    1st Jun 2011 Member 0 Permalink
    Remove line -mwindows in makefile and make it -mlinux32 or 64
  • jalfor
    1st Jun 2011 Member 0 Permalink
    What's the makefile. (It'l be mlinux32 btw)
  • me4502
    1st Jun 2011 Member 0 Permalink
    @jalfor (View Post)
    In code blocks build settings in custom line it'll have it there...


    The last one. In Compiler Settings ? Other options, still in Build Options, Add the line:



    -w -m32 -std=c99 -D_POSIX_C_SOURCE=200112L -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -mmmx -DX86 -mlinux32 -DLinux32
  • jalfor
    1st Jun 2011 Member 0 Permalink

    -------------- Build: Debug in TPT ---------------

    Skipping file (no compiler program set): ../src/Resources/powder-res.rc
    Compiling: ../src/air.c
    cc1: error: unrecognized command line option "-mwindows"
    cc1: error: unrecognized command line option "-mlinux32"
    Process terminated with status 1 (0 minutes, 0 seconds)
    0 errors, 0 warnings

    That's what I got this time
  • me4502
    1st Jun 2011 Member 0 Permalink
    remove -mwindows
  • jalfor
    1st Jun 2011 Member 0 Permalink
    from???
  • me4502
    1st Jun 2011 Member 0 Permalink
    @jalfor (View Post)
    Compiler Settings ? Other options, still in Build Options also remove -mlinux32 and make sure -DLIN32 is in there somewhere