Comments (6)
from sift3d.
Hi,
I got libofstd.a in /usr/lib/libofstd.a and /usr/local/lib/libofstd.a. I have installed DCMTK 3.6.2, the latest version, but I do not know how to build it as shared libraries.
Thanks again for your kindly reply.
from sift3d.
Try setting the variable BUILD_SHARED_LIBS=ON in your Cmake configuration for DCMTK. That should compile .so files instead of .a
from sift3d.
Thank you! I recompiled DCMTK by setting BUILD_SHARED_LIBS=ON and it succeeded!
However, another error happened when I call regSift3D.
ljy@user:~/Projects/SIFT3D-master/build/bin$ regSift3D --help
regSift3D: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib/sift3d/libsift3D.so)
My OS is Ubuntu 14.04. I attempted to install glibc_2.27, but it seems that glibc_2.27 can only run in Ubuntu 18 or higher version.
Can you help me?
Thanks a lot.
from sift3d.
Glad to hear we are making progress.
I have seen that error before when the C++ compiler for SIFT3D does not match the version used for libm. Have you installed a newer version of GCC than the one that comes with Ubuntu 14.04? One way to fix this is to downgrade to the default GCC. You can also upgrade your Ubuntu to 18.
This error probably won't occur in Matlab since it comes with its own versions of those core libraries. (But the same issue can result if Matlab doesn't support the GCC used for SIFT3D.)
from sift3d.
Hi,
Yes, the cause of the problem is the version of GCC. The following is my solution of this problem.
The version of my gcc is 5.5. So I downgrade it to 4.9.
I installed gcc-4.9 by the following commands:
sudo apt-get install gcc-4.9
sudo apt-get install g++-4.9
The installed gcc is in /usr/bin/, then I changed the setting before cmaking CMakeLists.txt:
export CC=/usr/bin/gcc-4.9
export CXX=/usr/bin/g++-4.9
Currently, I do not need to use Matlab. So I do know what will happen if I use Matlab.
All in all, thank you very much for your kind reply!
from sift3d.
Related Issues (20)
- don't assume slice thickness == slice spacing HOT 1
- changing certain parameters invalidates Gaussian pyramid HOT 1
- Usage with videos? HOT 15
- Adjust the coordinates to the base octave HOT 2
- How rotation matrix is computed? HOT 4
- function "rand_rows" HOT 2
- build error on Ubuntu 14.04 HOT 1
- Usage in Visual Studio,Windows with C
- coordinate values is partly different between keypoints file and Descriptor file HOT 2
- SIFT3D can run on win7 64,but can't run on win10 64? HOT 1
- Do you have the code to compile in Python? HOT 2
- document CSV files HOT 4
- Accurate keypoint localization HOT 2
- General questions about SIFT3D outputs and usage HOT 2
- Would SIFT3D work in multi modality registration - Heart MRI/XRay? HOT 1
- Installation on Ubuntu 20.04 HOT 3
- Matlab Mex functions HOT 1
- Would like to try with CLI, but...
- Does anyone has the binary libraries built for matlab 2018b or later, win 10 platform?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sift3d.