Skip to content

Unable to compile on Ubuntu 10.04 LTS 32 bit #16

@Mooselake

Description

@Mooselake

This is the version on the EMC2 install CD. A rebuild from source is required since only 64 bit binaries are on google code.

INSTALL_UBUNTU.sh creates a complete second copy of the source (/home/kirk/heekscad/heekscad on my system), then fails after several errors. Excerpts from the build:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FTGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/kirk/heekscad/heekscad/heekscnc/oce/adm/cmake/TKOpenGl
FTGL_LIBRARY (ADVANCED)
linked by target "TKOpenGl" in directory /home/kirk/heekscad/heekscad/heekscnc/oce/adm/cmake/TKOpenGl

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

Lots of these:

CMake Warning at CMakeLists.txt:26 (find_package):
Could not find module FindOCE.cmake or a configuration file for package
OCE.

Adjust CMAKE_MODULE_PATH to find FindOCE.cmake or set OCE_DIR to the
directory containing a CMake configuration file for OCE. The file will
have one of the following names:

OCEConfig.cmake
oce-config.cmake

Fatal error in OCE:

cc1plus: warnings being treated as errors
/home/kirk/heekscad/heekscad/heekscnc/opencamlib/src/algo/simple_weave.cpp: In member function ‘void ocl::weave::SimpleWeave::add_int_vertex(const ocl::Point&, void_&, void_&, void_&, void_&, ocl::Interval&, ocl::Interval&)’:

/home/kirk/heekscad/heekscad/heekscnc/opencamlib/src/algo/simple_weave.cpp:178: error: ‘ye_ul_prev.boost::detail::edge_desc_impl<boost::bidirectional_tag, void*>::.boost::detail::edge_base<boost::bidirectional_tag, void*>::m_target’ may be used uninitialized in this function
make[2]: *** [algo/CMakeFiles/ocl_algo.dir/simple_weave.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [algo/CMakeFiles/ocl_algo.dir/all] Error 2
make: *** [all] Error 2
dpkg: error processing opencamlib__.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
opencamlib__.deb

..... then the compile quits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions