-
-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run time error #74
Comments
My problem has been solved. |
Hi, I'd guess a path mix-up. You have another libvipsCC somewhere (perhaps you have the Debian one installed as well) and Eclipse is picking the wrong one up at link or run time. Make sure you just have one libvipsCC and check Eclipse's paths to make sure it's being picked up. You can have multiple versions of libvips installed at the same time but you need to be careful with your paths. I'll close the issue if this is fixed. Please reopen if you still have problems. |
Yes. That was the problem. |
Hi,
I am new to libvips. I downloaded http://www.vips.ecs.soton.ac.uk/development/vips-7.34.0.tar.gz and installed using
./configure
make
sudo make install
I have made sure that all other package dependencies are met.
I am using Ubuntu 64 bit 12.04 OS.
For testing, I am trying a benchmarking source code as given in http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use
include <vips/vips>
int main (int argc, char **argv)
{
vips::VImage in (argv[1], "rs");
vips::VIMask mask (3, 3, 8, 0,
-1, -1, -1, -1, 16,-1, -1, -1, -1);
}
I am using Eclipse IDE for compiling.
When i build the project, the output is as follows.
16:35:04 **** Incremental Build of configuration Debug for project imgscale_vips_cpp ****
make all
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/local/include -I/usr/local/include/openslide -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/orc-0.4 -I/usr/include/pango-1.0 -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -I/usr/include/ImageMagick -I/usr/include/OpenEXR -O0 -g3 -Wall -c -fmessage-length=0 -pthread -fopenmp -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
Finished building: ../main.cpp
Building target: imgscale_vips_cpp
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -L/usr/local/lib/ -o "imgscale_vips_cpp" ./main.o -lgthread-2.0 -lvipsCC -lvips -ltiff -ljpeg -lstdc++ -lxml2 -lgmodule-2.0 -lrt -lfftw3 -lm -lMagickWand -lorc-0.4 -llcms2 -lIlmImf -lImath -lHalf -lIex -lIlmThread -lopenslide -lmatio -lz -lcfitsio -lpthread -lpangoft2-1.0 -lpng12 -lexif -lMagickCore -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgthread-2.0
Finished building target: imgscale_vips_cpp
16:35:05 Build Finished (took 767ms)
There are no errors shown during compiling.
But when i run/debug it it gives the following error.
/home/user/Eclipse_Workspace/imgscale_vips_cpp/Debug/imgscale_vips: error while loading shared libraries: libvipsCC.so.15: cannot open shared object file: No such file or directory
i opened /usr/local/lib/ directory. There is a libvipsCC.so.31 file inside it. How to get libvipsCC.so.15. and why is it asking for libvipsCC.so.15?
Please help me to solve this problem.
The text was updated successfully, but these errors were encountered: