You are not logged in.

#1 2011-05-30 21:22:58

Registered: 2011-05-30
Posts: 1

cmake and arch library directories


I have been trying to compile a program called Heekscad and am getting some errors
The program requires a library called opencascade. I installed this library from AUR
and pacman installed the library into /opt/opencascade. Im not entirely sure why it installed
it into /opt because I thought all libraries went into  /usr/lib but I don't really know how it

Anyway ran the cmake with

cmake  CASROOT=/opt/opencascade .

and got the following

CMake Error at cmake/Modules/FindOpenCASCADE.cmake:64 (MESSAGE):
  Cannot find TKernel.  Is it spelled correctly? Correct capitalization? Do
  you have another package with similarly-named libraries, installed at
  OpenCASCADE_LINK_DIRECTORY-NOTFOUND? (That is where this script thinks the
  OCC libs are.)
Call Stack (most recent call first):
  CMakeLists.txt:13 (find_package)

-- Configuring incomplete, errors occurred!

The line that produces the error in the CmakeLists.txt is:

find_package ( OpenCASCADE REQUIRED COMPONENTS TKernel )

Could someone maybe point me in the right direction of what I have done wrong, I have already
tried linking the library in  /opt with a new directory in /usr/lib but no sucess

All help appreciated



#2 2011-05-30 21:30:17

Registered: 2009-05-06
Posts: 25,433

Re: cmake and arch library directories

Have you read the comments ?

Last edited by karol (2011-05-30 21:30:28)


#3 2011-05-30 23:15:16

From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,629

Re: cmake and arch library directories

Are you using aur/heekscad-svn If so, see karol's link
If not, is there a reason?

It has been suggested that the Newbie sub-forum is not the correct category for this question.  If it is an issue of learning AUR, I'll leave it here.  If it morphs into an analysis of changing the package over to cmake, I'll move it.

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
How to Ask Questions the Smart Way


Board footer

Powered by FluxBB