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

Compilation problems

Compilation problems

When I use the guide from github to build my openmodelica,it has some problems.
when I run "sudo apt-get build-dep openmodelica" this code,the system shows "Unable to find a source package for openmodelica"
whats the problems?
I use two different systems it has the same.

Ubuntu 16 and 20

Re: Compilation problems

Which deb-src lines does your system use?

Re: Compilation problems

echo Linux name: `lsb_release --short --codename`
echo deb http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
echo deb-src http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep openmodelica
git clone --recursive https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica
cd OpenModelica
autoconf
./configure --with-cppruntime
make -j4

Re: Compilation problems

when I run “sudo apt-get build-dep openmodelica”this code it has problem

Re: Compilation problems

Hmm.... All of our source entries seem to be empty. I wonder when that happened. Probably when the OS was upgraded a month or so ago.

The control file is here: https://github.com/OpenModelica/OpenMod … an/control
And you can create a package for the dependencies: https://stackoverflow.com/questions/174 … ntrol-file

I'm not sure when we would have time to fix this.

Re: Compilation problems

ok....fine  thank you

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