morrissowards / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

Could not find Module FindOCE.cmake errors #383

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Attempting to compile heekscad
2.
3.

What is the expected output? What do you see instead?
No error and proper compiling
I get an error:
"At revision 1536
CMake warning at CMakeLists.text:26 (find_package):
  Could not find Module FindOCE.cmake or a configuration file for package OCE."

I get the same error compiling heekscnc that says 
"At revision 1398
CMake warning at CMakelists.text.24 (find_package)......"

What version of the product are you using? On what operating system?
heekscad 0.22.0 on Ubuntu 10.04 that comes with the latest LinuxCNC 
installation disk

Please provide any additional information below.
I have a file ~/heekscad/cmake/Modules/FindOPENCASCADE.cmake.
I have made a copy of it in same directory and named it FindOCE.cmake
I have checked in the CMakeList.txt for the line to set CMAKE_MODULE_PATH, and 
it reads:
set (CMAKE_MODULES_PATH ${CMAKE_MODULE_PATH} 
"{CMAKE_SOURCE_DIR}/cmake/Modules/" )
I am running a script that I got from 
code.google.com/p/heekscad/wiki/BuildWithCmakeOnUbuntu.
I also get an error compiling heekscnc that reads:
CMake Error in src/CMakelists.txt:
 Cannot find source file "Attach0p.cpp" ....
This leads to an error "No rule to make Target `src/Attach0p' "

Other than some duplicate definition warnings, these seem to be the only 
errors, the rest of the packages compile just fine (apparently).

Original issue reported on code.google.com by BruceLy...@gmail.com on 28 Nov 2013 at 3:03

GoogleCodeExporter commented 8 years ago
Builds under Linux or more precisely Debian and Ubuntu have been recently 
improved.

You can find all relevant information in 
https://code.google.com/p/heekscad/wiki/HeeksCncUnderUbuntu

Original comment by neomil...@gmail.com on 29 Jun 2014 at 6:38