VC++ build error

  • wes12321
    18th Oct 2012 Member 0 Permalink
    when i created a new build without any changes to the code given in the tutorial, my build developed a fatal error, 1>src\gravity.c(26): fatal error C1083: Cannot open include file: 'fftw3.h': No such file or directory can someone help me? Pastebin-- http://pastebin.com/FTRpJUfu
  • jacob1
    18th Oct 2012 Developer 0 Permalink
    Do you have the gravfftw3 library? If not, you shouldn't define GRAVFFT. I know the visual studio tutorial includes the link to that library, i'm not sure about the other tutorials. Edit: Code::blocks has the link to that too. Did you link the libraries right and follow every step?

    Also, there is a newer version of tpt, tpt++. You are compiling the old one. It might be harder to get the new one to compile at the moment though, there is no tutorial yet.
  • cyberdragon442
    18th Oct 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    18th Oct 2012 Developer 0 Permalink
    @cyberdragon442 (View Post)
    he's compiling normal tpt, which has no errors or problems if you do it right. I don't know what you did wrong, but it should have worked. Maybe you compiled at a time when there were errors
  • wes12321
    18th Oct 2012 Member 0 Permalink

    @jacob1 (View Post)

    the a swer to your first question is yes, i followed the steps EXACTLY as they are listed on the wiki page

     

    for your comment, well, you see, i have once compiled an older version, i think it was 80.5 or something like that, and it worked fine except the diamond would melt, and i couldnt figure out why, so i redid the entire thing, downloaded the newer files and all that, and the first time i went to build, it seemed like it would work, then i got that fatal error and it didnt even open tpt like it had for the older version

  • jacob1
    18th Oct 2012 Developer 0 Permalink
    @wes12321 (View Post)
    ok, just don't define GRAVFFT (or get gravfft somehow) and it should work