Compiling problem

imcimc
edited September 2016 in DualSPHysics_v4.0
Hi everyone,

When trying to compile to produce the DualSPHysics4CPU_linux, I got several issues like this:

"JSaveDt.o: In function `JSaveDt::ReadXml(JXml*, TiXmlElement*)':
JSaveDt.cpp:(.text+0x367): undefined reference to `JXml::GetFirstElement(TiXmlNode const*, std::__cxx11::basic_string, std::allocator > const&, bool) const'
JSaveDt.cpp:(.text+0x385): undefined reference to `JXml::GetAttributeDouble(TiXmlElement*, std::__cxx11::basic_string, std::allocator > const&, bool, double) const'"

Now I have not made any modification, does anyone knows what could be the problem?
My c++ compiler is v 5.4, and I just wanted to compile for CPU.

Thank you in advance.

Comments

  • Problem solved,

    It was the g++ version. It should be v 4.9.

    Thanks anyway.

Sign In or Register to comment.