Skip to content

The build instructions are out of date #114

@martin-g

Description

@martin-g

Hello,

I am trying to build https://github.com/OpenCMISS/iron.
Its README points to these build instructions - https://github.com/OpenCMISS/manage/raw/v1.0/OpenCMISSBuildEnvironment.docx.pdf
(The below is valid also for http://opencmiss.org/documentation/cmake/docs/build/index.html > Build on Linux)

To build on Linux the steps are:

Building on Linux
Default steps for Users (terminal/command line):
1. Create the OPENCMISS_ROOT folder somewhere and enter it
2. Clone the setup git repo into that folder via
git clone https://github.com/OpenCMISS/manage
or
Fetch and extract the zipped sources there and extract them into the
OPENCMISS_ROOT/manage folder.
3. Enter the OPENCMISS_ROOT/manage/build folder
4. Type “cmake ..”
...

My first confusion is: Why the document explains how to build manage project instead of iron ?! Is manage v2 of iron ?

Second question: The instructions say "Enter manage/build folder" but there is no such folder (https://github.com/OpenCMISS/manage/tree/develop/build -> error 404). Maybe the documentation should say "create manage/build folder and navigate to it" ?!

Anyway, following the steps leads to this error:

.../manage/build$ cmake .. 
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 11.3.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /bin/gfortran - skipped
CMake Error at CMakeLists.txt:104 (message):
  
  '/home/martin/git/install/share/cmake/Modules/OpenCMISS/OCArchitecturePathFunctions.cmake'
  does not exist.  The OpenCMISS CMake modules may not be
  installed/available.


-- Configuring incomplete, errors occurred!
See also "/home/martin/git/iron/manage/build/CMakeFiles/CMakeOutput.log".

And indeed OCArchitecturePathFunctions.cmake is not available at that location. I'd pass -DOPENCMISS_ROOT=... but I cannot find OCArchitecturePathFunctions.cmake neither in manage project, nor in iron, zinc or setup projects.

Any hints what should be the correct build steps ?

Thank you!

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