ToVTK compilation error

edited August 2014 in Old versions
Hi,

When I compile using the Makefile in the "ToVTK" folder, I get errors related to "libjcreatevtk_64.a". Is there any problem with this library or the source files provided ?.

Once successfully compiled, how can the ToVTK binary be used ?. I saw very limited info on this in the user guide.

Thanx,

Best Regards,
Sunil

Comments

  • We have checked the compilation for win64 and linux64 and everything works fine. You do not need the source of the precompiled libjcreatevtk_64.a.
    If you still have problems, they will be related with your architecture.

    ToVTK is just a program to convert the output binary files of DualSPHysics into VTK or CSV with the changes you want or to add new magnitudes you need. Executing the code, the help displays the information about parameters you can use.

    Regards
  • edited September 2016
    Sunil, I had a similar problem. I was able to compile with gcc / g++ 4.8, but I wasn't able to compile once upgrading to gcc / g++ 5.0. To fix this, I changed line 2 ToVtk's Makefile to read:

    CC=g++-4.8

    which makes it use the older version of g++. After that, ToVtk compiled fine.

    Best of luck!
  • Thanks NWRichmond for your post!!!
Sign In or Register to comment.