xcfem/xc

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

Closed this issue · 1 comments

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

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.