Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OpenModelica 1.9 Beta Compilation Fails on Fedora 17

OpenModelica 1.9 Beta Compilation Fails on Fedora 17

make omc fails due to missing file 3rdParty/FMIL/src/Util/include/JM/jm_xml_callbacks.h

Code:


test -d 3rdParty/FMIL
mkdir -p 3rdParty/FMIL/build
(cd 3rdParty/FMIL/build && test -f Makefile || cmake -D FMILIB_BUILD_SHARED_LIB:Bool=OFF -D FMILIB_BUILD_TESTS:Bool=OFF -D FMILIB_GENERATE_DOXYGEN_DOC:Bool=OFF -DCMAKE_COLOR_MAKEFILE:Bool=OFF -DFMILIB_INSTALL_PREFIX:String=../install .. -G "Unix Makefiles")
test -f 3rdParty/FMIL/build/libfmilib.a || make -C 3rdParty/FMIL/build
make[1]: Entering directory `/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build'
-- will be merging /srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libfmiimport.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libjmutils.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libfmixml.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libfmizip.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libfmicapi.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/ExpatEx/./libexpat.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/Config.cmake/Minizip/libminizip.a;/srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/zlib/libz.a
-- outfile location is /srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/build/libfmilib.a
-- Configuring done
CMake Error at Config.cmake/jmutil.cmake:57 (add_library):
  Cannot find source file:

    /srv/scratch1/sources/OPENMODELICA_1_9_0_BETA/3rdParty/FMIL/src/Util/include/JM/jm_xml_callbacks.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  CMakeLists.txt:174 (include)

Re: OpenModelica 1.9 Beta Compilation Fails on Fedora 17

Do you have any environment variables from the jmodelica build process set? Because there are no references to that file in our sources, so the only way you try to build it is if you have added it yourself.

There are 0 guests and 0 other users also viewing this topic
You are here: