mbsim-env / mbsim

A multi-body simulation software
https://www.mbsim-env.de
GNU Lesser General Public License v2.1
44 stars 18 forks source link

I can't compile this project in linux using the autotool #52

Open damengziuu opened 2 weeks ago

damengziuu commented 2 weeks ago

Who can hele me ?

ms2git commented 2 weeks ago

Can you please give some more information? (e.g. error-message, previous steps, autotool version, ...)

damengziuu commented 1 week ago

Can you please give some more information? (e.g. error-message, previous steps, autotool version, ...) using this shell : aclocal autoheader libtoolize -c --force autoconf automake -a -c --force the picture: image

i don't konw what means? And I can't using make in this directory~?

foerg commented 1 week ago

It seems to be okay. What is the output in the terminal when you type in make? Of course, you need to configure mbsim before compilation, for example with ./configure --prefix=/home/username/install/ The path /home/username/install/ is your individual installation path.

damengziuu commented 2 days ago

It seems to be okay. What is the output in the terminal when you type in make? Of course, you need to configure mbsim before compilation, for example with ./configure --prefix=/home/username/install/ The path /home/username/install/ is your individual installation path.

thanks your reply. But i can't compile it.When I compile kernel module,it tells me ,I need hdf5serive library.

image image

I had compile the fmatvec. But,I compile the hdf5serive project, it display i ignore the hdf5.h

image

It's difficult to compile this library.!

foerg commented 2 days ago

Do you have hdf5 installed on your system? The hdf5 package should be available in your Linux distribution. Alternatively, you can download the package from https://www.hdfgroup.org.

friedrichatgc commented 2 days ago

MBSim has a lot of dependencies. That makes it difficult to build. Please first consider to use a prebuild release instead of building ourself. If building is really needed stick to the build order shown e.g. by https://www.mbsim-env.de/builds/run/current/linux64-dailydebug/master/master/master/master/ (Tools). But I highly recommend not to build by ourself if you are not very familiar with Autotools.

damengziuu commented 20 hours ago

Do you have hdf5 installed on your system? The hdf5 package should be available in your Linux distribution. Alternatively, you can download the package from https://www.hdfgroup.org.

Thank you for your reply. On my linux system, I have libhdf5-dev installed, but this is obviously not what I need. I will use this advice to compile. https://github.com/mbsim-env/mbsim/issues/52#issuecomment-2470661159

damengziuu commented 20 hours ago

MBSim has a lot of dependencies. That makes it difficult to build. Please first consider to use a prebuild release instead of building ourself. If building is really needed stick to the build order shown e.g. by https://www.mbsim-env.de/builds/run/current/linux64-dailydebug/master/master/master/master/ (Tools). But I highly recommend not to build by ourself if you are not very familiar with Autotools.

Thanks for your reply, I will try to compile again.