Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. kknight@linux-8dqy:~/qt-flif-plugin-master> qmake-qt5
  2. kknight@linux-8dqy:~/qt-flif-plugin-master> make
  3. g++ -c -pipe -std=c++14 -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/FLIF -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o FlifPlugin.o src/FlifPlugin.cpp
  4. src/FlifPlugin.cpp: In member function ‘virtual bool FlifHandler::read(QImage*)’:
  5. src/FlifPlugin.cpp:110:16: error: ‘make_unique’ is not a member of ‘std’
  6. auto buffer = std::make_unique<uint8_t[]>( out.width() * 4 );
  7. ^~~
  8. src/FlifPlugin.cpp:110:40: error: expected primary-expression before ‘[’ token
  9. auto buffer = std::make_unique<uint8_t[]>( out.width() * 4 );
  10. ^
  11. src/FlifPlugin.cpp:110:41: error: expected primary-expression before ‘]’ token
  12. auto buffer = std::make_unique<uint8_t[]>( out.width() * 4 );
  13. ^
  14. src/FlifPlugin.cpp: In function ‘void addImage(FlifEncoder&, const QImage&)’:
  15. src/FlifPlugin.cpp:127:16: error: ‘make_unique’ is not a member of ‘std’
  16. auto buffer = std::make_unique<uint8_t[]>( in.width() * 4 );
  17. ^~~
  18. src/FlifPlugin.cpp:127:40: error: expected primary-expression before ‘[’ token
  19. auto buffer = std::make_unique<uint8_t[]>( in.width() * 4 );
  20. ^
  21. src/FlifPlugin.cpp:127:41: error: expected primary-expression before ‘]’ token
  22. auto buffer = std::make_unique<uint8_t[]>( in.width() * 4 );
  23. ^
  24. Makefile:660: ошибка выполнения рецепта для цели «FlifPlugin.o»
  25. make: *** [FlifPlugin.o] Ошибка 1
  26. kknight@linux-8dqy:~/qt-flif-plugin-master>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement