Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1.  
  2. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/main.cpp.o: in function `main.cold.4':
  3. /usr/include/SFML/Graphics/Sprite.hpp:47: undefined reference to `vtable for sf::Sprite'
  4. /usr/bin/ld: /usr/include/SFML/Graphics/Sprite.hpp:47: undefined reference to `sf::Transformable::~Transformable()'
  5. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/main.cpp.o: in function `main':
  6. /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:14: undefined reference to `sf::Texture::~Texture()'
  7. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:12: undefined reference to `sf::Image::~Image()'
  8. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:9: undefined reference to `sf::RenderWindow::~RenderWindow()'
  9. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:9: undefined reference to `sf::String::String(char const*, std::locale const&)'
  10. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:9: undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'
  11. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:9: undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'
  12. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:10: undefined reference to `sf::Window::setFramerateLimit(unsigned int)'
  13. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:12: undefined reference to `sf::Image::Image()'
  14. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:13: undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'
  15. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:13: undefined reference to `sf::Image::create(unsigned int, unsigned int, sf::Color const&)'
  16. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:14: undefined reference to `sf::Texture::Texture()'
  17. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:15: undefined reference to `sf::Sprite::Sprite()'
  18. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:17: undefined reference to `sf::Window::isOpen() const'
  19. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:19: undefined reference to `sf::Window::pollEvent(sf::Event&)'
  20. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:44: undefined reference to `sf::Window::close()'
  21. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:21: undefined reference to `sf::Window::close()'
  22. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:55: undefined reference to `sf::Texture::loadFromImage(sf::Image const&, sf::Rect<int> const&)'
  23. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:56: undefined reference to `sf::Sprite::setTexture(sf::Texture const&, bool)'
  24. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:59: undefined reference to `sf::RenderStates::Default'
  25. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:59: undefined reference to `sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)'
  26. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:60: undefined reference to `sf::Window::display()'
  27. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/main.cpp.o: in function `main':
  28. /usr/include/SFML/Graphics/Sprite.hpp:47: undefined reference to `vtable for sf::Sprite'
  29. /usr/bin/ld: /usr/include/SFML/Graphics/Sprite.hpp:47: undefined reference to `sf::Transformable::~Transformable()'
  30. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/main.cpp.o: in function `main':
  31. /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:14: undefined reference to `sf::Texture::~Texture()'
  32. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:12: undefined reference to `sf::Image::~Image()'
  33. /usr/bin/ld: /home/mbkkt/CLionProjects/Mandelbrot/src/main.cpp:9: undefined reference to `sf::RenderWindow::~RenderWindow()'
  34. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/Mandelbrot.cpp.o: in function `Mandelbrot::updateImageSlice(double, double, double, sf::Image&, int, int) const':
  35. /home/mbkkt/CLionProjects/Mandelbrot/src/Mandelbrot.cpp:82: undefined reference to `sf::Image::setPixel(unsigned int, unsigned int, sf::Color const&)'
  36. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/Mandelbrot.cpp.o: in function `Mandelbrot::Mandelbrot(unsigned long, unsigned long)':
  37. /usr/include/c++/8.2.1/array:94: undefined reference to `sf::Color::Color()'
  38. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/Mandelbrot.cpp.o: in function `Mandelbrot::Mandelbrot(unsigned long, unsigned long)':
  39. /home/mbkkt/CLionProjects/Mandelbrot/src/Mandelbrot.cpp:71: undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'
  40. /usr/bin/ld: CMakeFiles/Mandelbrot.dir/src/Mandelbrot.cpp.o: in function `Mandelbrot::getColor(int) const':
  41. /home/mbkkt/CLionProjects/Mandelbrot/src/Mandelbrot.cpp:71: undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'
  42. collect2: ошибка: выполнение ld завершилось с кодом возврата 1
  43. make[3]: *** [CMakeFiles/Mandelbrot.dir/build.make:99: Mandelbrot] Ошибка 1
  44. make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/Mandelbrot.dir/all] Ошибка 2
  45. make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/Mandelbrot.dir/rule] Ошибка 2
  46. make: *** [Makefile:118: Mandelbrot] Ошибка 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement