Linux - Odd crash upon "make"

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).
Post Reply
ertw
Trader
Trader
Posts: 16
Joined: Sat Apr 25, 2009 4:45 pm

Linux - Odd crash upon "make"

Post by ertw »

Good morning!

I've been trying to compile vegastrike 0.5.1.r1 (using Ubuntu 14.04) from source, but it won't let me.

When I run ./configure, everything seems to go fine, "ccmake .." gives no error as well (in case I'm missing something, I'll attach the config.log...). The terminal does its thing, fires a couple of warnings and gives me the prompt.

And when I input "make", all hell breaks loose.

Code: Select all

canopus@Carina:~/vegastrike-src-0.5.1.r1$ make
make  all-am
make[1]: Entering directory `/home/canopus/vegastrike-src-0.5.1.r1'
depbase=`echo src/networking/lowlevel/netui.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS    -I./src   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/netui.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/netui.o src/networking/lowlevel/netui.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/networking/lowlevel/packet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS    -I./src   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/packet.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/packet.o src/networking/lowlevel/packet.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/networking/lowlevel/packetmem.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS    -I./src   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/packetmem.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/packetmem.o src/networking/lowlevel/packetmem.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
src/networking/lowlevel/packetmem.cpp: In member function ‘void PacketMem::inner_set(void*, size_t, bool)’:
src/networking/lowlevel/packetmem.cpp:105:26: error: no matching function for call to ‘boost::shared_array<char>::reset(int)’
         _buffer.reset( 0 );
                          ^
src/networking/lowlevel/packetmem.cpp:105:26: note: candidates are:
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from src/networking/lowlevel/packetmem.h:10,
                 from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note: void boost::shared_array<T>::reset() [with T = char]
     void reset() BOOST_NOEXCEPT
          ^
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note:   candidate expects 0 arguments, 1 provided
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note: template<class Y> void boost::shared_array<T>::reset(Y*) [with Y = Y; T = char]
     template<class Y> void reset( Y * p ) // Y must be complete
                            ^
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note:   template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from src/networking/lowlevel/packetmem.h:10,
                 from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note: template<class Y, class D> void boost::shared_array<T>::reset(Y*, D) [with Y = Y; D = D; T = char]
     template<class Y, class D> void reset( Y * p, D d )
                                     ^
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note:   template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from src/networking/lowlevel/packetmem.h:10,
                 from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note: template<class Y, class D, class A> void boost::shared_array<T>::reset(Y*, D, A) [with Y = Y; D = D; A = A; T = char]
     template<class Y, class D, class A> void reset( Y * p, D d, A a )
                                              ^
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note:   template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from src/networking/lowlevel/packetmem.h:10,
                 from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note: template<class Y> void boost::shared_array<T>::reset(const boost::shared_array<Y>&, boost::shared_array<T>::element_type*) [with Y = Y; T = char]
     template<class Y> void reset( shared_array<Y> const & r, element_type * p )
                            ^
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note:   template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘const boost::shared_array<T>’ and ‘int’
         _buffer.reset( 0 );
                          ^
make[1]: *** [src/networking/lowlevel/packetmem.o] Error 1
make[1]: Leaving directory `/home/canopus/vegastrike-src-0.5.1.r1'
make: *** [all] Error 2
canopus@Carina:~/vegastrike-src-0.5.1.r1$ 
Upon entering ./src/networking/lowlevel I find packetmem.cpp , packetmem.h but, strangely enough, there is no such thing as packetmem.o, even if most other <subject name here>.cpp and .h have a corresponding .o .

note: I have been trying to muck around with ubuntu 13.10 and 13.04 repositories as well, but there seems to be quite a problem with unresolved dependencies, particularly with libboost-python (I have 1.54).

Any thoughts?
You do not have the required permissions to view the files attached to this post.
In universe self-describing one-liner which is pretty pathetic.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

Welcome aboard ertw I''ll have a close look at the config file you attached since I am using Mint 17.1 which is based on Trusty tahr I haven't built it yet will be doing so today.

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
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

Building ATM did not use configure at all only Cmake as auto-tools support in no longer maintained at all so that may be why you get the errors at the make step.Build just finished runs just fine in userland ATM as I never actually do a make install on the project now to get vega-trek running on *nix the primary guy only runs Win7.

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
ertw
Trader
Trader
Posts: 16
Joined: Sat Apr 25, 2009 4:45 pm

Re: Linux - Odd crash upon "make"

Post by ertw »

Hey loki, many many thanks for your quick reply!

However, this packetmem.o just seems to refuse to work.

Copy-paste from terminal

Code: Select all

canopus@Carina:~$ cd ./vegastrike-src-0.5.1.r1/build
canopus@Carina:~/vegastrike-src-0.5.1.r1/build$ ccmake ..


canopus@Carina:~/vegastrike-src-0.5.1.r1/build$ cmake ..
++ Using Internal Boost
CMake Warning (dev) at CMakeLists.txt:713 (add_subdirectory):
  The source directory

    /home/canopus/vegastrike-src-0.5.1.r1/boost/1_45

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

++ OpenGL found : /usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
++ GLUT found : /usr/lib/x86_64-linux-gnu/libglut.so;/usr/lib/x86_64-linux-gnu/libXmu.so;/usr/lib/x86_64-linux-gnu/libXi.so
++ Found OpenAL
++ SDL Found
-- Found Vorbis: /usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisfile.so;/usr/lib/x86_64-linux-gnu/libogg.so
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;swscale
++ FFmpeg's libswscale found.
-- Found Ogre: 1.9.0
++ Found Ogre: 1.9.0
-- Found GTK2: /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so;/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so;/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so;/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so;/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libpango-1.0.so;/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so;/usr/lib/x86_64-linux-gnu/libatk-1.0.so
++ Compiling mesh_tool with OgreMesh support
Default build type is Release, no cpu opts enabled. 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/canopus/vegastrike-src-0.5.1.r1/build

canopus@Carina:~/vegastrike-src-0.5.1.r1/build$ make

//...(*progresses, fires warnings eery now and then, most of them set but unused var)
//but from now on, it goes down on a slippery slope
[ 36%] Building CXX object CMakeFiles/netgeneric.dir/src/networking/zonemgr.o
In file included from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/zonemgr.cpp:16:0:
/home/canopus/vegastrike-src-0.5.1.r1/src/vs_random.h: In member function ‘unsigned int VSRandom::genrand_int32()’:
/home/canopus/vegastrike-src-0.5.1.r1/src/vs_random.h:132:57: warning: narrowing conversion of ‘VSRandom::MATRIX_A()’ from ‘int’ to ‘unsigned int’ inside { } is ill-formed in C++11 [-Wnarrowing]
         static unsigned int mag01[2] = {0x0UL, MATRIX_A()};
                                                         ^
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/zonemgr.cpp: In member function ‘void ZoneMgr::displayNPCs()’:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/zonemgr.cpp:911:22: warning: unused variable ‘un’ [-Wunused-variable]
             Unit    *un;
                      ^
Linking CXX static library libnetgeneric.a
[ 37%] Built target netgeneric
Scanning dependencies of target netlowlevel
[ 37%] Building CXX object CMakeFiles/netlowlevel.dir/src/networking/lowlevel/netui.o
[ 38%] Building CXX object CMakeFiles/netlowlevel.dir/src/networking/lowlevel/packet.o
[ 38%] Building CXX object CMakeFiles/netlowlevel.dir/src/networking/lowlevel/packetmem.o
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp: In member function ‘void PacketMem::inner_set(void*, size_t, bool)’:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: error: no matching function for call to ‘boost::shared_array<char>::reset(int)’
         _buffer.reset( 0 );
                          ^
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: note: candidates are:
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.h:10,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note: void boost::shared_array<T>::reset() [with T = char]
     void reset() BOOST_NOEXCEPT
          ^
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note:   candidate expects 0 arguments, 1 provided
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note: template<class Y> void boost::shared_array<T>::reset(Y*) [with Y = Y; T = char]
     template<class Y> void reset( Y * p ) // Y must be complete
                            ^
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note:   template argument deduction/substitution failed:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.h:10,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note: template<class Y, class D> void boost::shared_array<T>::reset(Y*, D) [with Y = Y; D = D; T = char]
     template<class Y, class D> void reset( Y * p, D d )
                                     ^
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note:   template argument deduction/substitution failed:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.h:10,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note: template<class Y, class D, class A> void boost::shared_array<T>::reset(Y*, D, A) [with Y = Y; D = D; A = A; T = char]
     template<class Y, class D, class A> void reset( Y * p, D d, A a )
                                              ^
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note:   template argument deduction/substitution failed:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘Y*’ and ‘int’
         _buffer.reset( 0 );
                          ^
In file included from /usr/include/boost/shared_array.hpp:17:0,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.h:10,
                 from /home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note: template<class Y> void boost::shared_array<T>::reset(const boost::shared_array<Y>&, boost::shared_array<T>::element_type*) [with Y = Y; T = char]
     template<class Y> void reset( shared_array<Y> const & r, element_type * p )
                            ^
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note:   template argument deduction/substitution failed:
/home/canopus/vegastrike-src-0.5.1.r1/src/networking/lowlevel/packetmem.cpp:105:26: note:   mismatched types ‘const boost::shared_array<T>’ and ‘int’
         _buffer.reset( 0 );
                          ^
make[2]: *** [CMakeFiles/netlowlevel.dir/src/networking/lowlevel/packetmem.o] Error 1
make[1]: *** [CMakeFiles/netlowlevel.dir/all] Error 2
make: *** [all] Error 2
If I'm not mistaken, cmake just generates some "build files" which are more or less like the results from ./configure. I do not rule out to be totally missing the point, especially since I am quite a noob when ./configure make make install refuses to work.
Also, does the install-sh actually do anything? From what I understand (from ./install-sh --help), it is just a copying script, but then again... It just keeps crashing on me :'(
In universe self-describing one-liner which is pretty pathetic.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

It compiles and links successfully I used the Cmake-gui to generate the build files for make you could also generate for Code-blocks if you feel more comfortable in a Visual stile IDE. Not sure but those errors look like boost API changes I am using version 1.53 with no problems so it just might be that the old version of boost is just not right just guessing as I not a C++ mavin. Good luck BTW I am using the latest svn source which has external links to the boost repos.

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
ertw
Trader
Trader
Posts: 16
Joined: Sat Apr 25, 2009 4:45 pm

Re: Linux - Odd crash upon "make"

Post by ertw »

Nope, still not working. The 0.5.1.r1 does not work, the svn gives me the following error.

Code: Select all

Note that the wall of prompt is so massive it doesn't even fit in the terminal, plus, to me, it looks like an aborted infinite loop.

/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:680:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check683’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:683:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((InputIterator<iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::ForwardContainer<C>::~ForwardContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check703’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:700:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::Mutable_ForwardContainer<C>::~Mutable_ForwardContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check716’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:713:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::ReversibleContainer<C>::~ReversibleContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check731’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:729:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check733’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:733:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((BidirectionalIterator<const_reverse_iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::Mutable_ReversibleContainer<C>::~Mutable_ReversibleContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check755’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:755:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((Mutable_BidirectionalIterator<iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check756’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:756:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((Mutable_BidirectionalIterator<reverse_iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::RandomAccessContainer<C>::~RandomAccessContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check776’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:773:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::Mutable_RandomAccessContainer<C>::~Mutable_RandomAccessContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check800’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:800:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((Mutable_RandomAccessIterator<typename self::iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check801’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:801:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((Mutable_RandomAccessIterator<typename self::reverse_iterator>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp: In destructor ‘boost::AssociativeContainer<C>::~AssociativeContainer()’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check905’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:905:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((BinaryPredicate<key_compare,key_type,key_type>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check908’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept_check.hpp:908:11: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
           BOOST_CONCEPT_ASSERT((BinaryPredicate<value_compare,value_type_,value_type_>));
           ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp: In function ‘bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&)’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check172’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/concepts.hpp:92:45: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp:172:13: note: in expansion of macro ‘BOOST_RANGE_CONCEPT_ASSERT’
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange1> ));
             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check173’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/concepts.hpp:92:45: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp:173:13: note: in expansion of macro ‘BOOST_RANGE_CONCEPT_ASSERT’
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange2> ));
             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp: In function ‘bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&, BinaryPredicate)’:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check185’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/concepts.hpp:92:45: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp:185:13: note: in expansion of macro ‘BOOST_RANGE_CONCEPT_ASSERT’
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange1> ));
             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check186’ locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/concepts.hpp:92:45: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/range/algorithm/equal.hpp:186:13: note: in expansion of macro ‘BOOST_RANGE_CONCEPT_ASSERT’
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange2> ));
             ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:142:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sprintf( tmp, "%06X", *(unsigned int*) &polygon_offset );
                                             ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:144:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sprintf( tmp, "%06X", *(unsigned int*) &alpha_test );
                                             ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const Mesh_vec3f&)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:153:17: warning: unused variable ‘tmp’ [-Wunused-variable]
     static char tmp[16];
                 ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const XML&)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:192:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<textureholder>::size_type {aka long unsigned int}’ [-Wformat=]
     sprintf( tmp, "-%d-", memfile.textures.size() );
                                                   ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:200:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<Mesh_vec3f>::size_type {aka long unsigned int}’ [-Wformat=]
     sprintf( tmp, "-%d-", memfile.detailplanes.size() );
                                                       ^
/home/canopus/vegastrike/vegastrike/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/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:443:12: warning: unused variable ‘eqg’ [-Wunused-variable]
     bool   eqg   = (fabs( defg-g ) < 0.001);
            ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoOrganiseBuffers(Ogre::VertexData*, Ogre::MeshPtr)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1084:91: error: no matching function for call to ‘Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool)’
             mesh->hasSkeleton(), mesh->hasVertexAnimation() || (mesh->getPoseCount() > 0) );
                                                                                           ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1084:91: note: candidate is:
In file included from /usr/include/OGRE/OgreKeyFrame.h:36:0,
                 from /usr/include/OGRE/OgreAnimationTrack.h:35,
                 from /usr/include/OGRE/OgreAnimation.h:36,
                 from /usr/include/OGRE/Ogre.h:33,
                 from /home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:5:
/usr/include/OGRE/OgreHardwareVertexBuffer.h:391:28: note: Ogre::VertexDeclaration* Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool, bool) const
         VertexDeclaration* getAutoOrganisedDeclaration(bool skeletalAnimation,
                            ^
/usr/include/OGRE/OgreHardwareVertexBuffer.h:391:28: note:   candidate expects 3 arguments, 2 provided
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::Optimize(void*)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1104:20: warning: unused variable ‘idx’ [-Wunused-variable]
     unsigned short idx = 0;
                    ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp: In function ‘void OgreMeshConverter::AutoLOD(void*, bool, int, float, float)’:
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1119:15: error: ‘ProgressiveMesh’ in namespace ‘Ogre’ does not name a type
         const Ogre::ProgressiveMesh::VertexReductionQuota quota = Ogre::ProgressiveMesh::VRQ_PROPORTIONAL;
               ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1138:18: error: ‘class Ogre::Mesh’ has no member named ‘generateLodLevels’
         newMesh->generateLodLevels( distanceList, quota, reduction );
                  ^
/home/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:1138:51: error: ‘quota’ was not declared in this scope
         newMesh->generateLodLevels( distanceList, quota, reduction );
                                                   ^
In file included from /home/canopus/vegastrike/vegastrike/boost/1_53/boost/system/system_error.hpp:14:0,
                 from /home/canopus/vegastrike/vegastrike/boost/1_53/boost/thread/exceptions.hpp:22,
                 from /home/canopus/vegastrike/vegastrike/boost/1_53/boost/thread/pthread/recursive_mutex.hpp:11,
                 from /home/canopus/vegastrike/vegastrike/boost/1_53/boost/thread/recursive_mutex.hpp:16,
                 from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:47,
                 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/canopus/vegastrike/vegastrike/objconv/mesher/to_OgreMesh.cpp:5:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/system/error_code.hpp: At global scope:
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/home/canopus/vegastrike/vegastrike/boost/1_53/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
make[2]: *** [objconv/CMakeFiles/mesh_tool.dir/mesher/to_OgreMesh.cpp.o] Error 1
make[1]: *** [objconv/CMakeFiles/mesh_tool.dir/all] Error 2
make: *** [all] Error 2
Also, if I follow the instructions for the SVN install found in the wiki, when I do ./bootstrap-sh, it does not find the file, because it's not *bleep* there.

I don't know, but I'm starting to think that VS is sort of broken for linux (perhaps the c-compiler is now more strict with the syntax). I thank everyone in advance if yu could try to help me :')
In universe self-describing one-liner which is pretty pathetic.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

If it's broken why did it work for me with out the ./bootstrap-sh or ./configure those instructions are from the old wiki on sourcefogre not from vegastrike.org and are three years out of date as I stated in my first post we do not use the auto-tools at all! use cnake to generate all the make files not configure the second error is know because the Ogre3D api has changed so mesher will not build with out the patch detailed in an other thread that I started myself.

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
ertw
Trader
Trader
Posts: 16
Joined: Sat Apr 25, 2009 4:45 pm

Re: Linux - Odd crash upon "make"

Post by ertw »

Nope, still not working. Now gives me another different error. This is frustrating. :x :x :x :x . Now that I have solved the Ogre issue, another frelling thing (apparently libavformat) comes to take its place.

Failure ahoy.

Code: Select all

/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp: In destructor ‘VidFileImpl::~VidFileImpl()’:
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:204:13: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
             av_close_input_file( pFormatCtx );
             ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:204:45: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
             av_close_input_file( pFormatCtx );
                                             ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp: In member function ‘void VidFileImpl::open(const string&)’:
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:217:54: error: ‘av_find_stream_info’ was not declared in this scope
             || ( 0 > av_find_stream_info( pFormatCtx ) ) ) throw VidFile::FileOpenException( errbase+" (wrong format or)" );
                                                      ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:244:45: error: ‘avcodec_open’ was not declared in this scope
         if (avcodec_open( pCodecCtx, pCodec ) < 0) throw VidFile::UnsupportedCodecException( errbase+" (unsupported codec)" );
                                             ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:258:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while (width < pCodecCtx->width && width <= (fbDimensionLimit/2)) width *= 2;
                                       ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:259:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while (height < pCodecCtx->height && height <= (fbDimensionLimit/2)) height *= 2;
                                        ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp: In member function ‘bool VidFileImpl::seek(float)’:
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:301:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if ( (targetPTS >= prevPTS) && (targetPTS < pNextFrameYUV->pts) ) {
                                                                    ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:331:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (pNextFrameYUV->pts < targetPTS) {
                                          ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:337:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 while (packet.dts < targetPTS) {
                                     ^
/home/canopus/vegastrike/vegastrike/src/gfx/vid_file.cpp:343:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 while (pNextFrameYUV->pts < targetPTS) {
                                             ^
make[2]: *** [CMakeFiles/vegastrike.dir/src/gfx/vid_file.cpp.o] Error 1
make[1]: *** [CMakeFiles/vegastrike.dir/all] Error 2
make: *** [all] Error 2
And yes, I was using the wiki instructions out of despair and as a last resort. I did try it with cmake, with automake, with manual ./configure (that the 0.5.1.r1), and not more ways because I do not know any.

Also, have a good afternoon :)
In universe self-describing one-liner which is pretty pathetic.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

That is from the ffmpeg support which is entirely optional try --without ffmpeg at the cmake stage there is content that needs it yet again an API change in the lib that has not been taken care of yet.

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
ertw
Trader
Trader
Posts: 16
Joined: Sat Apr 25, 2009 4:45 pm

Re: Linux - Odd crash upon "make"

Post by ertw »

Thanks! That did the trick for SVN, but I'm still unable to install the stable version due to packetmem.o.
In universe self-describing one-liner which is pretty pathetic.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

ertw wrote:Thanks! That did the trick for SVN, but I'm still unable to install the stable version due to packetmem.o.
I would consider the svn to be stable ATM as there has been little change in several months now :( any way glad you got it running enjoy the game.

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
TBeholder
Elite Venturer
Elite Venturer
Posts: 753
Joined: Sat Apr 15, 2006 2:40 am
Location: chthonic safety

Re: Linux - Odd crash upon "make"

Post by TBeholder »

I updated wiki page (HowTo:Compile from SVN on Linux - VsWiki) to current "works for me". If anyone got questions/corrections to that, please add.
"Two Eyes Good, Eleven Eyes Better." -Michele Carter
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Linux - Odd crash upon "make"

Post by loki1950 »

Thank you and a happy new year TB never got into wiki editing :oops:

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
Post Reply