xcfem / xc

finite element analysis package for civil engineering structures.
http://www.xcengineering.xyz/html_files/software.html
GNU General Public License v3.0
266 stars 54 forks source link

compile error: "/usr/bin/vtkParseOGLExt-7.1" does not exist #97

Closed ebrahimraeyat closed 3 years ago

ebrahimraeyat commented 3 years ago

Hello @lcpt . How are you? I wanted to install xcfem on windows 10. I have installed Ubuntu 20.04 in wsl. but when I want to compile xc it gives me this error:

-- xc lib dir: /home/ebrahim/xc/build_xc/xc/lib
-- ************* find packages begins ****************
-- The imported target "vtkParseOGLExt" references the file
   "/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.

I searched about that and found that it is a bug that also you mentioned in FreeCAD forum :

https://bugs.launchpad.net/ubuntu/+source/vtk7/+bug/1878103

thanks

lcpt commented 3 years ago

Hi, @ebrahimraeyat. I'm fine, thanks.

This error occurs when you launch CMake, isn't it?

I've searched in my Ubuntu 20.04, and I don't have that file either, but I can compile xc just fine. I don't know why, but CMake always complains about some missing files that you don't really need (at least to make xc work).

Furthermore, I get the same error (and three others very similar) in my machine and, as I said before, xc compiles and runs smoothly.

So don't worry about it.