Advertisement
Guest User

Untitled

a guest
Jan 6th, 2024
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. aprykin@work:~/image_proc$ g++ `Magick++-config --cxxflags --cppflags` -O2 -o main src/main.cpp `Magick++-config --ldflags --libs` -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=1
  2. /usr/local/bin/Magick++-config: 47: --cflags: not found
  3. /usr/local/bin/Magick++-config: 50: --cflags: not found
  4. /usr/local/bin/Magick++-config: 53: --libs: not found
  5. /usr/local/bin/Magick++-config: 56: --libs: not found
  6. /usr/bin/ld: /tmp/ccYflE0T.o: in function `main':
  7. main.cpp:(.text.startup+0x5f): undefined reference to `Magick::InitializeMagick(char const*)'
  8. /usr/bin/ld: main.cpp:(.text.startup+0x67): undefined reference to `Magick::Image::Image()'
  9. /usr/bin/ld: main.cpp:(.text.startup+0x84): undefined reference to `Magick::Image::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  10. /usr/bin/ld: main.cpp:(.text.startup+0xa9): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
  11. /usr/bin/ld: main.cpp:(.text.startup+0xb4): undefined reference to `Magick::Image::crop(Magick::Geometry const&)'
  12. /usr/bin/ld: main.cpp:(.text.startup+0xbc): undefined reference to `Magick::Geometry::~Geometry()'
  13. /usr/bin/ld: main.cpp:(.text.startup+0xd9): undefined reference to `Magick::Image::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  14. /usr/bin/ld: main.cpp:(.text.startup+0xec): undefined reference to `Magick::Image::~Image()'
  15. /usr/bin/ld: /tmp/ccYflE0T.o: in function `main.cold':
  16. main.cpp:(.text.unlikely+0x6a): undefined reference to `Magick::Geometry::~Geometry()'
  17. /usr/bin/ld: main.cpp:(.text.unlikely+0x83): undefined reference to `Magick::Image::~Image()'
  18. /usr/bin/ld: /tmp/ccYflE0T.o:(.data.rel.local.DW.ref._ZTIN6Magick9ExceptionE[DW.ref._ZTIN6Magick9ExceptionE]+0x0): undefined reference to `typeinfo for Magick::Exception'
  19. collect2: error: ld returned 1 exit status
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement