help with my mod

  • Awes0me
    4th Nov 2012 Member 0 Permalink

    I am working on a mod I followed the wiki and I got

    ElementClasses.cpp
    1>c:\users\zer0\desktop\source code\generated\ElementClasses.h(6): fatal error C1083: Cannot open include file: 'simulation/Element.h': No such file or directory
    1> ToolClasses.cpp
    1>c:\users\zer0\desktop\source code\generated\ToolClasses.h(4): fatal error C1083: Cannot open include file: 'simulation/Tools.h': No such file or directory
    1> Generating Code...

  • a-person
    5th Nov 2012 Member 0 Permalink

    I got this error as well.

  • jacob1
    5th Nov 2012 Developer 0 Permalink
    I remember seeing people with this error before. So, you are using visual studio? Did you follow my tpt++ guide? You need to add /src as an includes directory. In tpt, all you needed was /includes, but in tpt++, you need to add all of these plus /generated and /data
  • a-person
    7th Nov 2012 Member 0 Permalink

    Hi, jacob1,

    I am using visual studio. i have followed your guide to the letter and added all that was required but it still came up with the error I even tried redoing the project and came up with the same error.

    am going to retry.

    don't know about the other person

    a-person.

    p.s the folders that were required to download don't have a tptlibrary folder.

  • jacob1
    7th Nov 2012 Developer 0 Permalink
    @a-person (View Post)
    ok, the guide isn't perfect yet, and won't even work once a new element is made. I think Fast-Driver might have had that problem, I will have to ask. I thought adding /src as a include directory would fix it, but maybe not.
  • AranuirDunadan
    9th Nov 2012 Member 0 Permalink

    Hi everyone,

     

    I've just got the same error:

     

    c:\(user)\tpt-src\generated\ElementClasses.h(6): fatal error C1083: Cannot open include file: 'simulation/Element.h': No such file or directory
      ToolClasses.cpp
    c:\(user)\tpt-src\generated\ToolClasses.h(4): fatal error C1083: Cannot open include file: 'simulation/Tools.h': No such file or directory

     

    Any help would be appreciated.

     

    Thanks

  • some-one
    26th Nov 2012 Member 0 Permalink

    I think the problem and i realy dont know but it seems thet there are some files missing from the download files. if if anyone has these file could they please post a link to them.

    thanks