PLS help me with this PLEASE

  • Kirbystarfighter
    25th Jun 2017 Member 0 Permalink

    I got to the last bit of the totorial(the comiling for windows with scons totorial becuase I want to create elements)fine but when I ran scons.py this error happened(at the bottem of the log) and no one is helping me at paste bin

                         |

                         |

                       \  /

                         

    scons: Reading SConscript files ...

    Checking whether the C compiler works... (cached) yes

    1. Checking whether the C++ compiler works... (cached) yes
    2. Checking if 64 bit... (cached) no
    3. Adding 32 bit compile flags
    4. Checking for C library mingw32... (cached) yes
    5. Checking for C library ws2_32... (cached) yes
    6. Checking for C library SDLmain... (cached) yes
    7. Checking for C library SDL... (cached) yes
    8. Checking for C header file SDL.h... (cached) no
    9. Checking for C header file SDL/SDL.h... (cached) yes
    10. Checking for C library lua5.1... (cached) yes
    11. Checking for C header file lua5.1/lua.h... (cached) yes
    12. Checking for C library fftw3f... (cached) yes
    13. Checking for C library bz2... (cached) yes
    14. Checking for C header file bzlib.h... (cached) yes
    15. Checking for C library z... (cached) yes
    16. Checking for C library pthread... (cached) yes
    17. Checking for C library m... (cached) yes
    18. Checking for C library gdi32... (cached) yes
    19. Checking for C library winmm... (cached) yes
    20. Checking for C library dxguid... (cached) yes
    21. scons: done reading SConscript files.
    22. scons: Building targets ...
    23. g++ -o build\src\PowderToyRenderer.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\PowderToyRenderer.cpp
    24. g++ -o build\src\PowderToySDL.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\PowderToySDL.cpp
    25. g++ -o build\src\client\GameSave.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\client\GameSave.cpp
    26. g++ -o build\src\debug\DebugLines.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\debug\DebugLines.cpp
    27. g++ -o build\src\debug\DebugParts.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\debug\DebugParts.cpp
    28. g++ -o build\src\debug\ElementPopulation.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -DSDL_INC -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DUSE_SDL -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\debug\ElementPopulation.cpp
    29. =====
    30. src\debug\ElementPopulation.cpp: In member function 'virtual void ElementPopulationDebug::Draw()':
    31. src\debug\ElementPopulation.cpp:53:15: error: 'bars2' was not declared in this scope
    32.     int barX = bars2;//*2;
    33.                ^
    34. =====
    35. scons: *** [build\src\debug\ElementPopulation.o] Error 1
    36. scons: building terminated because of errors.
      strip: 'build/Powder.exe': No such file
       
      please help me
Locked by jacob1: duplicate