MoDeNa-EUProject / MoDeNa

Software Framework for MOdelling of morphology DEvelopment of micro- and NAnostructures (MoDeNa)
17 stars 19 forks source link

Error in fson #131

Closed mehdiataei closed 7 years ago

mehdiataei commented 7 years ago

CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!

solution: add:

enable_language(Fortran) get_filename_component (Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME)

However even after adding this another problem exists that I could not solve:

configure_file attempted to configure a file: /home/mehdi/fson/src/libfson.pc into a source directory.

-- Configuring incomplete, errors occurred!

japaf commented 7 years ago

fson and bspline libraries changed installation paths and models in master branch were not updated. Try merging #132, and then build the models.

mehdiataei commented 7 years ago

It did not solve the problem. The problem is fson cannot be installed.

CMake Error at src/CMakeLists.txt:10 (configure_file): configure_file attempted to configure a file: /home/mehdi/fson/src/libfson.pc into a source directory.

-- Configuring incomplete, errors occurred! See also "/home/mehdi/fson/CMakeFiles/CMakeOutput.log".

mehdiataei commented 7 years ago

FYI, I am using

mkdir build; cd build +cmake .. +cmake --build . +cmake --build . --target install

installation guide.

japaf commented 7 years ago

@mehdiataei Yes, that is the correct installation procedure.