adonthell-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-general] errors while running make


From: shirish शिरीष
Subject: [Adonthell-general] errors while running make
Date: Wed, 6 Mar 2013 02:45:36 +0530

Hi all,
just ran the makefile and came up with this :-

faction.Tpo -c ../../../adonthell/src/rpg/faction.cc  -fPIC -DPIC -o
.libs/libadonthell_rpg_la-faction.o
In file included from ../../../adonthell/src/rpg/faction.cc:27:0:
../../../adonthell/src/rpg/faction.h:151:16: error: 'vector' in
namespace 'std' does not name a type
../../../adonthell/src/rpg/faction.cc:32:1: error: 'vector' in
namespace 'std' does not name a type
../../../adonthell/src/rpg/faction.cc: In constructor
'rpg::faction::faction(const string&)':
../../../adonthell/src/rpg/faction.cc:40:5: error: 'Factions' was not
declared in this scope
../../../adonthell/src/rpg/faction.cc: In static member function
'static rpg::faction* rpg::faction::get_faction(const string&)':
../../../adonthell/src/rpg/faction.cc:80:5: error: 'vector' is not a
member of 'std'
../../../adonthell/src/rpg/faction.cc:80:25: error: expected
primary-expression before '*' token
../../../adonthell/src/rpg/faction.cc:80:26: error: expected
primary-expression before '>' token
../../../adonthell/src/rpg/faction.cc:80:27: error: '::iterator' has
not been declared
../../../adonthell/src/rpg/faction.cc:80:27: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/string:42,
                 from ../../adonthell/base/flat.h:32,
                 from ../../adonthell/python/python.h:41,
                 from ../../adonthell/python/script.h:36,
                 from ../../../adonthell/src/rpg/faction.h:30,
                 from ../../../adonthell/src/rpg/faction.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
../../../adonthell/src/rpg/faction.cc:80:38: error: expected ';' before 'i'
../../../adonthell/src/rpg/faction.cc:82:10: error: 'i' was not
declared in this scope
../../../adonthell/src/rpg/faction.cc:82:14: error: 'Factions' was not
declared in this scope
../../../adonthell/src/rpg/faction.cc: In static member function
'static bool rpg::faction::load()':
../../../adonthell/src/rpg/faction.cc:131:13: error: 'Factions' was
not declared in this scope
../../../adonthell/src/rpg/faction.cc: In static member function
'static bool rpg::faction::save(const string&)':
../../../adonthell/src/rpg/faction.cc:149:5: error: 'vector' is not a
member of 'std'
../../../adonthell/src/rpg/faction.cc:149:24: error: expected
primary-expression before '*' token
../../../adonthell/src/rpg/faction.cc:149:25: error: expected
primary-expression before '>' token
../../../adonthell/src/rpg/faction.cc:149:26: error: '::iterator' has
not been declared
../../../adonthell/src/rpg/faction.cc:149:26: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/string:42,
                 from ../../adonthell/base/flat.h:32,
                 from ../../adonthell/python/python.h:41,
                 from ../../adonthell/python/script.h:36,
                 from ../../../adonthell/src/rpg/faction.h:30,
                 from ../../../adonthell/src/rpg/faction.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
../../../adonthell/src/rpg/faction.cc:149:37: error: expected ';' before 'i'
../../../adonthell/src/rpg/faction.cc:150:10: error: 'i' was not
declared in this scope
../../../adonthell/src/rpg/faction.cc:150:14: error: 'Factions' was
not declared in this scope
../../../adonthell/src/rpg/faction.cc: In static member function
'static void rpg::faction::cleanup()':
../../../adonthell/src/rpg/faction.cc:167:10: error: 'vector' is not a
member of 'std'
../../../adonthell/src/rpg/faction.cc:167:30: error: expected
primary-expression before '*' token
../../../adonthell/src/rpg/faction.cc:167:31: error: expected
primary-expression before '>' token
../../../adonthell/src/rpg/faction.cc:167:32: error: '::iterator' has
not been declared
../../../adonthell/src/rpg/faction.cc:167:32: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/string:42,
                 from ../../adonthell/base/flat.h:32,
                 from ../../adonthell/python/python.h:41,
                 from ../../adonthell/python/script.h:36,
                 from ../../../adonthell/src/rpg/faction.h:30,
                 from ../../../adonthell/src/rpg/faction.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note:
'std::iterator'
../../../adonthell/src/rpg/faction.cc:167:43: error: expected ';' before 'i'
../../../adonthell/src/rpg/faction.cc:167:65: error: 'i' was not
declared in this scope
../../../adonthell/src/rpg/faction.cc:167:70: error: 'Factions' was
not declared in this scope
../../../adonthell/src/rpg/faction.cc:171:5: error: 'Factions' was not
declared in this scope
make[3]: *** [libadonthell_rpg_la-faction.lo] Error 1
make[3]: Leaving directory
`/home/shirish/games/adonthell/adonthell-build/src/rpg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shirish/games/adonthell/adonthell-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shirish/games/adonthell/adonthell-build'
make: *** [all] Error 2

Looking forward to know more.

If needed I can also make a cmake build, maybe it will be easier to
figure out where the issue is.


-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17



reply via email to

[Prev in Thread] Current Thread [Next in Thread]