cbernardo / libIGES

Implementation of the IGESv5.3 specification
http://cbernardo.github.io/libIGES
GNU Lesser General Public License v2.1
58 stars 18 forks source link

Patch step for 'sisl' fails, missing patch #5

Closed nickoe closed 9 years ago

nickoe commented 9 years ago

The patch step for 'sisl' fails because the libIGES/src/patches/sisl.patch is missing

nickoe commented 9 years ago

If that patch is to make sisl build as a shared lib, I think one could pass -DBUILD_SHARED_LIBS=true to cmake when building sisl. I have not tested this though. This seems to work.

ilockerstien commented 9 years ago

I'm a noob at make files but I tried 'sudo cmake -DBUILD_SHARED_LIBS=true' followed by 'make'. This didn't work for me. Did I follow your suggestion correctly? Should I have edited something to remove references to the patches directory?

nickoe commented 9 years ago

That is not correct. You should not use sudo on cmake, it should be run by the user. Only the make install should be run as the root user, that is if you need to where it installs to the system files.

Try:

git clean -fdx
git pull
mkdir build
cd build
cmake ../src
make