build error

  • drixads
    30th Oct 2015 Member 0 Permalink

    "scons: Reading SConscript files ...
    Checking whether the C compiler works... yes
    Checking whether the C++ compiler works... yes
    Checking if 64 bit... '.sconf_temp\conftest_3.exe' is not recognized as an internal or external command,
    operable program or batch file.
    error: no result
    Checking for C library mingw32... yes
    Checking for C library ws2_32... yes
    Checking for C library SDLmain... yes
    Checking for C library SDL... yes
    Checking for C header file SDL.h... yes
    Checking for C library lua5.1... yes
    Checking for C header file lua5.1/lua.h... no
    Checking for C header file lua.h... yes
    Checking for C library fftw3f... yes
    Checking for C library bz2... yes
    Checking for C header file bzlib.h... yes
    Checking for C library z... yes
    Checking for C library pthread... yes
    Checking for C library m... yes
    Checking for C library gdi32... yes
    Checking for C library winmm... yes
    Checking for C library dxguid... yes
    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o build\src\Format.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DLUA_R_INCL -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\Format.cpp
    scons: *** [build\src\Format.o] The system cannot find the file specified
    scons: building terminated because of errors.
    'strip' is not recognized as an internal or external command,
    operable program or batch file."

     

    This is the output on console when i try to build TPT.

    What am I doig wrong?

    is there some file i'm missing(other than that lua header)?

    please help. thanks,

  • jBot-42
    30th Oct 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • drixads
    31st Oct 2015 Member 0 Permalink

    I use windows 10

    IDK, too lazy to check,

    Yes,

    Don't know, it maybe just something to do w/ scons,

    Because I do use scons.

  • jacob1
    31st Oct 2015 Developer 0 Permalink
    That doesn't look normal at all. Did you follow the guide and use the downloads there? I don't know why scons isn't creating the build/ folder (or maybe the build/src/ folder is missing). Maybe you could try creating it yourself, and then scons --clean. Although probably that wouldn't fix it.

    @jBot-42 (View Post)
    There are no known issues with Windows 10, there is a known issue with VS 2010 but not with newer versions. You make it sound like compiling is totally broken :P.
  • drixads
    31st Oct 2015 Member 0 Permalink

    the build/src folder was generated, but it's empty... What is usually in that folder? I mean, what does it contain after building TPT usually?

    Edited once by drixads. Last: 31st Oct 2015
  • jBot-42
    31st Oct 2015 Banned 0 Permalink
    This post is hidden because the user is banned
    Edited once by jBot-42. Last: 31st Oct 2015
  • jacob1
    31st Oct 2015 Developer 0 Permalink
    @drixads (View Post)
    Well the compiled object files should go there ... i'm not sure what file it is complaining about then. The error doesn't really make sense.

    @jBot-42 (View Post)
    Hmm, ok
  • wolfy1339
    31st Oct 2015 Member 0 Permalink

    I use pywin32 on Windows 10 and it doesn't break compiling at all...

  • jBot-42
    31st Oct 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • wolfy1339
    1st Nov 2015 Member 0 Permalink
    I use 32 bit Python with 32 bit PyWin32 on a 64 bit system and it works just fine. It must be a bug on your system.

    I would suggest he re-install Python, SCons and MinGW, maybe it will fix his problem.