OpenCMISS / manage

The main project for CMake-based OpenCMISS builds
Apache License 2.0
3 stars 15 forks source link

Urgent: OpenCMISS C and Fortran examples do not build #79

Open PrasadBabarendaGamage opened 7 years ago

PrasadBabarendaGamage commented 7 years ago

OpenCMISS libraries build currently does not create the opencmisslibs.cmake file. This prevents C or Fortran examples being created unless you tell the compiler where the OpenCMISS libraries are located.

Additional information to follow.

hsorby commented 7 years ago

Without this file you can set the target link libraries property with the full path to the library or libraries required. Additionally if you set the target include property with the full path to the header files location then this will enable the linking of the OpenCMISS libraries to a C or Fortran example. This is essentially what happens when using the file.

chrispbradley commented 7 years ago

This is an urgent problem and needs to be properly fixed. At the moment it is not possible to build examples "out of the box". This is likely to cause significant problems to anybody that is trying out OpenCMISS. Manual specification of the link libraries and include paths is not a very good work around as there are likely to be people that do not have sufficient knowledge of CMake to write their own CMake and/or could put people off OpenCMISS permanately. This is absolutely urgent and the highest priority.