You are not logged in.

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

northlondon
Member
Registered: 2011-05-30
Posts: 1

cmake and arch library directories

Hi

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
works

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

Nick

Offline

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

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cmake and arch library directories

Have you read the comments http://aur.archlinux.org/packages.php?ID=35171 ?

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

Offline

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

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

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
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB