Changes between Initial Version and Version 1 of Ticket #3232


Ignore:
Timestamp:
2015-03-18T19:16:40Z (10 years ago)
Author:
Rüdiger Franke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3232 – Description

    initial v1  
    11Attempting to compile a model with `+simCodeTarget=Cpp`, the compiler fails as it does not find `umfpack.h`. This is because an include path in `/usr/include/omc/cpp/ModelicaConfig.inc` is wrong. It works with the following patch:
    22{{{#!diff
    3 --- ModelicaConfig.inc  2015-03-18 19:24:04.898611476 +0100
    4 +++ ModelicaConfig.inc~ 2015-03-18 02:37:41.000000000 +0100
     3--- ModelicaConfig.inc~ 2015-03-18 02:37:41.000000000 +0100
     4+++ ModelicaConfig.inc  2015-03-18 19:24:04.898611476 +0100
    55@@ -13,7 +13,7 @@
    66 LAPACK_LIBS =  /usr/lib/liblapack.so /usr/lib/libblas.so
    77 UMFPACK_LIBS =  /home/build/tmp/build/openmodelica-25132/build/lib/omc/libumfpack.a /usr/lib/libblas.so /home/build/tmp/build/openmodelica-25132/build/lib/omc/libamd.a
    88 
    9 -SUITESPARSE_INCLUDE = /usr/include/suitesparse
    10 +SUITESPARSE_INCLUDE = /home/build/tmp/build/openmodelica-25132/build/include/omc/c/suitesparse/Include
     9-SUITESPARSE_INCLUDE = /home/build/tmp/build/openmodelica-25132/build/include/omc/c/suitesparse/Include
     10+SUITESPARSE_INCLUDE = /usr/include/suitesparse
    1111 
    1212 INTEL_TBB_LIBS =