PSOPT / psopt

PSOPT Optimal Control Software
GNU Lesser General Public License v2.1
193 stars 75 forks source link

No rule to make target '../../lib/libpsopt.a', needed by '*' #12

Open Arflognir opened 4 years ago

Arflognir commented 4 years ago

Whenever I try to compile one of the examples using the make command (e.g. make bioreactor), I receive the error "No rule to make target '../../lib/libpsopt.a', needed by 'name of file' Stop."

error

vmbecerra commented 4 years ago

Hello

It looks as if your PSOPT installation failed as you are missing the library file 'libpsopt.a' which is normally generated during the build process.

I suggest you cd to the folder PSOPT/lib and in there run 'make all' and see any error messages.

Make sure that you are using Ubunto 18.04 (20.04 also works with minor modifications to the make files) and that you downloaded the latest release, which is PSOPT 4.01, from Github.

Regards

Victor Becerra

On Mon, 8 Jun 2020 at 13:39, Arflognir notifications@github.com wrote:

Whenever I try to compile one of the examples using the make command (e.g. make bioreactor), I receive the error "No rule to make target '../../lib/libpsopt.a', needed by 'name of file' Stop." [image: error] https://user-images.githubusercontent.com/66625226/84031310-bc253e00-a995-11ea-8d48-38148fdd43db.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PSOPT/psopt/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGCMBIBZXPZSJF5ISLXFK3RVTLWNANCNFSM4NYLZWAA .

Arflognir commented 4 years ago

Sorry to bother you again, but I'm not that good in using Linux (even if my part-time job at my university often requires it). I've downloaded the PSOPT 4.01 and tried "sh install-ubuntu-18.04.sh". Now it ends up with the following error:

DMatrix_Error

Currently I'm using Linux Mint 19.3

vmbecerra commented 4 years ago

Hello

PSOPT has not been proved to work with Linux Mint (even if Mint is based on Ubuntu). It may work after a few changes to the installation script or Makefiles, but if you don't want to do that you will need to install Ubuntu 18.04.

Best regards

Victor.

On Thu, 11 Jun 2020 at 10:26, Arflognir notifications@github.com wrote:

Sorry to bother you again, but I'm not that good in using Linux (even if my part-time job at my university often requires it). I've downloaded the PSOPT 4.01 and tried "sh install-ubuntu-18.04.sh". Now it ends up with the following error:

[image: DMatrix_Error] https://user-images.githubusercontent.com/66625226/84368690-2e846100-abd6-11ea-8dfd-2cccf38f7a33.jpg

Currently I'm using Linux Mint 19.3

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PSOPT/psopt/issues/12#issuecomment-642528699, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGCMBPU3URILT3HTLZ34WLRWCPKXANCNFSM4NYLZWAA .