Coder Social home page Coder Social logo

make fails about tifig HOT 6 CLOSED

Daij-Djan avatar Daij-Djan commented on July 23, 2024
make fails

from tifig.

Comments (6)

streinhard avatar streinhard commented on July 23, 2024

Hi @Daij-Djan, thanks for your interest in tifig! It seems like you haven't installed libvips dev headers. If you are running a debian based system, try this:

# sudo apt-get install libvips-dev libavcodec-dev libswscale-dev

On OSX, this should get you going:

# brew install vips libav

Please let me know if this works for you.

from tifig.

Daij-Djan avatar Daij-Djan commented on July 23, 2024

I didnt know that. thx. works fine

from tifig.

peacedyc33 avatar peacedyc33 commented on July 23, 2024

Hi @monostefan, what if I use centos?
I have installed vips built by git and it seems success since I can see following files in /usr/local/lib/

./usr/local/lib/libvips-cpp.a
./usr/local/lib/libvipsCC.so
./usr/local/lib/libvips-cpp.so.42.8.1
./usr/local/lib/libvips-cpp.so
./usr/local/lib/libvips.so.42
./usr/local/lib/libvips.a
./usr/local/lib/libvipsCC.so.42
./usr/local/lib/libvips.la
./usr/local/lib/libvips.so.42.8.1
./usr/local/lib/libvips-cpp.so.42
./usr/local/lib/libvipsCC.la
./usr/local/lib/libvips.so
./usr/local/lib/libvips-cpp.la
./usr/local/lib/libvipsCC.a
./usr/local/lib/libvipsCC.so.42.8.1

But it still says

-- Checking for module 'vips-cpp'
-- No package 'vips-cpp' found
CMake Error at /usr/share/cmake3/Modules/FindPkgConfig.cmake:424 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
CMakeLists.txt:29 (pkg_check_modules)

when I try to run cmake3 ..

Can you advise what the issue is?

from tifig.

Flask avatar Flask commented on July 23, 2024

@peacedyc33 have you ran ldconfig after compiling vips?

could you paste the the output of ‘pkg-config vips-cpp --libs‘?

from tifig.

peacedyc33 avatar peacedyc33 commented on July 23, 2024

@Flask

-L/usr/local/lib -lvips-cpp -lvips -lgobject-2.0 -lglib-2.0

I have run ldconfig, it was not set up. I just set it manually. Above is the output of ‘pkg-config vips-cpp --libs‘. And the message for building tifig is still the same.

from tifig.

peacedyc33 avatar peacedyc33 commented on July 23, 2024

Hi @Flask,
Yesterday issue has solved by build from a source tarball instead of github.
I can build tifig now, but when I run it, there is an error below:

tifig: error while loading shared libraries: libavcodec.so.57: cannot open shared object file: No such file or directory

for libavcodec, I have installed ffmpeg

built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

Is it the version? If yes, may I know how should I update it?

from tifig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.