265 errors

  • hamada
    15th Jul 2013 Member 0 Permalink

    Error 25 error C1083: Cannot open include file: 'zlib.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\Format.cpp 7 1 TPTM kit
    Error 256 error C1083: Cannot open include file: 'ToolClasses.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\simulation\tools\Cool.cpp 1 1 TPTM kit
    Error 2 error C1083: Cannot open include file: 'simulation/Tools.h': No such file or directory c:\users\ahmed\desktop\t's\the-powder-toy-master\the-powder-toy-master\required libraries\generated\ToolClasses.h 4 1 TPTM kit
    Error 29 error C1083: Cannot open include file: 'SDL.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\gui\interface\Keys.h 3 1 TPTM kit
    Error 72 error C1083: Cannot open include file: 'regex.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\Misc.cpp 5 1 TPTM kit
    Error 18 error C1083: Cannot open include file: 'pthread.h': No such file or directory c:\users\ahmed\desktop\t's\the-powder-toy-master\the-powder-toy-
    Error 4 error C1083: Cannot open include file: 'lua.h': No such file or directory c:\users\ahmed\desktop\t's\the-powder-toy-master\the-powder-toy-master\src\cat\LuaScriptInterface.h 6 1 TPTM kit
    Error 253 error C1083: Cannot open include file: 'ElementClasses.h': No such file or directory c:\users\ahmed\desktop\t's\the-powder-toy-master\the-powder-toy-master\src\simulation\Elements.h 60 1 TPTM kit
    Error 265 error C1083: Cannot open include file: 'ElementClasses.h': No such file or directory c:\users\ahmed\desktop\t's\the-powder-toy-master\the-powder-toy-master\src\simulation\Elements.h 60 1 TPTM kit
    Error 16 error C1083: Cannot open include file: 'dirent.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\client\Client.cpp 12 1 TPTM kit
    Error 17 error C1083: Cannot open include file: 'bzlib.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\client\GameSave.cpp 5 1 TPTM kit
    Error 26 error C1083: Cannot open include file: 'bzlib.h': No such file or directory C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\graphics\Graphics.cpp 3 1 TPTM kit
     

    What happened wrong?I followed Compiling tpt++ with Visual studio exactly!

    Note:I tryed 2 times(redownloaded files, reconfigured,Ect)

    Note:These are the errors that are pooping out 265 times but the file directory(C:\Users\Ahmed\Desktop\T's\The-Powder-Toy-master\The-Powder-Toy-master\src\graphics\Graphics.cpp ,Ect)is allways diffrent.

  • Fast-Driver
    15th Jul 2013 Member 0 Permalink

    @hamada (View Post)

    Did you run generator.py? Also, make sure your include and library paths are correct.

  • boxmein
    15th Jul 2013 Former Staff 0 Permalink
    1) You have missing libraries (zlib, dirent, bzlib, lua, regex)
    2) You haven't run generator.py

    And yes, the file is different because each file depends on some set of libraries and if it's missing then you'll get errors compiling every file.
  • GreenFireDragon
    15th Jul 2013 Member 0 Permalink

    I get that error a lot of times but the next day it's suddenly gone, I don't know what's wrong.

  • boxmein
    15th Jul 2013 Former Staff 1 Permalink
    What to do however:
    1) Check that you have the library headers in some subfolder
    2) Check that you have them included in the vcxproject (see the tutorial for that)
    3) Run generator.py
  • hamada
    16th Jul 2013 Member 0 Permalink

    1) Check that you have the library headers in some subfolder

    checked they are here

    2) Check that you have them included in the vcxproject (see the tutorial for that) 

    done that
    3) Run generator.py

    did it still 256 errors

     

     

     

     

    EDIT:any answers

     

     

     

     

    EDIT:still waiting

     

     

     

     

    Edit:i found something

  • mniip
    16th Jul 2013 Developer 0 Permalink
    1) don't use python 3.x, i beleive it's explicitly stated on wiki page
  • greymatter
    16th Jul 2013 Member 0 Permalink
    @hamada (View Post)
    Your python is too new.
    Dont use the latest python version. Use python 2.7.
    I use this.
  • hamada
    16th Jul 2013 Member 0 Permalink

    still got errors now i have 276 errors and the new ones are:

     

    8 IntelliSense: cannot open source file "fftw3.h" 

    10 IntelliSense: cannot open source file "pthread.h" 

    6 IntelliSense: identifier "pthread_t" is undefined 
    2 IntelliSense: identifier "pthread_mutex_t" is undefined 
    3 IntelliSense: identifier "pthread_mutex_t" is undefined 
    4 IntelliSense: identifier "pthread_mutex_t" is undefined 
    5 IntelliSense: identifier "pthread_mutex_t" is undefined 
    11 IntelliSense: cannot open source file "SDL.h" 
    1 IntelliSense: cannot open source file "pthread.h" 
    7 IntelliSense: cannot open source file "pthread.h
    9 IntelliSense: cannot open source file "pthread.h"