r12798 linux compile : to_OgreMesh.cpp:46: error: ref

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).
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

svn rev 12798 on ubunut 10.04
i followed these instructions :
http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29
during "make" i got the following errors :

Code: Select all

objconv/mesher/to_OgreMesh.cpp:46: error: reference to 'map' is ambiguous 
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error:                 template<class K, class V, class P, class A> struct Ogre::map
(see attachment for config.log)

please help =)
ps : congrats on finishing the soundsystem =)


full error output :

Code: Select all

...
mv -f src/.deps/mesher-xml_support.Tpo src/.deps/mesher-xml_support.Po
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG   -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -pthread -I/usr/local/include -I/usr/local/include/OGRE   -I../../src -I../.. -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/mesher/Modules/mesher-XMesh_to_Ogre.o -MD -MP -MF objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Tpo -c -o objconv/mesher/Modules/mesher-XMesh_to_Ogre.o `test -f 'objconv/mesher/Modules/XMesh_to_Ogre.cpp' || echo './'`objconv/mesher/Modules/XMesh_to_Ogre.cpp
mv -f objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Tpo objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Po
g++ -DHAVE_CONFIG_H -I.  -I../../src -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG   -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src   -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/mesh_xml-xml_support.o -MD -MP -MF src/.deps/mesh_xml-xml_support.Tpo -c -o src/mesh_xml-xml_support.o `test -f 'src/xml_support.cpp' || echo './'`src/xml_support.cpp
mv -f src/.deps/mesh_xml-xml_support.Tpo src/.deps/mesh_xml-xml_support.Po
g++ -DHAVE_CONFIG_H -I.  -I../../src -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG   -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src   -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/MeshParse/tempgen-template_generator.o -MD -MP -MF objconv/MeshParse/.deps/tempgen-template_generator.Tpo -c -o objconv/MeshParse/tempgen-template_generator.o `test -f 'objconv/MeshParse/template_generator.cpp' || echo './'`objconv/MeshParse/template_generator.cpp
objconv/mesher/to_OgreMesh.cpp:46: error: reference to 'map' is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error:                 template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:46: error: 'map' has not been declared
objconv/mesher/to_OgreMesh.cpp:46: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'void replaceVars(std::string&, int)':
objconv/mesher/to_OgreMesh.cpp:57: error: reference to 'map' is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error:                 template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before ',' token
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before '>' token
objconv/mesher/to_OgreMesh.cpp:57: error: '::const_iterator' has not been declared
objconv/mesher/to_OgreMesh.cpp:57: error: expected ';' before 'it'
objconv/mesher/to_OgreMesh.cpp:58: error: 'it' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:58: error: 'variables' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function 'std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)':
objconv/mesher/to_OgreMesh.cpp:121: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:123: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:125: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:127: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:145: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:145: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'std::string& operator+=(std::string&, int)':
objconv/mesher/to_OgreMesh.cpp:147: error: expected primary-expression before 'unsigned'
objconv/mesher/to_OgreMesh.cpp:147: error: expected ';' before 'unsigned'
objconv/mesher/to_OgreMesh.cpp:147: error: 'it' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:147: error: 'ucarr' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:152: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:152: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'std::string tostring(int)':
objconv/mesher/to_OgreMesh.cpp:155: error: 'ucarr' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function 'std::string getMaterialHash(const XML&)':
objconv/mesher/to_OgreMesh.cpp:164: error: reference to 'vector' is ambiguous
/usr/include/c++/4.4/bits/stl_vector.h:170: error: candidates are: template<class _Tp, class _Alloc> class std::vector
/usr/local/include/OGRE/OgrePrerequisites.h:467: error:                 template<class T, class A> struct Ogre::vector
objconv/mesher/to_OgreMesh.cpp:164: error: expected primary-expression before '>' token
objconv/mesher/to_OgreMesh.cpp:164: error: '::size_type' has not been declared
objconv/mesher/to_OgreMesh.cpp:164: error: expected ';' before 'i'
objconv/mesher/to_OgreMesh.cpp:177: error: 'i' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:187: error: no match for 'operator+=' in 'hash += memfile->XML::detailtexture.textureholder::name'
/usr/include/c++/4.4/bits/basic_string.h:790: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:799: note:                 std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:808: note:                 std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
./src/gfx/xvector.h:169: note:                 Vector operator+=(Vector&, const Vector&)
./src/gfx/xvector.h:169: note:                 QVector operator+=(QVector&, const QVector&)
objconv/mesher/to_OgreMesh.cpp:145: note:                 std::string& operator+=(std::string&, int)
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:201: error: ISO C++ forbids declaration of 'map' with no type
objconv/mesher/to_OgreMesh.cpp:201: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp:202: error: ISO C++ forbids declaration of 'set' with no type
objconv/mesher/to_OgreMesh.cpp:202: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp:204: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:204: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'void* OgreMeshConverter::Init(const char*, const char*)':
objconv/mesher/to_OgreMesh.cpp:309: error: 'struct outputContext' has no member named 'predefined_materials'
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:347: error: expected initializer before '<' token
objconv/mesher/to_OgreMesh.cpp:1186: error: expected '}' at end of input
make[1]: *** [objconv/mesher/mesher-to_OgreMesh.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
mv -f objconv/MeshParse/.deps/tempgen-template_generator.Tpo objconv/MeshParse/.deps/tempgen-template_generator.Po
make[1]: Verlasse Verzeichnis '/cavern/code/VegaStrike/vegastrike'
make: *** [all] Fehler 2
You do not have the required permissions to view the files attached to this post.
CLoneWolf
ISO Party Member
ISO Party Member
Posts: 443
Joined: Thu May 01, 2008 5:14 pm

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by CLoneWolf »

If you don't need the mesher, try doing a "make vegastrike vegaserver vssetup" instead of a make ( = make all)
Credits to this post though the problem there was different.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

You must be using a newer version of Ogre that defines its own map.

That's messy... I'll have to see how solve that.

In the meanwhile, try CLoneWolf's suggestion.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

thanks =)
i've got the latest ogre compiled from source : Version 1.7.1 (Cthugha)
you can use code like

Code: Select all

#if OGRE_VERSION >= 0x10700
or

Code: Select all

#if OGRE_VERSION_MINOR >= 7
to distinguish maybe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

hmm, compiling worked after "make vegastrike vegaserver vssetup" from clonewolf, but now
sudo make install
throws the same error
(sudo make install vegastrike didn't help =( )
:

Code: Select all

#sudo make install 
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG   -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -pthread -I/usr/local/include -I/usr/local/include/OGRE   -I../../src -I../.. -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/mesher/mesher-to_OgreMesh.o -MD -MP -MF objconv/mesher/.deps/mesher-to_OgreMesh.Tpo -c -o objconv/mesher/mesher-to_OgreMesh.o `test -f 'objconv/mesher/to_OgreMesh.cpp' || echo './'`objconv/mesher/to_OgreMesh.cpp
objconv/mesher/to_OgreMesh.cpp:46: error: reference to ‘map’ is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error:                 template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:46: error: ‘map’ has not been declared
objconv/mesher/to_OgreMesh.cpp:46: error: expected ‘,’ or ‘...’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp: In function ‘void replaceVars(std::string&, int)’:
objconv/mesher/to_OgreMesh.cpp:57: error: reference to ‘map’ is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error:                 template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before ‘,’ token
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before ‘>’ token
objconv/mesher/to_OgreMesh.cpp:57: error: ‘::const_iterator’ has not been declared
objconv/mesher/to_OgreMesh.cpp:57: error: expected ‘;’ before ‘it’
objconv/mesher/to_OgreMesh.cpp:58: error: ‘it’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:58: error: ‘variables’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)’:
objconv/mesher/to_OgreMesh.cpp:121: warning: unknown conversion type character ‘U’ in format
objconv/mesher/to_OgreMesh.cpp:123: warning: unknown conversion type character ‘U’ in format
objconv/mesher/to_OgreMesh.cpp:125: warning: unknown conversion type character ‘U’ in format
objconv/mesher/to_OgreMesh.cpp:127: warning: unknown conversion type character ‘U’ in format
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:145: error: ISO C++ forbids declaration of ‘vector’ with no type
objconv/mesher/to_OgreMesh.cpp:145: error: expected ‘,’ or ‘...’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp: In function ‘std::string& operator+=(std::string&, int)’:
objconv/mesher/to_OgreMesh.cpp:147: error: expected primary-expression before ‘unsigned’
objconv/mesher/to_OgreMesh.cpp:147: error: expected ‘;’ before ‘unsigned’
objconv/mesher/to_OgreMesh.cpp:147: error: ‘it’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:147: error: ‘ucarr’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:152: error: ISO C++ forbids declaration of ‘vector’ with no type
objconv/mesher/to_OgreMesh.cpp:152: error: expected ‘,’ or ‘...’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp: In function ‘std::string tostring(int)’:
objconv/mesher/to_OgreMesh.cpp:155: error: ‘ucarr’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function ‘std::string getMaterialHash(const XML&)’:
objconv/mesher/to_OgreMesh.cpp:164: error: reference to ‘vector’ is ambiguous
/usr/include/c++/4.4/bits/stl_vector.h:170: error: candidates are: template<class _Tp, class _Alloc> class std::vector
/usr/local/include/OGRE/OgrePrerequisites.h:467: error:                 template<class T, class A> struct Ogre::vector
objconv/mesher/to_OgreMesh.cpp:164: error: expected primary-expression before ‘>’ token
objconv/mesher/to_OgreMesh.cpp:164: error: ‘::size_type’ has not been declared
objconv/mesher/to_OgreMesh.cpp:164: error: expected ‘;’ before ‘i’
objconv/mesher/to_OgreMesh.cpp:177: error: ‘i’ was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:187: error: no match for ‘operator+=’ in ‘hash += memfile->XML::detailtexture.textureholder::name’
/usr/include/c++/4.4/bits/basic_string.h:790: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:799: note:                 std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:808: note:                 std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
./src/gfx/xvector.h:169: note:                 Vector operator+=(Vector&, const Vector&)
./src/gfx/xvector.h:169: note:                 QVector operator+=(QVector&, const QVector&)
objconv/mesher/to_OgreMesh.cpp:145: note:                 std::string& operator+=(std::string&, int)
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:201: error: ISO C++ forbids declaration of ‘map’ with no type
objconv/mesher/to_OgreMesh.cpp:201: error: expected ‘;’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp:202: error: ISO C++ forbids declaration of ‘set’ with no type
objconv/mesher/to_OgreMesh.cpp:202: error: expected ‘;’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp:204: error: ISO C++ forbids declaration of ‘vector’ with no type
objconv/mesher/to_OgreMesh.cpp:204: error: expected ‘;’ before ‘<’ token
objconv/mesher/to_OgreMesh.cpp: In function ‘void* OgreMeshConverter::Init(const char*, const char*)’:
objconv/mesher/to_OgreMesh.cpp:309: error: ‘struct outputContext’ has no member named ‘predefined_materials’
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:347: error: expected initializer before ‘<’ token
objconv/mesher/to_OgreMesh.cpp:1186: error: expected ‘}’ at end of input
make: *** [objconv/mesher/mesher-to_OgreMesh.o] Fehler 1
Exit 2
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

"make install" will try to compile the missing mesh_tool.

I guess you could hack the makefile if you need to install.

I never install it, I just run it from right there where it was built.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

ok, found "vssetup and vegastrike link from data dir" infos in the howto, so seems to work without install, i saw a main menu before finding a gnome bug when activating taskbar autohide *g* gonna try now, thanks all ! and cudos for the hard work =)
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

worked =) a few impressions :
* gui and skyboxes could use some loving,
* skyboxes : seen huge pixels despite high quality settings
* gui : speed etc in flight badly readable on some backgrounds
* ingame mouse-sensitivity adjustment would be good.
* while on a planet/station it's confusing that escape shows no menu for quitting.
* nice flight-instructor after first launch, that helped a lot.
* cycling through all targets by forward reverse without seeing a list takes ages, i'd apperciate a mouse-mode, but at least there should be a list blended in during cycling.
* buy sell mission menus could use some better design. clickable text to expand groups seems a bad idea.
* in flight shift-m menu : text goes beyond the menu/buttons, a bit confusing behaviour in general, maybe * show better "what section am i currently viewing". mission infos are littered with other stuff.
* an overview of the current system with stars & jumppoints selectable by mouse would be nice here.
* short hang when jumping sometimes.
* docked on a planet (ammonia or so?) in the oldzie system after flight instructor, was just barren white building with computer-terminal button floating in midair. maybe a good place to decorate/improve for first impression due to high likely hood a new player will take a look there after the tutorial
* navigational target names appear weird (coder-style / camel-case words, no space or underlines)

how many people are roughly playing vs ?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

ghoulsblade2 wrote:* skyboxes : seen huge pixels despite high quality settings
What? I think they're gorgeous!
I bet you must have low quality settings somewhere. Doesn't make sense otherwise.
ghoulsblade2 wrote:* gui : speed etc in flight badly readable on some backgrounds
It may need some artsy work - however I've had no readability problems. Screenshots?
ghoulsblade2 wrote:* ingame mouse-sensitivity adjustment would be good.
That can be adjusted IIRC, if not with vssetup, directly editing vegastrike.config.
ghoulsblade2 wrote:* while on a planet/station it's confusing that escape shows no menu for quitting.
I agree.
ghoulsblade2 wrote:* cycling through all targets by forward reverse without seeing a list takes ages, i'd apperciate a mouse-mode, but at least there should be a list blended in during cycling.
I agree, but not only a better system would have to be designed, it would also have to be implemented. Both difficult stuff.
ghoulsblade2 wrote:* buy sell mission menus could use some better design. clickable text to expand groups seems a bad idea.
Not sure I see the problem. Although a bit ugly, graphically, they use a sensible interface paradigm IMO.
You're welcome to try and design a better interface - we programmers sometimes create interfaces prioritizing "easiest implementation", rather than usability or aesthetics. A mockup or design goes a long way towards motivating more complex implementations.
I'm not saying that, if you provided a mockup of a better design, it would be implemented tomorrow. It may take time, a lot or not so much, or even not be implemented at all, but I'm almost certain a better interface won't be implemented without such a mockup.
ghoulsblade2 wrote:* in flight shift-m menu : text goes beyond the menu/buttons, a bit confusing behaviour in general, maybe * show better "what section am i currently viewing". mission infos are littered with other stuff.
A better nav map has been on the to-do for ages.
ghoulsblade2 wrote:* an overview of the current system with stars & jumppoints selectable by mouse would be nice here.
It is there. Only ugly like hell.
ghoulsblade2 wrote:* short hang when jumping sometimes.
Unavoidable yet - VS is loading the next system, textures, ships... it takes a bit of time. Getting rid of that pause would involve pushing all that to a background task, which would involve trying to guesstimate which systems you'd be jumping to next (can't load them all)... al very hard work, not very high on the priority list.
ghoulsblade2 wrote:* docked on a planet (ammonia or so?) in the oldzie system after flight instructor, was just barren white building with computer-terminal button floating in midair. maybe a good place to decorate/improve for first impression due to high likely hood a new player will take a look there after the tutorial
There are base/planet types that have such basic interfaces. It's only a matter of designing, drawing and implementing a better one. It's not overly hard, but it's a chore in need of contributors.

People regularly post "base backgrounds" or "base art", that alone is one thing that's required, but there are others. First, a single background is of little use, a whole "set" is needed, an "interconnected set".

Ie: a landing platform, a place where you purchase upgrades, a place where the mission computer is, a place where people gather (the bar, where you can find the fixers), how it all ties together, and perhaps even transition screens. People seldom produce a complete set.
ghoulsblade2 wrote:* navigational target names appear weird (coder-style / camel-case words, no space or underlines)
[/quote]
Yep... I wonder how hard would it be to clean that up.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
nikai
Trader
Trader
Posts: 18
Joined: Tue Jun 01, 2010 4:23 pm

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by nikai »

klauss wrote:
ghoulsblade2 wrote:* short hang when jumping sometimes.
Unavoidable yet - VS is loading the next system, textures, ships... it takes a bit of time.
One thing I noticed on my Gentoo install was that VS tried to write .pyc files every time that a python file in data/modules and data/bases was accessed, but failed because of missing rights.

I've seen this on startup, but I'm not sure whether jumps also do loading in python. If that's a problem, it can be solved easily.

Just cd into data/modules and data/bases, and run "python -mcompileall ." with the necessary rights.
That should create all the python byte code, and should speed up loading a bit.

PS: On the flip side, you'll have to remove (and rebuild) the byte code every time you update the python files, because the byte code is loaded instead of the python files.

By the way, I spotted a byte code file in SVN: data/modules/builtin/random.pyc
Looks like it is python 2.2 byte-compiled. :)
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

i want to play around with the mesh of the starter ship (Llama) a bit, but i can only find this compiled llama.bfxm (in data/units/vessels/Llama/) format in the svn. are the original files somewhere ? or can i somehow re-import it into blender or so ?
CLoneWolf
ISO Party Member
ISO Party Member
Posts: 443
Joined: Thu May 01, 2008 5:14 pm

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by CLoneWolf »

If such original project file exists, it should be where this post says, that is, here; but, for one, I never submitted there the huge .wav files from which I obtained the faction radio messages now in svn.

Even if the .bxfm is all that you can find, that post also shows how to use the mesher to make a .obj that can be imported in Blender.

EDIT: I just tried that method with my working mesher, and it produced the .obj, let me know if you need it, in case you're still stuck with mesher compilation.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

CLoneWolf wrote:If such original project file exists, it should be where this post says, that is, here; but, for one, I never submitted there the huge .wav files from which I obtained the faction radio messages now in svn.
Hey... about that.
Audio masters are really important, if you still have them, I'd like to back them up somewhere. If you can upload (even a .torrent file), I'll be happy to be the backup server. I have tons of masters already, like all of Ken Seguro's original tracks, for instance, in case we need to recode some day (or provide a high-quality download, why not).
CLoneWolf wrote:Even if the .bxfm is all that you can find, that post also shows how to use the mesher to make a .obj that can be imported in Blender.
Yep, and with old models like the Llama, I really doubt there's a master of them. Those masters were kept on the author's HD solely, they're older than our policy of uploading to the masters repo.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

ah cool, thanks, i'll try this evening.
i've coded with ogre before, maybe i can fix the compile problem, if i can i'll send a patch/diff (where to ? email ? forum attachment here).

can this generate the material (.MTL) script mentioned in the wiki as well ? or is there a different trick for that ?

in general, how about uploading such .obj files to the masters repo ?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

ghoulsblade2 wrote:ah cool, thanks, i'll try this evening.
i've coded with ogre before, maybe i can fix the compile problem, if i can i'll send a patch/diff (where to ? email ? forum attachment here).
It's not ogre precisely, it's that ogre needs boost_thread, and the in-tree boost we're using we're using only to build boost_python, so the libraries produced by the makefile are incomplete and the build ends up with link errors.

It's only a matter of adding the threading part of boost to the makefile, but I would have to figure out which files are those first, not only once but for every version of boost there (we need at least two versions, 1.28, which works on macs, and a newer one which works on windows and linux), so it's time consuming and tedious.
ghoulsblade2 wrote:can this generate the material (.MTL) script mentioned in the wiki as well ? or is there a different trick for that ?
It generates the .mtl file, but it's not very useful, it doesn't have the parameters the way blender wants them. It will work, though... just may not look right in blender.
ghoulsblade2 wrote:in general, how about uploading such .obj files to the masters repo ?
Uploading an obj derived off a bfxm makes little sense.
But any true master ought to be uploaded.
It should be uploaded also if you took the obj file, import it in blender, do major cleanup (say, to fix shading issues and whatnot) - that new file would be reasonably considered a "master".

I'm not sure what's there in the masters repo, but I would upload .obj files gzip-compressed. Ie: .obj.gz. Because they're highly compressible and because that way svn treats them as binary files (which is better for merging changes to .obj files the way svn does may break them).
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

not sure what you mean with the boost stuff, i resolved a few std:: Ogre:: ambiguities by adding std:: in front of a few types (map,vector,multimap,set), and made a slight adjustment for an ogre api change :

Code: Select all

+		#if OGRE_VERSION >= 0x10700
+        Mesh::LodValueList distanceList;
+		#else
         Mesh::LodDistanceList distanceList;
+		#endif
then the compile worked with no linker problems.
i'll append the diff, it completely solved the compile problem i reported in the first post,
so please commit if you get the chance to save others linux users the trouble =)

masters : i'd still think a reimported .obj file would be better than nothing there.
possibly renamed to xxx.reimported.obj or so, but that's just personal opinion =)

i doubt i know blender well enough to really clean it up properly,
i'm rather playing around with ogre and don't have a clue how to load the binary mesh format there *g* not sure if i'll get anywhere, but i'll post the resulting file here if it works
You do not have the required permissions to view the files attached to this post.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

Ehm... did you svn up?

Because I already did something similar (except I added Ogre:: to pretty much all references to the Ogre namespace instead).

As for the build... are you perchance using system boost?

(ie: what's your configure line?)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

config : urrr... i followed these instructions to build :
http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29
(except that i have a locally compiled ogre 1.7.1 version installed) (config log is in first post)

so : ./configure --enable-flags='-O3 -g'

svn up : nope, didn't expect a change so fast, good work =) compile is still running atm

i'm in irc currently if you want life feedback =)

mesher .obj export and import into blender worked so far, even with textures it seems,
uploading the files if anyone else is interested.
You do not have the required permissions to view the files attached to this post.
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

after reverting my local modification and svn up + make i got

Code: Select all

g++  -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread   -o vegaserver  src/cmd/ai/aggressive.o src/cmd/ai/comm_ai.o src/cmd/ai/communication_xml.o src/cmd/ai/communication.o src/cmd/ai/docking.o src/cmd/ai/event_xml.o src/cmd/ai/fire.o src/cmd/ai/fireall.o src/cmd/ai/flybywire.o src/cmd/ai/hard_coded_scripts.o src/cmd/ai/ikarus.o src/cmd/ai/missionscript.o src/cmd/ai/navigation.o src/cmd/ai/order_comm.o src/cmd/ai/order.o src/cmd/ai/script.o src/cmd/ai/tactics.o src/cmd/ai/turretai.o src/cmd/ai/warpto.o src/cmd/alphacurve.o src/cmd/asteroid_generic.o src/cmd/beam_generic.o src/cmd/bolt_generic.o src/cmd/building_generic.o src/cmd/collection.o src/cmd/collide_map.o src/cmd/collide.o src/cmd/container.o src/cmd/csv.o src/cmd/missile_generic.o src/cmd/mount.o src/cmd/nebula_generic.o src/cmd/planet_generic.o src/cmd/role_bitmask.o src/cmd/unit_collide.o src/cmd/unit_const_cache.o src/cmd/unit_csv.o src/cmd/unit_factory_generic.o src/cmd/unit_functions_generic.o src/cmd/unit_generic.o src/cmd/fg_util.o src/cmd/unit_util_generic.o src/cmd/unit_xml.o src/cmd/weapon_xml.o src/cmd/collide2/Ice/IceAABB.o src/cmd/collide2/Ice/IceContainer.o src/cmd/collide2/Ice/IceHPoint.o src/cmd/collide2/Ice/IceIndexedTriangle.o src/cmd/collide2/Ice/IceMatrix3x3.o src/cmd/collide2/Ice/IceMatrix4x4.o src/cmd/collide2/Ice/IceOBB.o src/cmd/collide2/Ice/IcePlane.o src/cmd/collide2/Ice/IcePoint.o src/cmd/collide2/Ice/IceRandom.o src/cmd/collide2/Ice/IceRay.o src/cmd/collide2/Ice/IceRevisitedRadix.o src/cmd/collide2/Ice/IceSegment.o src/cmd/collide2/Ice/IceTriangle.o src/cmd/collide2/Ice/IceUtils.o src/cmd/collide2/csgeom2/opbox.o src/cmd/collide2/csgeom2/opmatrix3.o src/cmd/collide2/csgeom2/opvector3.o src/cmd/collide2/OPC_AABBCollider.o src/cmd/collide2/OPC_AABBTree.o src/cmd/collide2/OPC_BaseModel.o src/cmd/collide2/OPC_BoxPruning.o src/cmd/collide2/OPC_Collider.o src/cmd/collide2/OPC_Common.o src/cmd/collide2/OPC_HybridModel.o src/cmd/collide2/OPC_LSSCollider.o src/cmd/collide2/OPC_MeshInterface.o src/cmd/collide2/OPC_Model.o src/cmd/collide2/OPC_OBBCollider.o src/cmd/collide2/OPC_OptimizedTree.o src/cmd/collide2/OPC_Picking.o src/cmd/collide2/OPC_PlanesCollider.o src/cmd/collide2/OPC_RayCollider.o src/cmd/collide2/OPC_SphereCollider.o src/cmd/collide2/OPC_SweepAndPrune.o src/cmd/collide2/OPC_TreeBuilders.o src/cmd/collide2/OPC_TreeCollider.o src/cmd/collide2/OPC_VolumeCollider.o src/cmd/collide2/CSopcodecollider.o src/networking/inet_file.o src/networking/inet.o src/python/init.o src/python/python_compile.o src/python/unit_exports.o src/python/unit_exports1.o src/python/unit_exports2.o src/python/unit_exports3.o src/python/unit_method_defs.o src/python/unit_wrapper.o src/python/universe_util_export.o src/configxml.o src/easydom.o src/endianness.o src/macosx_math.o src/faction_generic.o src/faction_util_generic.o src/galaxy_gen.o src/galaxy_xml.o src/galaxy.o src/hashtable.o src/lin_time.o src/load_mission.o src/pk3.o src/posh.o src/savegame.o src/star_system_generic.o src/star_system_xml.o src/stardate.o src/universe_generic.o src/universe_util_generic.o src/vs_globals.o src/vsfilesystem.o src/xml_serializer.o src/xml_support.o src/options.o src/cmd/script/director_generic.o src/cmd/script/mission_script.o src/cmd/script/mission.o src/cmd/script/msgcenter.o src/cmd/script/pythonmission.o src/cmd/script/script_call_olist.o src/cmd/script/script_call_omap.o src/cmd/script/script_call_order.o src/cmd/script/script_call_string.o src/cmd/script/script_call_unit_generic.o src/cmd/script/script_callbacks.o src/cmd/script/script_expression.o src/cmd/script/script_generic.o src/cmd/script/script_statement.o src/cmd/script/script_util.o src/cmd/script/script_variables.o src/gfx/cockpit_generic.o src/gfx/lerp.o src/gfx/matrix.o src/gfx/mesh_bxm.o src/gfx/mesh_poly.o src/gfx/mesh_xml.o src/gfx/mesh.o src/gfx/quaternion.o src/gfx/sphere_generic.o src/gfx/vec.o src/XMLDocument.o src/VSFileXMLSerializer.o src/cmd/atmosphere_server.o src/cmd/base_util_server.o src/cmd/beam_server.o src/cmd/bolt_server.o src/cmd/unit_factory_server.o src/cmd/unit_functions_server.o src/cmd/unit_util_server.o src/networking/accountsxml.o src/networking/client.o src/networking/fileutil.o src/networking/savenet_util.o src/networking/cubicsplines.o src/networking/mangle.o src/networking/netclient_clients.o src/networking/netclient_devices.o src/networking/netclient_login.o src/networking/netclient.o src/networking/netserver_acct.o src/networking/netserver_clients.o src/networking/netserver_devices.o src/networking/netserver_login.o src/networking/netserver_net.o src/networking/netserver.o src/networking/prediction.o src/networking/zonemgr.o src/networking/networkcomm_server.o src/force_feedback_server.o src/gfxlib_struct_server.o src/libaudioserver.o src/libserver.o src/universe_util_server.o src/cmd/script/flightgroup_server.o src/cmd/script/script_call_unit_server.o src/cmd/script/c_alike/c_alike.tab.o src/cmd/script/c_alike/lex.yy.o src/gfx/sphere_server.o src/gfx/vsbox_server.o src/gfx/mesh_server.o src/gfx/background_server.o src/vegaserver.o src/cmd/unit_server.o src/cmd/pilot_server.o src/cmd/images_server.o src/cmd/faction_xml_server.o src/gfx/mesh_bin_server.o src/cmd/script/director_server.o src/gldrv/gl_vertex_list.o src/gldrv/gl_sphere_list_server.o libnetlowlevel.a libboost_python.a -lz -lvorbisfile -lvorbis -logg   -L/usr/lib -lSDL  -lGL  -lGLU -lXmu -lXi  -lglut  -lexpat  -lpng  -ljpeg  -lopenal  -lvorbisfile -lvorbis -logg  -L/usr/lib -lpython2.6 -Xlinker -export-dynamic -pthread 
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/common/vssetup-common.o -MD -MP -MF src/common/.deps/vssetup-common.Tpo -c -o src/common/vssetup-common.o `test -f 'src/common/common.cpp' || echo './'`src/common/common.cpp
mv -f src/common/.deps/vssetup-common.Tpo src/common/.deps/vssetup-common.Po
g++ -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread   -o vssetup setup/src/c/vssetup-setup.o setup/src/include/vssetup-central.o setup/src/include/vssetup-display_gtk.o setup/src/include/vssetup-display_dialog.o setup/src/include/vssetup-file.o setup/src/include/vssetup-general.o src/common/vssetup-common.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lvorbisfile -lvorbis -logg   -L/usr/lib -lSDL  -lGL  -lGLU -lXmu -lXi  -lglut  -lexpat  -lpng  -ljpeg  -lopenal  -lvorbisfile -lvorbis -logg  -L/usr/lib -lpython2.6 -Xlinker -export-dynamic -pthread 
make[1]: *** Keine Regel vorhanden, um das Target »OpenALRenderer.h«, 
  benötigt von »all-am«, zu erstellen.  Schluss.
translated : no rule foudn to make target OpenALRenderer.h

running make clean + ./bootstrap-sh + ./configure --enable-flags='-O3 -g' + make now...
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

Be warned, -O3 breaks VS.

VS was reported crashing under -O3 in some certain, rare situations.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
CLoneWolf
ISO Party Member
ISO Party Member
Posts: 443
Joined: Thu May 01, 2008 5:14 pm

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by CLoneWolf »

klauss wrote: Hey... about that.
Audio masters are really important, if you still have them, I'd like to back them up somewhere. If you can upload (even a .torrent file), I'll be happy to be the backup server. I have tons of masters already, like all of Ken Seguro's original tracks, for instance, in case we need to recode some day (or provide a high-quality download, why not).
Of course I still have them :) I can provide the original recordings, uncut (1 big file with all the sentences) because my lazy workflow was to apply the effects chain only once to the whole recording, and then cut the single sentences, mainly for 2 reasons:

1 - Audacity has a macro replay feature to apply a chain of effects to a batch of files, but some of the effects I used weren't supported by the automation system.

2 - for the Mechanists, the metal voice effect is the late part of a flanger; it kicked in so late that I had to prepend 30 seconds of silence to have the same effect all over the recording.

I saved them as .wav, do you think that .flac 24 bit at quality 8 is enough high quality to work as a master? I tried to recode one of the files as a .flac and the size halved.
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

update : after make clean + configure etc.: still the same error, so i reverted to r12798 and used my patch =)

-O3 : haven't had trouble yet, but good to know, should probably be mentioned on the wikipage since that those instructions contained -O3 :
http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29
You do not have the required permissions to view the files attached to this post.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

Hm... interesting.

Sorry for making you waste this much time, but it builds for me, so I need you as guinnea pig ;)

What if you drop the with-flags thing?

Ie: try bootstrapping and all, but only ./configure --with-boost=system --enable-release --disable-debug

(enable-release enables optimizations, disable-debug disables debugging symbols - should be the default but I always add it explicitly just in case)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ghoulsblade2
Bounty Hunter
Bounty Hunter
Posts: 136
Joined: Tue Jul 27, 2010 7:41 pm
Location: germany
Contact:

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by ghoulsblade2 »

sure, i made a fresh checkout (r12822) in a new folder and adjusted the instructions accordingly, here's what i did exactly :

cd /bla/VegaStrike
svn co https://vegastrike.svn.sourceforge.net/ ... vegastrike vegastrike_trunk # added vegastrike_trunk to avoid overwriting my working folder
svn update vegastrike_trunk/boost/1_35
cd vegastrike_trunk
./bootstrap-sh
./configure --with-boost=system --enable-release --disable-debug
make -j 3 # i added -j 3 for parallel compile to use my dualcore a bit.

compile is still running, i'll update with the success/error message when it's through

UPDATE : compile finished, same error :

Code: Select all

        mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/gldrv/gl_sphere_list_server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -I.   -I/usr/include -DBOOST_PYTHON_NO_PY_SIGNATURES     -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src   -pipe -DNV_CUBE_MAP -O2 -ffast-math  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/gldrv/gl_sphere_list_server.o -MD -MP -MF $depbase.Tpo -c -o src/gldrv/gl_sphere_list_server.o src/gldrv/gl_sphere_list_server.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
make[1]: *** Keine Regel vorhanden, um das Target »OpenALRenderer.h«, 
  benötigt von »all-am«, zu erstellen.  Schluss.
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Verlasse Verzeichnis '/cavern/code/VegaStrike/vegastrike_trunk'
make: *** [all] Fehler 2
did you forget to add OpenALRenderer.h to the include path ? it is under
./src/audio/renderers/OpenAL/OpenALRenderer.h
doesn't look like a header file folder
You do not have the required permissions to view the files attached to this post.
Last edited by ghoulsblade2 on Mon Aug 02, 2010 7:44 pm, edited 1 time in total.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Post by klauss »

Wait... you svn upped boost itself?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply