Opened 7 years ago

Closed 7 years ago

#4934 closed defect (worksforme)

Problem during OpenModelica compilation

Reported by: nboldi@… Owned by: somebody
Priority: high Milestone: never
Component: Build Environment Version:
Keywords: Cc:

Description

I'm trying to follow the compilation tutorial found here: https://github.com/OpenModelica/OpenModelica

I installed the requirements, ran automake and the configure script. However, the make files are not generated.

I copied the contents of OpenModelica-commons to a folder named commons in the OpenModelica directory (otherwise files were missing).

Output:

./configure CC=clang CXX=clang++
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
ln: failed to create symbolic link '.git/hooks/pre-commit': File exists
configure: OpenModelica commit-msg hook has been installed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
build_short: x86_64-linux-gnu
host_short: x86_64-linux-gnu
checking if cppruntime is requested... no
checking for omlibrary target... core
checking for libraries directory... configure: error: no

make -j8
make: *** No targets specified and no makefile found.  Stop.

Change History (1)

comment:1 by Martin Sjölund, 7 years ago

Component: *unknown*Build Environment
Milestone: Futurenever
Resolution: worksforme
Status: newclosed

You didn't check out the whole project (git clone --recursive https://github.com/OpenModelica/OpenModelica or using git submodule init && git submodule update && ...

Note: See TracTickets for help on using tickets.