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
  • Index
  • » Users
  • » tian
  • » Profile

Posts

Posts

Jan-10-16 18:18:14
Couldn't compile OpenModelica on ALT Linux
Category: Developer

I don't know the answer to that. For a minimal setup of OpenModelica  you can do something like

Code:


git clone --depth=1 https://github.com/OpenModelica/OMCompiler.git OMC
git clone --depth=1 https://github.com/OpenModelica/OpenModelica-common.git OMC/common
git clone --depth=1 https://github.com/OpenModelica/OMCompiler-3rdParty.git OMC/3rdParty
git clone --depth=1 https://github.com/OpenModelica/OMShell.git OMShell
git clone --depth=1 https://github.com/OpenModelica/OpenModelica-common.git OMShell/common

and then in  OMC and OMShell

Code:


autoconf
./configure
make
sudo make install

You might need to set LD_LIBRARY_PATH.

Did you eventually succeed?

I just had a clean compilation on openSUSE 64bit Tumbleweed. Try vanilla configure and make first.
In order to use clang, an error in configure.in needs to be fixed.
You might also pass "CXX=clang++" to the configuration script.

  • Index
  • » Users
  • » tian
  • » Profile
You are here: