AlexMeng1986 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

ios 7 xcode 5 build error #319

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.cmake 2.8-12 build OK, OGREKIT_BUILD_IPHONE, OGREKIT_BUILD_GLESRS is ON. 
OGREKIT_BUILD_GLRS is OFF
2.open in xcode 5.02. project got upgrade to v1.7
3.141 error messages when build on real device

What is the expected output? What do you see instead?
old version build ok, I saw 141 error message
most of them are Apple Mach-O liner Error
Undefined symbols for architecture armv7:

(null): "std::ostream::seekp(std::fpos<__mbstate_t>)", referenced from:
(null): "std::string::assign(std::string const&)", referenced from:
(null): "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string(std::string const&)", referenced from:
(null): "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()", referenced from:
(null): "std::ostream::operator<<(std::ios_base& (*)(std::ios_base&))", 
referenced from:
(null): "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string(char const*, unsigned long, std::allocator<char> const&)", 
referenced from:
(null): "std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::~std::basic_string()", referenced from:
(null): "std::istream::operator>>(unsigned long&)", referenced from:
(null): "std::istream::operator>>(unsigned int&)", referenced from:
(null): "std::istream::operator>>(int&)", referenced from:
(null): "std::istream::operator>>(float&)", referenced from:
(null): "std::runtime_error::runtime_error(std::string const&)", referenced 
from:
(null): "std::string::begin() const", referenced from:
(null): "std::string::end() const", referenced from:
(null): "std::string::operator=(char)", referenced from:
(null): "std::cerr", referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<char, std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, std::_Setw)", referenced from:
(null): "std::ios_base::fixed", referenced from:
(null): "std::basic_ofstream<char, std::char_traits<char> >::close()", 
referenced from:
(null): "std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream()", 
referenced from:
(null): "std::basic_ofstream<char, std::char_traits<char> >::open(char const*, 
std::_Ios_Openmode)", referenced from:
(null): "std::ostream::operator<<(bool)", referenced from:
(null): "std::basic_istream<char, std::char_traits<char> >& 
std::operator>><char, std::char_traits<char>, std::allocator<char> 
>(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >&)", referenced from:
(null): "std::basic_ios<char, std::char_traits<char> >::operator void*() 
const", referenced from:
(null): "std::ostream::operator<<(unsigned int)", referenced from:
(null): "std::string::insert(unsigned long, std::string const&)", referenced 
from:
(null): "std::string::reserve(unsigned long)", referenced from:
(null): "std::string::resize(unsigned long)", referenced from:
(null): "std::ostream::write(char const*, int)", referenced from:
(null): "std::string::clear()", referenced from:
(null): "std::ostream::operator<<(unsigned long)", referenced from:
(null): "gkPath::gkPath(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced 
from:
(null): "std::string::begin()", referenced from:
(null): "std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >::~basic_ostringstream()", referenced from:
(null): "std::string::find_first_not_of(std::string const&, unsigned long) 
const", referenced from:
(null): "std::_List_node_base::transfer(std::_List_node_base*, 
std::_List_node_base*)", referenced from:
(null): "std::basic_ofstream<char, std::char_traits<char> 
>::~basic_ofstream()", referenced from:
(null): "std::string::erase(unsigned long, unsigned long)", referenced from:
(null): "std::_List_node_base::unhook()", referenced from:
(null): "std::_List_node_base::hook(std::_List_node_base*)", referenced from:
(null): "std::basic_ios<char, std::char_traits<char> >::operator!() const", 
referenced from:
(null): "std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced 
from:
(null): "std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base&)", referenced from:
(null): "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string(char const*, std::allocator<char> const&)", referenced from:
(null): "std::basic_ifstream<char, std::char_traits<char> >::close()", 
referenced from:
(null): "std::basic_fstream<char, std::char_traits<char> >::close()", 
referenced from:
(null): "std::ostream::operator<<(unsigned short)", referenced from:
(null): "std::string::at(unsigned long) const", referenced from:
(null): "std::_Rb_tree_increment(std::_Rb_tree_node_base const*)", referenced 
from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<char, std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, std::_Setfill<char>)", referenced from:
(null): "std::basic_ios<char, std::char_traits<char> >::eof() const", 
referenced from:
(null): "std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)", referenced 
from:
(null): "std::basic_ios<char, std::char_traits<char> 
>::clear(std::_Ios_Iostate)", referenced from:
(null): "std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced 
from:
(null): "std::basic_ostream<char, std::char_traits<char> >& std::endl<char, 
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", 
referenced from:
(null): "std::__throw_out_of_range(char const*)", referenced from:
(null): "std::string::find_first_not_of(char const*, unsigned long) const", 
referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, unsigned char const*)", referenced from:
(null): "gkBlendLoader::loadFile(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced 
from:
(null): "std::istream::gcount() const", referenced from:
(null): "std::string::find_last_of(char const*, unsigned long) const", 
referenced from:
(null): "std::string::push_back(char)", referenced from:
(null): "std::ostream::operator<<(float)", referenced from:
(null): "std::basic_fstream<char, std::char_traits<char> >::basic_fstream()", 
referenced from:
(null): "std::ostream::flush()", referenced from:
(null): "std::istream::tellg()", referenced from:
(null): "std::istream::seekg(long long, std::_Ios_Seekdir)", referenced from:
(null): "std::string::find_first_of(char, unsigned long) const", referenced 
from:
(null): "std::string::find_first_of(std::string const&, unsigned long) const", 
referenced from:
(null): "std::basic_ifstream<char, std::char_traits<char> >::open(char const*, 
std::_Ios_Openmode)", referenced from:
(null): "std::basic_ifstream<char, std::char_traits<char> 
>::~basic_ifstream()", referenced from:
(null): "std::string::end()", referenced from:
(null): "std::ostream::tellp()", referenced from:
(null): "std::string::operator=(std::string const&)", referenced from:
(null): "std::__throw_length_error(char const*)", referenced from:
(null): "std::string::append(char const*, unsigned long)", referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, char)", referenced from:
(null): "std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >::str() const", referenced from:
(null): "std::allocator<char>::std::allocator()", referenced from:
(null): "std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:
(null): "std::ostream::operator<<(int)", referenced from:
(null): "std::string::find_first_of(char const*, unsigned long) const", 
referenced from:
(null): "std::string::compare(char const*) const", referenced from:
(null): "std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >::~basic_stringstream()", referenced from:
(null): "std::string::length() const", referenced from:
(null): "std::istream::operator>>(long&)", referenced from:
(null): "std::string::append(unsigned long, char)", referenced from:
(null): "std::ostream::operator<<(std::ostream& (*)(std::ostream&))", 
referenced from:
(null): "std::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char> >::str() const", referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<char, std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, std::_Setprecision)", referenced from:
(null): "std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream()", 
referenced from:
(null): "std::ios_base::Init::Init()", referenced from:
(null): "std::basic_ios<char, std::char_traits<char> >::imbue(std::locale 
const&)", referenced from:
(null): "std::ostream::operator<<(unsigned long long)", referenced from:
(null): "std::string::compare(std::string const&) const", referenced from:
(null): "std::allocator<char>::std::allocator(std::allocator<char> const&)", 
referenced from:
(null): "std::basic_ios<char, std::char_traits<char> >::fail() const", 
referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<std::char_traits<char> >(std::basic_ostream<char, 
std::char_traits<char> >&, char const*)", referenced from:
(null): "std::string::operator[](unsigned long) const", referenced from:
(null): "std::istream::read(char*, int)", referenced from:
(null): "std::string::rfind(char, unsigned long) const", referenced from:
(null): "std::basic_ostream<char, std::char_traits<char> >& 
std::operator<<<char, std::char_traits<char>, std::allocator<char> 
>(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)", referenced from:
(null): "std::string::find(char const*, unsigned long) const", referenced from:
(null): "std::string::substr(unsigned long, unsigned long) const", referenced 
from:
(null): "std::string::replace(unsigned long, unsigned long, char const*, 
unsigned long)", referenced from:
(null): "std::string::c_str() const", referenced from:
(null): "std::string::operator+=(std::string const&)", referenced from:
(null): "std::string::operator[](unsigned long)", referenced from:
(null): "std::string::operator+=(char)", referenced from:
(null): "std::ostream::operator<<(void const*)", referenced from:
(null): "std::__throw_runtime_error(char const*)", referenced from:
(null): "std::istream::getline(char*, int, char)", referenced from:
(null): "std::string::append(std::string const&)", referenced from:
(null): "std::_List_node_base::swap(std::_List_node_base&, 
std::_List_node_base&)", referenced from:
(null): "std::string::operator=(char const*)", referenced from:
(null): "gkUtils::getFile(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced 
from:
(null): "std::basic_ios<char, std::char_traits<char> >::fill(char)", referenced 
from:
(null): "std::basic_fstream<char, std::char_traits<char> >::open(char const*, 
std::_Ios_Openmode)", referenced from:
(null): "std::string::operator+=(char const*)", referenced from:
(null): "std::string::size() const", referenced from:
(null): "std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >::str(std::string const&)", referenced from:
(null): "std::string::find(std::string const&, unsigned long) const", 
referenced from:
(null): "std::string::find_last_not_of(std::string const&, unsigned long) 
const", referenced from:
(null): "std::string::rbegin()", referenced from:
(null): "std::allocator<char>::~std::allocator()", referenced from:
(null): "std::string::at(unsigned long)", referenced from:
(null): "std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:
(null): "std::string::data() const", referenced from:
(null): "std::string::empty() const", referenced from:
(null): "std::locale::locale(char const*)", referenced from:
(null): "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string()", referenced from:
(null): "std::basic_ofstream<char, std::char_traits<char> 
>::basic_ofstream(char const*, std::_Ios_Openmode)", referenced from:
(null): "std::ios_base::Init::~Init()", referenced from:
(null): "std::string::find(char, unsigned long) const", referenced from:
(null): "std::locale::~locale()", referenced from:
(null): "std::string::append(char const*)", referenced from:
(null): "std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >::basic_stringstream(std::string const&, 
std::_Ios_Openmode)", referenced from:
(null): "std::ostream::operator<<(long)", referenced from:
(null): "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
(null): "gkUserDefs::load(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced 
from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
What version of the product are you using? On what operating system?
macbook pro. xcdoe 5.02, cmake 2.8-12

Please provide any additional information below.

Original issue reported on code.google.com by hhh...@gmail.com on 19 Nov 2013 at 10:04

GoogleCodeExporter commented 9 years ago
I encountered the same problem

Original comment by duotians...@gmail.com on 18 Feb 2014 at 2:26