Trouble compiling, trying to find good build environment

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 12:00 am

When trying to compile with GCC 8.3.0 and 9.1.0, I get the following errors:

Code: Select all
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/accountsxml.o
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:32,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/detail/shared_count.hpp:196:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  196 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:150:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  150 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:279:30: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  279 |     explicit shared_ptr(std::auto_ptr<Y> & r): px(r.get()), pn()
      |                              ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:323:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  323 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/netui.h:25,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.h:30,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/accountsxml.cpp:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/client.o
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:32,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/detail/shared_count.hpp:196:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  196 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:150:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  150 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:279:30: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  279 |     explicit shared_ptr(std::auto_ptr<Y> & r): px(r.get()), pn()
      |                              ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:323:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  323 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/scoped_ptr.hpp:14,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/clientptr.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/prediction.h:4,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:3:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/scoped_ptr.hpp:66:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   66 |     explicit scoped_ptr( std::auto_ptr<T> p ): px( p.release() ) // never throws
      |                               ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/config/no_tr1/memory.hpp:21,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/lowlevel/vsnet_socket.h:22,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.h:31,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/client.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/fileutil.o
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:32,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/detail/shared_count.hpp:196:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  196 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:150:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  150 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:279:30: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  279 |     explicit shared_ptr(std::auto_ptr<Y> & r): px(r.get()), pn()
      |                              ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:323:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  323 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:53:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   53 |     std::auto_ptr<GalaxyXML::Galaxy> galaxy;
      |          ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/scoped_ptr.hpp:14,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Types.h:7,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/scoped_ptr.hpp:66:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   66 |     explicit scoped_ptr( std::auto_ptr<T> p ): px( p.release() ) // never throws
      |                               ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/memory:80,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:27,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:10,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:59:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   59 |         void startPlaying(Timestamp start = 0) throw(Exception);
      |                                                ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:72:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   72 |         Timestamp getPlayingTime() const throw(Exception);
      |                                          ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:85:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   85 |         void seek(Timestamp time) throw(Exception);
      |                                   ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:108:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  108 |         virtual void startPlayingImpl(Timestamp start) throw(Exception) = 0;
      |                                                        ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:111:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  111 |         virtual void stopPlayingImpl() throw(Exception) = 0;
      |                                        ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:114:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  114 |         virtual bool isPlayingImpl() const throw(Exception) = 0;
      |                                            ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:117:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  117 |         virtual Timestamp getPlayingTimeImpl() const throw(Exception) = 0;
      |                                                      ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:120:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  120 |         virtual void updateImpl(int flags, const Listener& sceneListener) throw(Exception) = 0;
      |                                                                           ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/RenderableSource.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  123 |         virtual void seekImpl(Timestamp time) throw(Exception) = 0;
      |                                               ^~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:204:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  204 |         void startPlaying(Timestamp start = 0) throw(Exception);
      |                                                ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:226:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  226 |         void continuePlaying() throw(Exception);
      |                                ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:286:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  286 |         void seek(Timestamp time) throw(Exception);
      |                                   ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:302:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  302 |         virtual void startPlayingImpl(Timestamp start) throw(Exception) = 0;
      |                                                        ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:305:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  305 |         virtual void stopPlayingImpl() throw(Exception) = 0;
      |                                        ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:308:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  308 |         virtual bool isPlayingImpl() const throw(Exception) = 0;
      |                                            ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h: In member function ‘boost::shared_ptr<Audio::RenderableSource> Audio::Source::getRenderable() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:243:76: error: use of deleted function ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’
  243 |         SharedPtr<RenderableSource> getRenderable() const throw() { return rendererDataPtr; }
      |                                                                            ^~~~~~~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::RenderableSource>’ declares a move constructor or move assignment operator
  168 | template<class T> class shared_ptr
      |                         ^~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h: In member function ‘boost::shared_ptr<Audio::UserData> Audio::Source::getUserDataPtr() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:249:69: error: use of deleted function ‘boost::shared_ptr<Audio::UserData>::shared_ptr(const boost::shared_ptr<Audio::UserData>&)’
  249 |         SharedPtr<UserData> getUserDataPtr() const throw() { return userDataPtr; }
      |                                                                     ^~~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::UserData>::shared_ptr(const boost::shared_ptr<Audio::UserData>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::UserData>’ declares a move constructor or move assignment operator
  168 | template<class T> class shared_ptr
      |                         ^~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h: In member function ‘boost::shared_ptr<Audio::SourceListener> Audio::Source::getSourceListener() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:261:78: error: use of deleted function ‘boost::shared_ptr<Audio::SourceListener>::shared_ptr(const boost::shared_ptr<Audio::SourceListener>&)’
  261 |         SharedPtr<SourceListener> getSourceListener() const throw() { return sourceListenerPtr; }
      |                                                                              ^~~~~~~~~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::SourceListener>::shared_ptr(const boost::shared_ptr<Audio::SourceListener>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::SourceListener>’ declares a move constructor or move assignment operator
  168 | template<class T> class shared_ptr
      |                         ^~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/sprite.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:9,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h: In member function ‘boost::shared_ptr<Audio::Sound> Audio::Source::getSound() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:267:60: error: use of deleted function ‘boost::shared_ptr<Audio::Sound>::shared_ptr(const boost::shared_ptr<Audio::Sound>&)’
  267 |         SharedPtr<Sound> getSound() const throw() { return soundPtr; }
      |                                                            ^~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::Sound>::shared_ptr(const boost::shared_ptr<Audio::Sound>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::Sound>’ declares a move constructor or move assignment operator
  168 | template<class T> class shared_ptr
      |                         ^~~~~~~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/ani_texture.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/animation.h:34,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:10,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.h: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.h:65:94: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   65 |     void open( const std::string &path, size_t maxDimension = 65535, bool forcePOT = false ) throw (Exception);
      |                                                                                              ^~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.h:73:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   73 |     bool seek( float time ) throw (Exception);
      |                             ^~~~~
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/animation.h:34,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/images.h:10,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/cockpit_generic.h:28,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:59,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/ani_texture.h: In member function ‘boost::shared_ptr<Audio::Source> AnimatedTexture::GetTimeSource() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/ani_texture.h:179:81: error: use of deleted function ‘boost::shared_ptr<Audio::Source>::shared_ptr(const boost::shared_ptr<Audio::Source>&)’
  179 |         return (options&optSoundTiming) ? timeSource : SharedPtr<Audio::Source>();
      |                                                                                 ^
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::Source>::shared_ptr(const boost::shared_ptr<Audio::Source>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::Source>’ declares a move constructor or move assignment operator
  168 | template<class T> class shared_ptr
      |                         ^~~~~~~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = Audio::UserData]’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:252:79:   required from here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:305:9: error: use of deleted function ‘boost::shared_ptr<Audio::UserData>::shared_ptr(const boost::shared_ptr<Audio::UserData>&)’
  305 |         this_type(r).swap(*this);
      |         ^~~~~~~~~~~~
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = Audio::SourceListener]’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:264:93:   required from here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:305:9: error: use of deleted function ‘boost::shared_ptr<Audio::SourceListener>::shared_ptr(const boost::shared_ptr<Audio::SourceListener>&)’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = Audio::Sound]’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/audio/Source.h:270:66:   required from here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:305:9: error: use of deleted function ‘boost::shared_ptr<Audio::Sound>::shared_ptr(const boost::shared_ptr<Audio::Sound>&)’
make[2]: *** [CMakeFiles/netgeneric.dir/build.make:89: CMakeFiles/netgeneric.dir/src/networking/fileutil.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/netgeneric.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Last edited by happysmash27 on Tue Jul 09, 2019 12:11 am, edited 1 time in total.
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

When I try an older GCC version, 4.5.4

Postby happysmash27 » Tue Jul 09, 2019 12:05 am

When I try an older GCC version, 4.5.4, I get the following error in finding GLU, when using ./configure instead of cmake:

Code: Select all
checking for GLU library... no
checking for GLU library (with pthreads)... no
checking for MesaGLU library... no
checking for MesaGLU library (with pthreads)... no
checking for openglu32 library... no
checking for openglu32 library (with pthreads)... no
*** Hmm, you don't seem to have OpenGLU libraries installed in the standard
*** location (/usr/lib).  I'll check in /usr/X11R6/lib, since
*** many distributions (incorrectly) put OpenGLU libs there.
checking for GLU library... no
checking for GLU library (with pthreads)... no
checking for MesaGLU library... no
checking for MesaGLU library (with pthreads)... no
checking for openglu32 library... no
checking for openglu32 library (with pthreads)... no
configure: error: Cannot find GLU library


Even when I try to explicitly specify where it is, with invocations like
Code: Select all
./configure --with-glu-libs-dir=/usr/lib/ --with-glu-lib-name=libGLU
and
Code: Select all
./configure --with-glu-libs-dir=/usr/lib/ --with-glu-lib-name=libGLU.so
, I still get errors such as

Code: Select all
checking for libGLU library... no
checking for libGLU library (with pthreads)... no
*** Hmm, you don't seem to have OpenGLU libraries installed in the standard
*** location (/usr/lib).  I'll check in /usr/X11R6/lib, since
*** many distributions (incorrectly) put OpenGLU libs there.
checking for libGLU library... no
checking for libGLU library (with pthreads)... no
configure: error: Cannot find GLU library


and

Code: Select all
checking for libGLU.so library... no
checking for libGLU.so library (with pthreads)... no
*** Hmm, you don't seem to have OpenGLU libraries installed in the standard
*** location (/usr/lib).  I'll check in /usr/X11R6/lib, since
*** many distributions (incorrectly) put OpenGLU libs there.
checking for libGLU.so library... no
checking for libGLU.so library (with pthreads)... no
configure: error: Cannot find GLU library


despite /usr/lib/libGLU.so clearly existing:

Code: Select all
$ ls /usr/lib/libGLU.so
/usr/lib/libGLU.so
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

When I use cmake in GCC 4.5.4

Postby happysmash27 » Tue Jul 09, 2019 12:10 am

When I use cmake in GCC 4.5.4, configuration occurs correctly, as with using GCC 5.4.0, but I get many errors related to syntax:

Code: Select all
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/accountsxml.o
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/client.o
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/fileutil.o
[  0%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/savenet_util.o
[  1%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/cubicsplines.o
[  1%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/mangle.o
[  1%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netclient_clients.o
[  1%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netclient_devices.o
[  2%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netclient_login.o
[  2%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netclient.o
[  2%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver_acct.o
[  2%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver_clients.o
[  2%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver_devices.o
[  3%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver_login.o
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp: In member function ‘bool NetServer::loginAccept(const std::string&, ClientPtr, int, char)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp:50:15: warning: unused variable ‘cltserial’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp: In function ‘void getShipList(std::vector<std::basic_string<char> >&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp:181:36: warning: unused variable ‘dot’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp: In member function ‘bool NetServer::loadFromSavegame(ClientPtr, Cockpit*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/netserver_login.cpp:403:24: warning: unused variable ‘serial’
[  3%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver_net.o
[  3%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/netserver.o
[  3%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/prediction.o
[  3%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/zonemgr.o
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/zonemgr.cpp: In member function ‘void ZoneMgr::displayNPCs()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/networking/zonemgr.cpp:911:22: warning: unused variable ‘un’
[  4%] Linking CXX static library libnetgeneric.a
[  4%] Built target netgeneric
[  4%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/Converter.o
[  4%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/from_BFXM.o
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp: In function ‘void BFXMToXmeshOrOBJ(FILE*, FILE*, FILE*, FILE*, std::string, char)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:79:14: warning: unused variable ‘Inputlength32’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:82:14: warning: unused variable ‘version’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp: In function ‘void BFXMtoBoxDims(FILE*, const char*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:952:26: warning: unused variable ‘textype’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:953:26: warning: unused variable ‘texindex’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:978:32: warning: unused variable ‘refnum’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:979:32: warning: unused variable ‘weight’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:971:28: warning: unused variable ‘size’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:972:28: warning: unused variable ‘offset’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:973:28: warning: unused variable ‘rotation’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:974:28: warning: unused variable ‘type’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:988:28: warning: unused variable ‘size’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:989:28: warning: unused variable ‘index’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:1015:30: warning: unused variable ‘ref’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:1010:28: warning: unused variable ‘FPS’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:888:24: warning: unused variable ‘reverse’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:889:24: warning: unused variable ‘forcetexture’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:890:24: warning: unused variable ‘sharevert’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:891:24: warning: unused variable ‘polygonoffset’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:892:24: warning: unused variable ‘bsrc’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:893:24: warning: unused variable ‘bdst’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:894:24: warning: unused variable ‘power’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:895:24: warning: unused variable ‘ar’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:896:24: warning: unused variable ‘ag’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:897:24: warning: unused variable ‘ab’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:898:24: warning: unused variable ‘aa’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:899:24: warning: unused variable ‘dr’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:900:24: warning: unused variable ‘dg’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:901:24: warning: unused variable ‘db’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:902:24: warning: unused variable ‘da’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:903:24: warning: unused variable ‘er’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:904:24: warning: unused variable ‘eg’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:905:24: warning: unused variable ‘eb’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:906:24: warning: unused variable ‘ea’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:907:24: warning: unused variable ‘sr’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:908:24: warning: unused variable ‘sg’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:909:24: warning: unused variable ‘sb’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:910:24: warning: unused variable ‘sa’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:911:24: warning: unused variable ‘cullface’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:912:24: warning: unused variable ‘lighting’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:913:24: warning: unused variable ‘reflect’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:914:24: warning: unused variable ‘usenormals’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:840:14: warning: unused variable ‘Inputlength32’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:843:14: warning: unused variable ‘version’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:847:14: warning: unused variable ‘NUMFIELDSPERPOLYGONSTRUCTURE’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/from_BFXM.cpp:848:14: warning: unused variable ‘NUMFIELDSPERREFERENCEDVERTEX’
[  5%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/from_obj.o
[  5%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/main.o
[  5%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/to_obj.o
[  5%] Building CXX object objconv/CMakeFiles/mesh_tool.dir/mesher/to_OgreMesh.o
In file included from /usr/include/OGRE/OgreIteratorWrappers.h:33:0,
                 from /usr/include/OGRE/OgreAnimation.h:34,
                 from /usr/include/OGRE/Ogre.h:33,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:5:
/usr/include/OGRE/OgreIteratorRange.h:35:31: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/mutex.hpp:14:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/mutex.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/thread_data.hpp:12,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/condition_variable.hpp:10,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/condition_variable.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/condition.hpp:9,
                 from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:48,
                 from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34,
                 from /usr/include/OGRE/OgreAnimationState.h:37,
                 from /usr/include/OGRE/OgreAnimation.h:37,
                 from /usr/include/OGRE/Ogre.h:33,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:5:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:38:13: error: ‘int_fast64_t’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:41:13: error: ‘int_fast32_t’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:43:5: error: ‘xtime_sec_t’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:44:5: error: ‘xtime_nsec_t’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp: In function ‘xtime get_xtime(const boost::system_time&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:9: error: ‘struct xtime’ has no member named ‘sec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:25: error: expected type-specifier
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:25: error: expected ‘>’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:25: error: expected ‘(’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:25: error: ‘xtime_sec_t’ is not a member of ‘xtime’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:64:78: error: expected ‘)’ before ‘;’ token
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:9: error: ‘struct xtime’ has no member named ‘nsec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:26: error: expected type-specifier
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:26: error: expected ‘>’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:26: error: expected ‘(’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:26: error: ‘xtime_nsec_t’ is not a member of ‘xtime’
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/mutex.hpp:14:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/mutex.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/thread_data.hpp:12,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/pthread/condition_variable.hpp:10,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/condition_variable.hpp:16,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/condition.hpp:9,
                 from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:48,
                 from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34,
                 from /usr/include/OGRE/OgreAnimationState.h:37,
                 from /usr/include/OGRE/OgreAnimation.h:37,
                 from /usr/include/OGRE/Ogre.h:33,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:5:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:65:134: error: expected ‘)’ before ‘;’ token
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp: In function ‘int xtime_cmp(const xtime&, const xtime&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:82:13: error: ‘const struct xtime’ has no member named ‘sec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:82:24: error: ‘const struct xtime’ has no member named ‘sec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:83:26: error: ‘const struct xtime’ has no member named ‘nsec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:83:37: error: ‘const struct xtime’ has no member named ‘nsec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:85:21: error: ‘const struct xtime’ has no member named ‘sec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:85:31: error: ‘const struct xtime’ has no member named ‘sec’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/boost/1_45/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
make[2]: *** [objconv/CMakeFiles/mesh_tool.dir/build.make:128: objconv/CMakeFiles/mesh_tool.dir/mesher/to_OgreMesh.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:476: objconv/CMakeFiles/mesh_tool.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 12:13 am

In short: which environment should I use? Or is there any way to solve any of these problems with the existing environment?
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby loki1950 » Tue Jul 09, 2019 10:40 am

The main problem is that all most all of the support libraries have changed their API's and the main source tree needs updating to deal with new C++ conventions as well as these are enforced by new versions on GCC by throwing those syntax errors.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
User avatar
loki1950
The Shepherd
 
Posts: 5755
Topics: 52
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 3:17 pm

What I am trying to figure out, is which GCC version it needs?

The xtime error seems to be fixed by using -std=c++11. Now, I just need to figure out that PyString_FromString error...

Code: Select all
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:25:0:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h: In member function ‘PyObject* PythonBasicType::NewObject() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h:43:57: error: ‘PyString_FromString’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp: In member function ‘bool Orders::AggressiveAI::ProcessCurrentFgDirective(Flightgroup*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:759:22: warning: unused variable ‘callme’
make[2]: *** [CMakeFiles/engine_com.dir/build.make:63: CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: CMakeFiles/engine_com.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 3:30 pm

Editing CMakeCache.txt seems to stop the python errors, but now I am back to xtime errors for some reason...
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 3:47 pm

I think -std=c++11 was somehow a red herring. Running the following to replace all instances of TIME_UTC with TIME_UTC_ in xtime.hpp seems to work, assuming one is located in a subdirectory "build" in the source tree:

Code: Select all
sed -i 's/TIME_UTC/TIME_UTC_/g' ../boost/1_45/boost/thread/xtime.hpp
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 3:48 pm

And... now... it looks like my Ogre is too new, and it is harder to fix that as there is no option to have multiple slots for it on Gentoo to my knowledge!

Code: Select all
In file included from /usr/include/OGRE/OgreIteratorWrappers.h:33:0,
                 from /usr/include/OGRE/OgreAnimation.h:34,
                 from /usr/include/OGRE/Ogre.h:33,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:5:
/usr/include/OGRE/OgreIteratorRange.h:35:31: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:142:45: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:144:45: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const XML&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:192:51: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::vector<textureholder, std::allocator<textureholder> >::size_type’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:200:55: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::vector<Mesh_vec3f, std::allocator<Mesh_vec3f> >::size_type’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoOrganiseBuffers(Ogre::VertexData*, Ogre::MeshPtr)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1084:91: error: no matching function for call to ‘Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool)’
/usr/include/OGRE/OgreHardwareVertexBuffer.h:391:28: note: candidate is: Ogre::VertexDeclaration* Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool, bool) const
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoLOD(void*, bool, int, float, float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1119:15: error: ‘ProgressiveMesh’ in namespace ‘Ogre’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1138:18: error: ‘class Ogre::Mesh’ has no member named ‘generateLodLevels’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1138:51: error: ‘quota’ was not declared in this scope
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 4:01 pm

A good thing I just found: this is an older, and hopefully better-documented bug: https://sourceforge.net/p/vegastrike/bugs/679/
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 5:17 pm

Which ogre version should I use? I just spent a long time compiling ogre 1.8.0 but it still doesn't work even after I set it to use it :(

Code: Select all
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:142:45: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:144:45: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const Mesh_vec3f&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:153:23: warning: unused variable ‘tmp’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const XML&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:192:51: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::vector<textureholder, std::allocator<textureholder> >::size_type’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:200:55: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::vector<Mesh_vec3f, std::allocator<Mesh_vec3f> >::size_type’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::SetupColorTplVars(std::map<std::basic_string<char>, std::basic_string<char> >&, std::string, std::string, std::string, std::string, std::string, std::string, float, float, float, float, float, float, float, float, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:443:12: warning: unused variable ‘eqg’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoOrganiseBuffers(Ogre::VertexData*, Ogre::MeshPtr)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1084:91: error: no matching function for call to ‘Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool)’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ogre/include/OGRE/OgreHardwareVertexBuffer.h:371:28: note: candidate is: Ogre::VertexDeclaration* Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool, bool) const
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::Optimize(void*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1104:20: warning: unused variable ‘idx’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoLOD(void*, bool, int, float, float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1119:15: error: ‘VertexReductionQuota’ in class ‘Ogre::ProgressiveMesh’ does not name a type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1138:18: error: ‘class Ogre::Mesh’ has no member named ‘generateLodLevels’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/objconv/mesher/to_OgreMesh.cpp:1138:51: error: ‘quota’ was not declared in this scope
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 5:27 pm

I decided to use the patch to disable OGRE. However...

Code: Select all
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::tr1::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `std::__cxx11::numpunct<char> const& std::use_facet<std::__cxx11::numpunct<char> >(std::locale const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace(unsigned long, unsigned long, wchar_t const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::swap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread.so.1.63.0: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libOgreMain.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const@GLIBCXX_3.4.21'
collect2: ld returned 1 exit status
make[2]: *** [objconv/CMakeFiles/mesh_tool.dir/build.make:325: objconv/mesh_tool] Error 1
make[1]: *** [CMakeFiles/Makefile2:476: objconv/CMakeFiles/mesh_tool.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 5:30 pm

It looks like in a configuration I had invoked incorrectly, the ogre variables were enabled and it was trying to use the system ogre, for one...
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 5:33 pm

Well, this is progress! Now I get a bunch of AVstream ffmpeg errors...

Code: Select all
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::nextFrame(bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:99:36: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4771)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:101:33: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4771)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:143:21: warning: ‘void av_free_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4416)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:143:45: warning: ‘void av_free_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4416)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In constructor ‘VidFileImpl::VidFileImpl(size_t, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:46:15: warning: ‘VidFileImpl::pStream’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:43:15: warning:   ‘AVFrame* VidFileImpl::pFrameRGB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:160:14: warning: ‘VidFileImpl::frameBuffer’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:50:17: warning:   ‘uint8_t* VidFileImpl::packetBuffer’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:51:17: warning: ‘VidFileImpl::packetBufferSize’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:48:17: warning:   ‘bool VidFileImpl::frameReady’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In destructor ‘VidFileImpl::~VidFileImpl()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:204:45: error: ‘av_close_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::open(const std::string&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:216:93: error: ‘av_open_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:217:54: error: ‘av_find_stream_info’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:227:41: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:230:44: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:230:44: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:231:50: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:231:50: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:232:41: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:232:41: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:235:62: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:235:62: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:236:84: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:236:84: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:244:45: error: ‘avcodec_open’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:245:45: error: ‘avcodec_alloc_frame’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:258:39: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:259:40: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:273:29: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:5450)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:273:49: error: ‘PIX_FMT_RGB24’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:276:9: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:5435)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘bool VidFileImpl::seek(float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:301:28: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:303:30: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:316:29: warning: comparison between signed and unsigned integer expressions
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1363: CMakeFiles/vegastrike.dir/src/gfx/vid_file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_open(URLContext*, const char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:53:10: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_close(URLContext*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:60:24: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_read(URLContext*, unsigned char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:66:26: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘offset_t _url_seek(URLContext*, offset_t, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:84:23: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:85:30: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:87:30: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:91:20: error: variable ‘URLProtocol vsFileProtocol’ has initializer but incomplete type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘void FFMpeg::initLibraries()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:115:9: warning: ‘void av_register_all()’ is deprecated (declared at /usr/include/libavformat/avformat.h:2043)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:115:25: warning: ‘void av_register_all()’ is deprecated (declared at /usr/include/libavformat/avformat.h:2043)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:117:72: error: ‘av_register_protocol2’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘offset_t _url_seek(URLContext*, offset_t, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:89:1: warning: control reaches end of non-void function
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_read(URLContext*, unsigned char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:67:1: warning: control reaches end of non-void function
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1376: CMakeFiles/vegastrike.dir/src/ffmpeg_init.o] Error 1
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp: In member function ‘unsigned char* VSImage::ReadDDS()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp:634:20: warning: unused variable ‘internal’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:58:1: warning: ‘void init_destination(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:69:1: warning: ‘boolean empty_output_buffer(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:82:1: warning: ‘void term_destination(jpeg_compress_struct*)’ defined but not used
make[1]: *** [CMakeFiles/Makefile2:268: CMakeFiles/vegastrike.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 5:57 pm

I compiled ffmpeg 1.0, and tried to change CMakeCache.txt to use it, but now it's trying to pull in the old version for some reason, stopping it from compiling properly:

Code: Select all
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.h:35:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:8:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:595:6: error: multiple definition of ‘enum AVColorPrimaries’
/usr/include/libavutil/pixfmt.h:433:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:596:29: error: conflicting declaration ‘AVCOL_PRI_BT709’
/usr/include/libavutil/pixfmt.h:435:29: error: ‘AVCOL_PRI_BT709’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:597:29: error: conflicting declaration ‘AVCOL_PRI_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:436:29: error: ‘AVCOL_PRI_UNSPECIFIED’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:598:29: error: conflicting declaration ‘AVCOL_PRI_BT470M’
/usr/include/libavutil/pixfmt.h:438:29: error: ‘AVCOL_PRI_BT470M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT470M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:599:29: error: conflicting declaration ‘AVCOL_PRI_BT470BG’
/usr/include/libavutil/pixfmt.h:440:29: error: ‘AVCOL_PRI_BT470BG’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT470BG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:600:29: error: conflicting declaration ‘AVCOL_PRI_SMPTE170M’
/usr/include/libavutil/pixfmt.h:441:29: error: ‘AVCOL_PRI_SMPTE170M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_SMPTE170M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:601:29: error: conflicting declaration ‘AVCOL_PRI_SMPTE240M’
/usr/include/libavutil/pixfmt.h:442:29: error: ‘AVCOL_PRI_SMPTE240M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:602:29: error: conflicting declaration ‘AVCOL_PRI_FILM’
/usr/include/libavutil/pixfmt.h:443:29: error: ‘AVCOL_PRI_FILM’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_FILM’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:603:5: error: conflicting declaration ‘AVCOL_PRI_NB’
/usr/include/libavutil/pixfmt.h:450:5: error: ‘AVCOL_PRI_NB’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:606:6: error: multiple definition of ‘enum AVColorTransferCharacteristic’
/usr/include/libavutil/pixfmt.h:457:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:607:29: error: conflicting declaration ‘AVCOL_TRC_BT709’
/usr/include/libavutil/pixfmt.h:459:30: error: ‘AVCOL_TRC_BT709’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:608:29: error: conflicting declaration ‘AVCOL_TRC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:460:30: error: ‘AVCOL_TRC_UNSPECIFIED’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:609:29: error: conflicting declaration ‘AVCOL_TRC_GAMMA22’
/usr/include/libavutil/pixfmt.h:462:30: error: ‘AVCOL_TRC_GAMMA22’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_GAMMA22’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:610:29: error: conflicting declaration ‘AVCOL_TRC_GAMMA28’
/usr/include/libavutil/pixfmt.h:463:30: error: ‘AVCOL_TRC_GAMMA28’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_GAMMA28’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:611:29: error: conflicting declaration ‘AVCOL_TRC_SMPTE240M’
/usr/include/libavutil/pixfmt.h:465:30: error: ‘AVCOL_TRC_SMPTE240M’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:612:5: error: conflicting declaration ‘AVCOL_TRC_NB’
/usr/include/libavutil/pixfmt.h:479:5: error: ‘AVCOL_TRC_NB’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:615:6: error: multiple definition of ‘enum AVColorSpace’
/usr/include/libavutil/pixfmt.h:486:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:616:29: error: conflicting declaration ‘AVCOL_SPC_RGB’
/usr/include/libavutil/pixfmt.h:487:29: error: ‘AVCOL_SPC_RGB’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_RGB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:617:29: error: conflicting declaration ‘AVCOL_SPC_BT709’
/usr/include/libavutil/pixfmt.h:488:29: error: ‘AVCOL_SPC_BT709’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:618:29: error: conflicting declaration ‘AVCOL_SPC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:489:29: error: ‘AVCOL_SPC_UNSPECIFIED’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:619:29: error: conflicting declaration ‘AVCOL_SPC_FCC’
/usr/include/libavutil/pixfmt.h:491:29: error: ‘AVCOL_SPC_FCC’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_FCC’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:620:29: error: conflicting declaration ‘AVCOL_SPC_BT470BG’
/usr/include/libavutil/pixfmt.h:492:29: error: ‘AVCOL_SPC_BT470BG’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_BT470BG’
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.h:35:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:8:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:621:29: error: conflicting declaration ‘AVCOL_SPC_SMPTE170M’
/usr/include/libavutil/pixfmt.h:493:29: error: ‘AVCOL_SPC_SMPTE170M’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_SMPTE170M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:622:29: error: conflicting declaration ‘AVCOL_SPC_SMPTE240M’
/usr/include/libavutil/pixfmt.h:494:29: error: ‘AVCOL_SPC_SMPTE240M’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:623:29: error: conflicting declaration ‘AVCOL_SPC_YCOCG’
/usr/include/libavutil/pixfmt.h:496:29: error: ‘AVCOL_SPC_YCOCG’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_YCOCG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:624:5: error: conflicting declaration ‘AVCOL_SPC_NB’
/usr/include/libavutil/pixfmt.h:503:5: error: ‘AVCOL_SPC_NB’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:628:6: error: multiple definition of ‘enum AVColorRange’
/usr/include/libavutil/pixfmt.h:509:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:629:31: error: conflicting declaration ‘AVCOL_RANGE_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:510:31: error: ‘AVCOL_RANGE_UNSPECIFIED’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:630:31: error: conflicting declaration ‘AVCOL_RANGE_MPEG’
/usr/include/libavutil/pixfmt.h:511:31: error: ‘AVCOL_RANGE_MPEG’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_MPEG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:631:31: error: conflicting declaration ‘AVCOL_RANGE_JPEG’
/usr/include/libavutil/pixfmt.h:512:31: error: ‘AVCOL_RANGE_JPEG’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_JPEG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:632:5: error: conflicting declaration ‘AVCOL_RANGE_NB’
/usr/include/libavutil/pixfmt.h:513:5: error: ‘AVCOL_RANGE_NB’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:640:6: error: multiple definition of ‘enum AVChromaLocation’
/usr/include/libavutil/pixfmt.h:531:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:641:32: error: conflicting declaration ‘AVCHROMA_LOC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:532:32: error: ‘AVCHROMA_LOC_UNSPECIFIED’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:642:32: error: conflicting declaration ‘AVCHROMA_LOC_LEFT’
/usr/include/libavutil/pixfmt.h:533:32: error: ‘AVCHROMA_LOC_LEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_LEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:643:32: error: conflicting declaration ‘AVCHROMA_LOC_CENTER’
/usr/include/libavutil/pixfmt.h:534:32: error: ‘AVCHROMA_LOC_CENTER’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_CENTER’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:644:32: error: conflicting declaration ‘AVCHROMA_LOC_TOPLEFT’
/usr/include/libavutil/pixfmt.h:535:32: error: ‘AVCHROMA_LOC_TOPLEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_TOPLEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:645:32: error: conflicting declaration ‘AVCHROMA_LOC_TOP’
/usr/include/libavutil/pixfmt.h:536:32: error: ‘AVCHROMA_LOC_TOP’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_TOP’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:646:32: error: conflicting declaration ‘AVCHROMA_LOC_BOTTOMLEFT’
/usr/include/libavutil/pixfmt.h:537:32: error: ‘AVCHROMA_LOC_BOTTOMLEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_BOTTOMLEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:647:32: error: conflicting declaration ‘AVCHROMA_LOC_BOTTOM’
/usr/include/libavutil/pixfmt.h:538:32: error: ‘AVCHROMA_LOC_BOTTOM’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_BOTTOM’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:648:5: error: conflicting declaration ‘AVCHROMA_LOC_NB’
/usr/include/libavutil/pixfmt.h:539:5: error: ‘AVCHROMA_LOC_NB’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In constructor ‘VidFileImpl::VidFileImpl(size_t, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:46:15: warning: ‘VidFileImpl::pStream’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:43:15: warning:   ‘AVFrame* VidFileImpl::pFrameRGB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:160:14: warning: ‘VidFileImpl::frameBuffer’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:50:17: warning:   ‘uint8_t* VidFileImpl::packetBuffer’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:51:17: warning: ‘VidFileImpl::packetBufferSize’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:48:17: warning:   ‘bool VidFileImpl::frameReady’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In destructor ‘VidFileImpl::~VidFileImpl()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:204:45: error: ‘av_close_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::open(const std::string&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:216:93: error: ‘av_open_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:217:54: error: ‘av_find_stream_info’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:227:41: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:244:45: error: ‘avcodec_open’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:258:39: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:259:40: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:273:49: error: ‘PIX_FMT_RGB24’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘bool VidFileImpl::seek(float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:301:28: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:303:30: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:316:29: warning: comparison between signed and unsigned integer expressions
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1363: CMakeFiles/vegastrike.dir/src/gfx/vid_file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.h:35:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:7:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:595:6: error: multiple definition of ‘enum AVColorPrimaries’
/usr/include/libavutil/pixfmt.h:433:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:596:29: error: conflicting declaration ‘AVCOL_PRI_BT709’
/usr/include/libavutil/pixfmt.h:435:29: error: ‘AVCOL_PRI_BT709’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:597:29: error: conflicting declaration ‘AVCOL_PRI_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:436:29: error: ‘AVCOL_PRI_UNSPECIFIED’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:598:29: error: conflicting declaration ‘AVCOL_PRI_BT470M’
/usr/include/libavutil/pixfmt.h:438:29: error: ‘AVCOL_PRI_BT470M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT470M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:599:29: error: conflicting declaration ‘AVCOL_PRI_BT470BG’
/usr/include/libavutil/pixfmt.h:440:29: error: ‘AVCOL_PRI_BT470BG’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_BT470BG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:600:29: error: conflicting declaration ‘AVCOL_PRI_SMPTE170M’
/usr/include/libavutil/pixfmt.h:441:29: error: ‘AVCOL_PRI_SMPTE170M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_SMPTE170M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:601:29: error: conflicting declaration ‘AVCOL_PRI_SMPTE240M’
/usr/include/libavutil/pixfmt.h:442:29: error: ‘AVCOL_PRI_SMPTE240M’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:602:29: error: conflicting declaration ‘AVCOL_PRI_FILM’
/usr/include/libavutil/pixfmt.h:443:29: error: ‘AVCOL_PRI_FILM’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_FILM’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:603:5: error: conflicting declaration ‘AVCOL_PRI_NB’
/usr/include/libavutil/pixfmt.h:450:5: error: ‘AVCOL_PRI_NB’ has a previous declaration as ‘AVColorPrimaries AVCOL_PRI_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:606:6: error: multiple definition of ‘enum AVColorTransferCharacteristic’
/usr/include/libavutil/pixfmt.h:457:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:607:29: error: conflicting declaration ‘AVCOL_TRC_BT709’
/usr/include/libavutil/pixfmt.h:459:30: error: ‘AVCOL_TRC_BT709’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:608:29: error: conflicting declaration ‘AVCOL_TRC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:460:30: error: ‘AVCOL_TRC_UNSPECIFIED’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:609:29: error: conflicting declaration ‘AVCOL_TRC_GAMMA22’
/usr/include/libavutil/pixfmt.h:462:30: error: ‘AVCOL_TRC_GAMMA22’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_GAMMA22’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:610:29: error: conflicting declaration ‘AVCOL_TRC_GAMMA28’
/usr/include/libavutil/pixfmt.h:463:30: error: ‘AVCOL_TRC_GAMMA28’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_GAMMA28’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:611:29: error: conflicting declaration ‘AVCOL_TRC_SMPTE240M’
/usr/include/libavutil/pixfmt.h:465:30: error: ‘AVCOL_TRC_SMPTE240M’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:612:5: error: conflicting declaration ‘AVCOL_TRC_NB’
/usr/include/libavutil/pixfmt.h:479:5: error: ‘AVCOL_TRC_NB’ has a previous declaration as ‘AVColorTransferCharacteristic AVCOL_TRC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:615:6: error: multiple definition of ‘enum AVColorSpace’
/usr/include/libavutil/pixfmt.h:486:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:616:29: error: conflicting declaration ‘AVCOL_SPC_RGB’
/usr/include/libavutil/pixfmt.h:487:29: error: ‘AVCOL_SPC_RGB’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_RGB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:617:29: error: conflicting declaration ‘AVCOL_SPC_BT709’
/usr/include/libavutil/pixfmt.h:488:29: error: ‘AVCOL_SPC_BT709’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_BT709’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:618:29: error: conflicting declaration ‘AVCOL_SPC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:489:29: error: ‘AVCOL_SPC_UNSPECIFIED’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:619:29: error: conflicting declaration ‘AVCOL_SPC_FCC’
/usr/include/libavutil/pixfmt.h:491:29: error: ‘AVCOL_SPC_FCC’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_FCC’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:620:29: error: conflicting declaration ‘AVCOL_SPC_BT470BG’
/usr/include/libavutil/pixfmt.h:492:29: error: ‘AVCOL_SPC_BT470BG’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_BT470BG’
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.h:35:0,
                 from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:7:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:621:29: error: conflicting declaration ‘AVCOL_SPC_SMPTE170M’
/usr/include/libavutil/pixfmt.h:493:29: error: ‘AVCOL_SPC_SMPTE170M’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_SMPTE170M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:622:29: error: conflicting declaration ‘AVCOL_SPC_SMPTE240M’
/usr/include/libavutil/pixfmt.h:494:29: error: ‘AVCOL_SPC_SMPTE240M’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_SMPTE240M’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:623:29: error: conflicting declaration ‘AVCOL_SPC_YCOCG’
/usr/include/libavutil/pixfmt.h:496:29: error: ‘AVCOL_SPC_YCOCG’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_YCOCG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:624:5: error: conflicting declaration ‘AVCOL_SPC_NB’
/usr/include/libavutil/pixfmt.h:503:5: error: ‘AVCOL_SPC_NB’ has a previous declaration as ‘AVColorSpace AVCOL_SPC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:628:6: error: multiple definition of ‘enum AVColorRange’
/usr/include/libavutil/pixfmt.h:509:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:629:31: error: conflicting declaration ‘AVCOL_RANGE_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:510:31: error: ‘AVCOL_RANGE_UNSPECIFIED’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:630:31: error: conflicting declaration ‘AVCOL_RANGE_MPEG’
/usr/include/libavutil/pixfmt.h:511:31: error: ‘AVCOL_RANGE_MPEG’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_MPEG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:631:31: error: conflicting declaration ‘AVCOL_RANGE_JPEG’
/usr/include/libavutil/pixfmt.h:512:31: error: ‘AVCOL_RANGE_JPEG’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_JPEG’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:632:5: error: conflicting declaration ‘AVCOL_RANGE_NB’
/usr/include/libavutil/pixfmt.h:513:5: error: ‘AVCOL_RANGE_NB’ has a previous declaration as ‘AVColorRange AVCOL_RANGE_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:640:6: error: multiple definition of ‘enum AVChromaLocation’
/usr/include/libavutil/pixfmt.h:531:6: error: previous definition here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:641:32: error: conflicting declaration ‘AVCHROMA_LOC_UNSPECIFIED’
/usr/include/libavutil/pixfmt.h:532:32: error: ‘AVCHROMA_LOC_UNSPECIFIED’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_UNSPECIFIED’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:642:32: error: conflicting declaration ‘AVCHROMA_LOC_LEFT’
/usr/include/libavutil/pixfmt.h:533:32: error: ‘AVCHROMA_LOC_LEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_LEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:643:32: error: conflicting declaration ‘AVCHROMA_LOC_CENTER’
/usr/include/libavutil/pixfmt.h:534:32: error: ‘AVCHROMA_LOC_CENTER’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_CENTER’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:644:32: error: conflicting declaration ‘AVCHROMA_LOC_TOPLEFT’
/usr/include/libavutil/pixfmt.h:535:32: error: ‘AVCHROMA_LOC_TOPLEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_TOPLEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:645:32: error: conflicting declaration ‘AVCHROMA_LOC_TOP’
/usr/include/libavutil/pixfmt.h:536:32: error: ‘AVCHROMA_LOC_TOP’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_TOP’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:646:32: error: conflicting declaration ‘AVCHROMA_LOC_BOTTOMLEFT’
/usr/include/libavutil/pixfmt.h:537:32: error: ‘AVCHROMA_LOC_BOTTOMLEFT’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_BOTTOMLEFT’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:647:32: error: conflicting declaration ‘AVCHROMA_LOC_BOTTOM’
/usr/include/libavutil/pixfmt.h:538:32: error: ‘AVCHROMA_LOC_BOTTOM’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_BOTTOM’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavcodec/avcodec.h:648:5: error: conflicting declaration ‘AVCHROMA_LOC_NB’
/usr/include/libavutil/pixfmt.h:539:5: error: ‘AVCHROMA_LOC_NB’ has a previous declaration as ‘AVChromaLocation AVCHROMA_LOC_NB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:27: warning: ‘_url_open’ initialized and declared ‘extern’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:27: error: ‘URLContext’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:39: error: ‘h’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:42: error: expected primary-expression before ‘const’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:64: error: expected primary-expression before ‘int’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:39:74: error: initializer expression list treated as compound expression
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:40:1: error: expected ‘,’ or ‘;’ before ‘{’ token
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1376: CMakeFiles/vegastrike.dir/src/ffmpeg_init.o] Error 1
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp: In member function ‘unsigned char* VSImage::ReadDDS()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp:634:20: warning: unused variable ‘internal’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:58:1: warning: ‘void init_destination(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:69:1: warning: ‘boolean empty_output_buffer(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:82:1: warning: ‘void term_destination(jpeg_compress_struct*)’ defined but not used
make[1]: *** [CMakeFiles/Makefile2:268: CMakeFiles/vegastrike.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:04 pm

Changing avutil1_INCLUDEDIR:INTERNAL to new path... as well as...

Code: Select all
avutil1_STATIC_INCLUDE_DIRS:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavutil/
avutil1_STATIC_LDFLAGS:INTERNAL=-lavutil;-pthread;-lm;-lOpenCL;-lXv;-lX11;-lXext
avutil1_STATIC_LDFLAGS_OTHER:INTERNAL=-pthread
avutil1_STATIC_LIBDIR:INTERNAL=
avutil1_STATIC_LIBRARIES:INTERNAL=avutil;m;OpenCL;Xv;X11;Xext
avutil1_STATIC_LIBRARY_DIRS:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib/
avutil1_STATIC_LIBS:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib/
avutil1_STATIC_LIBS_L:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib/
avutil1_STATIC_LIBS_OTHER:INTERNAL=
avutil1_STATIC_LIBS_PATHS:INTERNAL=
avutil1_VERSION:INTERNAL=56.22.100
avutil1_libavutil_INCLUDEDIR:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/include/libavutil/
avutil1_libavutil_LIBDIR:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib/
avutil1_libavutil_PREFIX:INTERNAL=/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/


This is getting really hard to document...
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:24 pm

Ahh! Why does it keep including /usr/include/libavutil/pixfmt.h?!?!?!?! I have tried stopping it from selecting this everywhere!
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:26 pm

I'm just going to delete CMakeCache.txt. Maybe this time I can actually remember to document what I did...
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:34 pm

This... seems to work a bit better...

Code: Select all
build % cmake .. -DDISABLE_OGRE=true -DAVCODEC_LIBRARY=../ffmpeg/lib/libavcodec.a -DFFMPEG_INCLUDE_DIRS=../ffmpeg/include/
CMake Deprecation Warning at CMakeLists.txt:494 (cmake_policy):
  The OLD behavior for policy CMP0003 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


++ Using Internal Boost
++ OpenGL found : /usr/lib/libGL.so;/usr/lib/libGLU.so
++ GLUT found : /usr/lib/libglut.so;/usr/lib/libXmu.so;/usr/lib/libXi.so
++ Found OpenAL
++ SDL Found
-- Found Vorbis: /usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/libogg.so
-- Found FFmpeg: /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib/libavcodec.a;/usr/lib/libavformat.so;/usr/lib/libavutil.so;swscale
++ FFmpeg's libswscale found.
-- Ogre disabled
-- Found GTK2: /usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libatk-1.0.so
-- Compiling mesh_tool without OgreMesh support: Ogre not found
Default build type is Release, no cpu opts enabled.
-- Configuring done
CMake Warning at CMakeLists.txt:677 (add_executable):
  Cannot generate a safe linker search path for target vegaserver because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libavformat.so] in /usr/lib may be hidden by files in:
      /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib
    link library [libavutil.so] in /usr/lib may be hidden by files in:
      /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib

  Some of these libraries may not be found correctly.


CMake Warning at CMakeLists.txt:671 (add_executable):
  Cannot generate a safe linker search path for target vegastrike because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libavformat.so] in /usr/lib may be hidden by files in:
      /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib
    link library [libavutil.so] in /usr/lib may be hidden by files in:
      /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/ffmpeg/lib

  Some of these libraries may not be found correctly.


-- Generating done
-- Build files have been written to: /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/build


For reference, I have compiled and installed ffmpeg 1.0 to an ffmpeg directory in the main download.
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:39 pm

Now, after the reset, I have a new error, seemingly out of nowhere...

Code: Select all
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:25:0:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h: In member function ‘PyObject* PythonBasicType::NewObject() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h:43:57: error: ‘PyString_FromString’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp: In member function ‘bool Orders::AggressiveAI::ProcessCurrentFgDirective(Flightgroup*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:759:22: warning: unused variable ‘callme’
make[2]: *** [CMakeFiles/engine_com.dir/build.make:63: CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: CMakeFiles/engine_com.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:43 pm

Aha! This is where my documentation was lacking! At some point, I changed the python include dirs to python 2.7, but forgot to do it in the new config file!

New invocation:

Code: Select all
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:25:0:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h: In member function ‘PyObject* PythonBasicType::NewObject() const’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/python/python_compile.h:43:57: error: ‘PyString_FromString’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp: In member function ‘bool Orders::AggressiveAI::ProcessCurrentFgDirective(Flightgroup*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/cmd/ai/aggressive.cpp:759:22: warning: unused variable ‘callme’
make[2]: *** [CMakeFiles/engine_com.dir/build.make:63: CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: CMakeFiles/engine_com.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:50 pm

Clearly, my redirection in cmake options only has not been good enough...

Code: Select all
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::nextFrame(bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:99:36: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4771)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:101:33: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4771)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:143:21: warning: ‘void av_free_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4416)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:143:45: warning: ‘void av_free_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4416)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In constructor ‘VidFileImpl::VidFileImpl(size_t, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:46:15: warning: ‘VidFileImpl::pStream’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:43:15: warning:   ‘AVFrame* VidFileImpl::pFrameRGB’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:160:14: warning: ‘VidFileImpl::frameBuffer’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:50:17: warning:   ‘uint8_t* VidFileImpl::packetBuffer’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:51:17: warning: ‘VidFileImpl::packetBufferSize’ will be initialized after
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:48:17: warning:   ‘bool VidFileImpl::frameReady’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:166:5: warning:   when initialized here
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In destructor ‘VidFileImpl::~VidFileImpl()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:204:45: error: ‘av_close_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::open(const std::string&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:216:93: error: ‘av_open_input_file’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:217:54: error: ‘av_find_stream_info’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:227:41: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:230:44: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:230:44: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:231:50: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:231:50: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:232:41: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:232:41: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:235:62: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:235:62: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:236:84: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:236:84: warning: ‘AVStream::codec’ is deprecated (declared at /usr/include/libavformat/avformat.h:878)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:244:45: error: ‘avcodec_open’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:245:45: error: ‘avcodec_alloc_frame’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:258:39: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:259:40: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:273:29: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:5450)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:273:49: error: ‘PIX_FMT_RGB24’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:276:9: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:5435)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp: In member function ‘bool VidFileImpl::seek(float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:301:28: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:303:30: warning: comparison between signed and unsigned integer expressions
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vid_file.cpp:316:29: warning: comparison between signed and unsigned integer expressions
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1363: CMakeFiles/vegastrike.dir/src/gfx/vid_file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_open(URLContext*, const char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:53:10: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_close(URLContext*)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:60:24: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_read(URLContext*, unsigned char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:66:26: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘offset_t _url_seek(URLContext*, offset_t, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:84:23: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:85:30: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:87:30: error: invalid use of incomplete type ‘struct URLContext’
/usr/include/libavformat/avio.h:104:12: error: forward declaration of ‘struct URLContext’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:91:20: error: variable ‘URLProtocol vsFileProtocol’ has initializer but incomplete type
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘void FFMpeg::initLibraries()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:115:9: warning: ‘void av_register_all()’ is deprecated (declared at /usr/include/libavformat/avformat.h:2043)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:115:25: warning: ‘void av_register_all()’ is deprecated (declared at /usr/include/libavformat/avformat.h:2043)
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:117:72: error: ‘av_register_protocol2’ was not declared in this scope
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘offset_t _url_seek(URLContext*, offset_t, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:89:1: warning: control reaches end of non-void function
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp: In function ‘int _url_read(URLContext*, unsigned char*, int)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/ffmpeg_init.cpp:67:1: warning: control reaches end of non-void function
make[2]: *** [CMakeFiles/vegastrike.dir/build.make:1376: CMakeFiles/vegastrike.dir/src/ffmpeg_init.o] Error 1
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/quadtree_xml.cpp: In member function ‘void QuadTree::LoadXML(const char*, const Vector&, float)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/quadtree_xml.cpp:416:24: warning: unused variable ‘palette’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/quadtree_xml.cpp:349:15: warning: unused variable ‘chunk_size’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp: In member function ‘unsigned char* VSImage::ReadDDS()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/vsimage.cpp:634:20: warning: unused variable ‘internal’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h: At global scope:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:58:1: warning: ‘void init_destination(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:69:1: warning: ‘boolean empty_output_buffer(jpeg_compress_struct*)’ defined but not used
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/jpeg_memory.h:82:1: warning: ‘void term_destination(jpeg_compress_struct*)’ defined but not used
In file included from /home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:39:0:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navitemstodraw.h: In static member function ‘static void NavigationSystem::DrawNavCircle(float, float, float, float, float, const GFXColor&)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navitemstodraw.h:319:11: warning: unused variable ‘alpha’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp: In member function ‘void NavigationSystem::DrawShip()’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:633:15: warning: unused variable ‘deltay’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:638:15: warning: unused variable ‘foundpos’
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp: In member function ‘void NavigationSystem::Adjust3dTransformation(bool, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1392:35: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rx_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1393:35: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::ry_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1394:35: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rz_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1412:64: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rx_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1413:64: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::ry_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1414:64: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rz_s’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1423:31: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rx’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1424:31: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::ry’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1425:31: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rz’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1443:60: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rx’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1444:60: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::ry’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1445:60: warning: operation on ‘((NavigationSystem*)this)->NavigationSystem::rz’ may be undefined
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp: In member function ‘void NavigationSystem::TranslateCoordinates(QVector&, QVector&, float, float, float, float&, float&, float&, float&, float&, float&, float&, bool)’:
/home/happysmash27/Elŝutoj/Tars/vegastrike/vegastrike-src-0.5.1.r1/src/gfx/nav/navscreen.cpp:1766:11: warning: unused variable ‘itemscale’
make[1]: *** [CMakeFiles/Makefile2:268: CMakeFiles/vegastrike.dir/all] Error 2
make: *** [Makefile:84: all] Error 2


Looking in the config, it seems I just forgot a couple things! New invocation:

Code: Select all
cmake .. -DDISABLE_OGRE=true -DAVCODEC_LIBRARY=../ffmpeg/lib/libavcodec.a -DAVFORMAT_INCLUDE_DIR=../ffmpeg/include/libavformat -DAVFORMAT_LIBRARY=../ffmpeg/lib/libavformat.a -DAVUTIL_LIBRARY=../ffmpeg/lib/libavutil.a -DFFMPEG_INCLUDE_DIRS=../ffmpeg/include/ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 6:55 pm

Another addition to the command has occured:

Code: Select all
cmake .. -DDISABLE_OGRE=true -DAVCODEC_LIBRARY=../ffmpeg/lib/libavcodec.a -DAVFORMAT_INCLUDE_DIR=../ffmpeg/include/libavformat -DAVFORMAT_LIBRARY=../ffmpeg/lib/libavformat.a -DAVUTIL_LIBRARY=../ffmpeg/lib/libavutil.a -DFFMPEG_INCLUDE_DIRS=../ffmpeg/include/ -DFFMPEG_INCLUDE_DIR=../ffmpeg/include/libavcodec -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so


Now I have the same problem, of the new avcodec.h being selected.
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby happysmash27 » Tue Jul 09, 2019 7:00 pm

Tried:

Code: Select all
cmake .. -DDISABLE_OGRE=true -DAVCODEC_LIBRARY=../ffmpeg/lib/libavcodec.a -DAVFORMAT_INCLUDE_DIR=../ffmpeg/include/libavformat -DAVFORMAT_LIBRARY=../ffmpeg/lib/libavformat.a -DAVUTIL_LIBRARY=../ffmpeg/lib/libavutil.a -DFFMPEG_INCLUDE_DIRS=../ffmpeg/include/ -DFFMPEG_INCLUDE_DIR=../ffmpeg/include/libavcodec -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so


...and it still tries to pull in /usr/include/libavutil/pixfmt.h :(
happysmash27
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Mon Jul 08, 2019 11:55 pm

Re: Trouble compiling, trying to find good build environment

Postby p8Q4jgRoJ7n6qKXN » Wed Jul 10, 2019 10:55 am

I haven't read all the errors you are getting for understanding but:

I recently compiled vegastrike and documented all the commands required to do so from a fresh install of ubuntu 18.04 in a reply in this thread.

viewtopic.php?f=5&t=45136
p8Q4jgRoJ7n6qKXN
Insys Pilot
Insys Pilot
 
Posts: 2
Joined: Sat Jun 08, 2019 4:26 pm


Next

Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest

cron