Hello,
I'm trying to install a new version of simvascular/svsolver on a linux server with Ubuntu 16.04. I have tried using the quick install using the github repo suggestion to source "quick-build-linux.sh" in the BuildWithMake folder and I get the following error!
/usr/bin/ld: cannot find -lGLEW
collect2: error: ld returned 1 exit status
Makefile:68: recipe for target '../../../../BuildWithMake/Bin/svpost-gcc-gfortran.exe' failed
make[3]: *** [../../../../BuildWithMake/Bin/svpost-gcc-gfortran.exe] Error 1
make[3]: Leaving directory '/home/peslami/SimVNew/svsolver/Code/FlowSolvers/ThreeDSolver/svPost'
Makefile:87: recipe for target 'shared' failed
make[2]: *** [shared] Error 2
make[2]: Leaving directory '/home/peslami/SimVNew/svsolver/Code/FlowSolvers/ThreeDSolver'
Makefile:152: recipe for target 'exec-shared-build' failed
make[1]: *** [exec-shared-build] Error 2
make[1]: Leaving directory '/home/peslami/SimVNew/svsolver/BuildWithMake'
Makefile:44: recipe for target 'fast' failed
make: *** [fast] Error 2
However when I try to use cmake based on the suggestions here (http://simvascular.github.io/docsCompil ... SetupLinux) when I run "ccmake .." it says that I am using a older version of cmake which is not true because I have updated my version to 3.16 and when I type in "cmake --version" it shows the correct version.
could you please let me know how to fix this?
Thank you!
Parastou
installing Simvascular/svsolver on a linux server
- Parastou Eslami
- Posts: 10
- Joined: Mon Nov 07, 2016 2:16 pm
- David Parker
- Posts: 1747
- Joined: Tue Aug 23, 2005 2:43 pm
Re: installing Simvascular/svsolver on a linux server
Hi Parastou,
I just build svSolver on Ubuntu 16.04 no problem.
The instructions on the web page are a bit out of data. You just need to
You can also download an Ubuntu svSolver installer from https://simtk.org/projects/simvascular. Do you really need the latest version? If so then I can build you an installer.
Cheers,
Dave
I just build svSolver on Ubuntu 16.04 no problem.
The instructions on the web page are a bit out of data. You just need to
Code: Select all
$ git clone https://github.com/SimVascular/svSolver.git
$ mkdir svsolver-build
$ cd svsolver-build
$ ccmake ../svSolver
$ make
Cheers,
Dave
- Nathan Wilson
- Posts: 46
- Joined: Tue Jun 20, 2006 9:19 am
Re: installing Simvascular/svsolver on a linux server
Hello Parastou,
The Make build issue was that your system doesn't have GLEW (since it's the server version of the OS). That isn't necessary to link VTK for the solver. I've deleted the unneeded libraries from the link line so svsolver hopefully now builds without error using the make build and the quick-build-linux.sh script. You need to merge the update changes in master to your copy if you want to use the update.
Nathan
SimVascular Support Team
The Make build issue was that your system doesn't have GLEW (since it's the server version of the OS). That isn't necessary to link VTK for the solver. I've deleted the unneeded libraries from the link line so svsolver hopefully now builds without error using the make build and the quick-build-linux.sh script. You need to merge the update changes in master to your copy if you want to use the update.
Nathan
SimVascular Support Team