Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: 1 2 [3] 4 5 ... 8

Author Topic: Compiling With CodeBlocks(on Windows)  (Read 32056 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #30 on: May 06, 2006, 03:39:55 PM »

Hmm, thinking about it, the difference is that the singleton methods are all static.. Not sure why squirrel is acting up.. Maybe I should revert to an older version.. :/
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #31 on: May 06, 2006, 03:55:32 PM »

After some more investigating, it seems that any instance types don't work... Ie.
Wge <- Manager.getSingletonPtr(); //Works
Wge.update(); //Does not work.
Wge.hack(); //A simple, static function, does not work

Manager.getSingletonPtr().update(); //Does not work
Manager.hack(); //A simple static function, works

Very odd.. I'm going to try to get a slightly older version of squirrel, maybe something bad changed. As, this it is ported to linux, so shouldn't have such outrageous problems.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #32 on: May 06, 2006, 04:23:48 PM »

Well, I tried downgrading, no luck there :/

This is annoying, i suppose I will have to psot over at the squirrel forums.
Logged

OvermindDL1

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 288
    • View Profile
    • http://www.overminddl1.com/forum/
Compiling With CodeBlocks(on Windows)
« Reply #33 on: May 06, 2006, 04:45:48 PM »

Python, I can help...





Sorry, couldn't resist, I got lua-burnt out a year back and don't really like anything based on it now...
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #34 on: May 06, 2006, 04:49:27 PM »

Quote from: "OvermindDL1"
Python, I can help...





Sorry, couldn't resist, I got lua-burnt out a year back and don't really like anything based on it now...

 :rock:

I was thinking that a little bit in my head not too long ago, but, i am really looking for a small scripting language :)

I just posted in the forums over there (and stupid noob me), I managed to double post :) Some forum software just sucks though, and the ones with crazy editors are not that nice.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #35 on: May 06, 2006, 04:56:03 PM »

Oh, and as for something I should have noticed before, not even the SqPlus demo (the squirrel demo works fine) compiles here.. I didn't even try compiling that before.. Guess it goes to show that one should try to compile Lib sample demos in the futre :)

So, this is more than likely a gcc 4.1 issue.. Hopefully, they can resolve this, as I personally hate looking through crazy template code.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #36 on: May 06, 2006, 08:53:30 PM »

Yeah, I've heard there have been some problems moving code over to GCC 4. I will really try to get the codeblocks up tonight. I havent been on my computer this weekend.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #37 on: May 06, 2006, 09:06:36 PM »

Ok, I've gotten pretty much everything working, but when I link WGE, I'm getting some errors related OIS.

Code: [Select]

:D:\WGE_CB\WGE\trunk\scripts\..\src\WGEOisManager.cpp:159: undefined reference to `OIS::InputManager::createInputSystem(stlpd_std::multimap<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >, stlpd_std::less<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > >, stlpd_std::allocator<stlpd_std::pair<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const, stlpd_std
:D:\Dev\ois\Win32\..\src\win32\Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeaSERKS0_'
:D:\Dev\ois\Win32\..\src\win32\Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:\Dev\ois\Win32\..\src\win32\Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:\Dev\ois\Win32\..\src\win32\Win32KeyBoard.cpp:42: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'


I think I'm linking OIS right, because it isn't giving me linking errors on other OIS functions. I've built OIS version 6 from source, do I need to be using CVS?
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #38 on: May 06, 2006, 09:25:34 PM »

Don't touch anonymous sourceforge.net cvs at all.. it is the pits.

I included some CB project files lately, which will be added to 0,7, but that will not be released soon enough. Hmm, did you add the ois/src/win32/Win32InputManager.cpp to the build and ois/src/OISInputManager.cpp to the build? That might explain the first unresolved error.

The others, look like locale specific Win32 Libs are missing. The CodeBlock thread here said that the console OIS app worked, and was able to build, so I imagine you just forgot a linker lib.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #39 on: May 06, 2006, 10:04:09 PM »

I'm linking all of the libraries in the vc8_sln prject files for OIS
I copied this from the build log, instead of the build messages:

Code: [Select]

..\..\obj\Debug\src\WGEOisManager.o: In function `ZN3WGE10OisManager10initialiseEv':D:/WGE_CB/WGE/trunk/scripts/../src/WGEOisManager.cpp:170: undefined reference to `OIS::InputManager::createInputSystem(stlpd_std::multimap<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >, stlpd_std::less<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > >, stlpd_std::allocator<stlpd_std::pair<stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > > > >&)'
..\dependencies\lib/libOIS_static_d.a(Win32InputManager.o): In function `ZN12stlpdmtx_std10_Rb_globalIbE12_Rotate_leftEPNS_18_Rb_tree_node_baseERS3_':D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE7_AssertEPKcS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_Assert(char const*, char const*, int)]+0x1c): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE14_VerboseAssertEPKciS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_VerboseAssert(char const*, int, char const*, int)]+0x1d): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE14_VerboseAssertEPKciS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_VerboseAssert(char const*, int, char const*, int)]+0x3a): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE13_IndexedErrorEiPKci[stlpdmtx_std::__stl_debug_engine<bool>::_IndexedError(int, char const*, int)]+0x8): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE13_IndexedErrorEiPKci[stlpdmtx_std::__stl_debug_engine<bool>::_IndexedError(int, char const*, int)]+0x25): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_pair.h:(.text$_ZNK12stlpdmtx_std12_String_baseIcNS_9allocatorIcEEE21_M_throw_length_errorEv[stlpdmtx_std::_String_base<char, stlpdmtx_std::allocator<char> >::_M_throw_length_error() const]+0xe): undefined reference to `_imp___ZN12stlpdmtx_std24__stl_throw_length_errorEPKc'
..\dependencies\lib/libOIS_static_d.a(Win32KeyBoard.o): In function `ZN12stlpdmtx_std4fposIiEmiEx':D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEEC2Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::basic_ios()]+0xd): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseC2Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED2Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0x5e): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0x8e): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0xac): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0xd8): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std10_M_put_numIcNS_11char_traitsIcEElEERNS_13basic_ostreamIT_T0_EES7_T1_[stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >& stlpdmtx_std::_M_put_num<char, stlpdmtx_std::char_traits<char>, long>(stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >&, long)]+0x15b): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std10_M_put_numIcNS_11char_traitsIcEElEERNS_13basic_ostreamIT_T0_EES7_T1_[stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >& stlpdmtx_std::_M_put_num<char, stlpdmtx_std::char_traits<char>, long>(stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >&, long)]+0x180): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZNK12stlpdmtx_std8ios_base6getlocEv[stlpdmtx_std::ios_base::getloc() const]+0x18): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1ERKS0_'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEEC2Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::basic_streambuf()]+0x55): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED2Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0x50): undefined reference to `_imp___ZN12stlpdmtx_std8ios_base5imbueERKNS_6localeE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0x9c): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xac): undefined reference to `_imp___ZN12stlpdmtx_std5ctypeIcE2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xbb): undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_get_facetERKNS0_2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xde): undefined reference to `_imp___ZN12stlpdmtx_std8numpunctIcE2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xed): undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_get_facetERKNS0_2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0x1a1): undefined reference to `_imp___ZN12stlpdmtx_std8ios_base5imbueERKNS_6localeE'
..\dependencies\lib/libOIS_static_d.a(Win32KeyBoard.o): In function `ZN3OIS13Win32KeyboardC1EP14IDirectInput8Abm':D:/Dev/ois/Win32/../src/win32/Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeaSERKS0_'
:D:/Dev/ois/Win32/../src/win32/Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/Dev/ois/Win32/../src/win32/Win32KeyBoard.cpp:33: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/Dev/ois/Win32/../src/win32/Win32KeyBoard.cpp:42: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
..\dependencies\lib/libOIS_static_d.a(Win32KeyBoard.o): In function `ZN12stlpdmtx_std4fposIiEmiEx':D:/OgreSDK/stlport/stlport/stl/chaInfo: resolving Ogre::Quaternion::IDENTITY      by linking to __imp___ZN4Ogre10Quaternion8IDENTITYE (auto-import)
Info: resolving Ogre::Vector3::ZERO     by linking to __imp___ZN4Ogre7Vector34ZEROE (auto-import)
Info: resolving Ogre::Renderable::msDummyPlaneList       by linking to __imp___ZN4Ogre10Renderable16msDummyPlaneListE (auto-import)
Info: resolving Ogre::StringUtil::BLANK      by linking to __imp___ZN4Ogre10StringUtil5BLANKE (auto-import)
Info: resolving Ogre::Vector3::NEGATIVE_UNIT_Z      by linking to __imp___ZN4Ogre7Vector315NEGATIVE_UNIT_ZE (auto-import)
Info: resolving Ogre::Vector3::UNIT_Y     by linking to __imp___ZN4Ogre7Vector36UNIT_YE (auto-import)
Info: resolving Ogre::Math::fDeg2Rad     by linking to __imp___ZN4Ogre4Math8fDeg2RadE (auto-import)
Info: resolving Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME       by linking to __imp___ZN4Ogre20ResourceGroupManager27DEFAULT_RESOURCE_GROUP_NAMEE (auto-import)
Info: resolving vtable for Ogre::MeshPtrby linking to __imp___ZTVN4Ogre7MeshPtrE (auto-import)
r_traits.h:(.text$_ZN12stlpdmtx_std9use_facetINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEERKT_RKNS_6localeE[stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > const& stlpdmtx_std::use_facet<stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > >(stlpdmtx_std::locale const&)]+0x7): undefined reference to `_imp___ZN12stlpdmtx_std7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9use_facetINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEERKT_RKNS_6localeE[stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > const& stlpdmtx_std::use_facet<stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > >(stlpdmtx_std::locale const&)]+0x16): undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_use_facetERKNS0_2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std8ios_base23_M_check_exception_maskEv[stlpdmtx_std::ios_base::_M_check_exception_mask()]+0x1d): undefined reference to `_imp___ZN12stlpdmtx_std8ios_base16_M_throw_failureEv'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0x66): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1ERKS0_'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0x7d): undefined reference to `_imp___ZN12stlpdmtx_std6localeaSERKS0_'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0xa2): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED0Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED1Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED0Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED1Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'


Does that give you anymore ideas?
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #40 on: May 06, 2006, 10:18:49 PM »

You would have better errors, I think, if you built OIS as a dll, at least, then it would determine missing externals when building OIS and not WGE (sinze, you built it as a static lib, it waits until later to determine what's missing).

What libs are you linking to for the OIS Build?
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #41 on: May 06, 2006, 10:21:41 PM »

Good idea  :D, I'll go build it, and see what its problem is.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #42 on: May 06, 2006, 10:28:25 PM »

<deleted errors>
I just saw Steven's post and I added
Code: [Select]
#      if defined( OIS_DYNAMIC_LIB ) && !defined( __GNUC__ )
to line 55 of OISPrereqs.h, and they are gone now.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling With CodeBlocks(on Windows)
« Reply #43 on: May 06, 2006, 10:33:16 PM »

I've gotten it built, and these are the linking errors:
Code: [Select]

..\dll\debug\src\OISForceFeedback.o: In function `ZN12stlpdmtx_std10_Rb_globalIbE13_Rotate_rightEPNS_18_Rb_tree_node_baseERS3_':D:/OgreSDK/stlport/stlport/stl/_tree.c:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE7_AssertEPKcS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_Assert(char const*, char const*, int)]+0x1c): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_tree.c:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE14_VerboseAssertEPKciS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_VerboseAssert(char const*, int, char const*, int)]+0x1d): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_tree.c:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE14_VerboseAssertEPKciS3_i[stlpdmtx_std::__stl_debug_engine<bool>::_VerboseAssert(char const*, int, char const*, int)]+0x3a): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_tree.c:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE13_IndexedErrorEiPKci[stlpdmtx_std::__stl_debug_engine<bool>::_IndexedError(int, char const*, int)]+0x8): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
:D:/OgreSDK/stlport/stlport/stl/_tree.c:(.text$_ZN12stlpdmtx_std18__stl_debug_engineIbE13_IndexedErrorEiPKci[stlpdmtx_std::__stl_debug_engine<bool>::_IndexedError(int, char const*, int)]+0x25): undefined reference to `_imp___ZN12stlpdmtx_std18__stl_debug_engineIbE14_Message_tableE'
..\dll\debug\src\OISKeyboard.o: In function `ZNK3OIS6Object8bufferedEv':D:/Dev/ois/Win32/../includes/OISObject.h:(.text$_ZNK12stlpdmtx_std12_String_baseIcNS_9allocatorIcEEE21_M_throw_length_errorEv[stlpdmtx_std::_String_base<char, stlpdmtx_std::allocator<char> >::_M_throw_length_error() const]+0xe): undefined reference to `_imp___ZN12stlpdmtx_std24__stl_throw_length_errorEPKc'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE5pbumpEi':D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEEC2Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::basic_ios()]+0xd): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseC2Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED2Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0x5e): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0x8e): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE4initEPNS_15basic_streambufIcS2_EE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::init(stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >*)]+0xac): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN3OIS18Win32ForceFeedbackC1EP20IDirectInputDevice8A':D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:34: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE5pbumpEi':D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEEC2Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::basic_streambuf()]+0x55): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED2Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0x50): undefined reference to `_imp___ZN12stlpdmtx_std8ios_base5imbueERKNS_6localeE'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0x9c): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xac): undefined reference to `_imp___ZN12stlpdmtx_std5ctypeIcE2idE'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEE5imbueERKNS_6localeE[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::imbue(stlpdmtx_std::locale const&)]+0xbb): undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_get_facetERKNS0_2idE'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN3OIS18Win32ForceFeedbackC1EP20IDirectInputDevice8A':D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:34: undefined reference to `_imp___ZN12stlpdmtx_std8numpunctIcE2idE'
:D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:34: undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_get_facetERKNS0_2idE'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN3OIS18Win32ForceFeedbackD2Ev':D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:41: undefined reference to `_imp___ZN12stlpdmtx_std8ios_base5imbueERKNS_6localeE'
:D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:41: undefined reference to `_imp___ZN12stlpdmtx_std6localeaSERKS0_'
:D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:43: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:43: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/Dev/ois/Win32/../src/win32/Win32ForceFeedback.cpp:43: undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
..\dll\debug\src\win32\Win32ForceFeedback.o: In function `ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE5pbumpEi':D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std8ios_base23_M_check_exception_maskEv[stlpdmtx_std::ios_base::_M_check_exception_mask()]+0x1d): undefined reference to `_imp___ZN12stlpdmtx_std8ios_base16_M_throw_failureEv'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0x66): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1ERKS0_'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0x7d): undefined reference to `_imp___ZN12stlpdmtx_std6localeaSERKS0_'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::pubimbue(stlpdmtx_std::locale const&)]+0xa2): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED0Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std9basic_iosIcNS_11char_traitsIcEEED1Ev[stlpdmtx_std::basic_ios<char, stlpdmtx_std::char_traits<char> >::~basic_ios()]+0x16): undefined reference to `_imp___ZN12stlpdmtx_std8ios_baseD2Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED0Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/_streambuf.h:(.text$_ZN12stlpdmtx_std15basic_streambufIcNS_11char_traitsIcEEED1Ev[stlpdmtx_std::basic_streambuf<char, stlpdmtx_std::char_traits<char> >::~basic_streambuf()]+0x19): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
..\dll\debug\src\win32\Win32KeyBoard.o: In function `ZN12stlpdmtx_std4fposIiEmiEx':D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std10_M_put_numIcNS_11char_traitsIcEElEERNS_13basic_ostreamIT_T0_EES7_T1_[stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >& stlpdmtx_std::_M_put_num<char, stlpdmtx_std::char_traits<char>, long>(stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >&, long)]+0x15b): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std10_M_put_numIcNS_11char_traitsIcEElEERNS_13basic_ostreamIT_T0_EES7_T1_[stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >& stlpdmtx_std::_M_put_num<char, stlpdmtx_std::char_traits<char>, long>(stlpdmtx_std::basic_ostream<char, stlpdmtx_std::char_traits<char> >&, long)]+0x180): undefined reference to `_imp___ZN12stlpdmtx_std6localeD1Ev'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZNK12stlpdmtx_std8ios_base6getlocEv[stlpdmtx_std::ios_base::getloc() const]+0x18): undefined reference to `_imp___ZN12stlpdmtx_std6localeC1ERKS0_'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9use_facetINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEERKT_RKNS_6localeE[stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > const& stlpdmtx_std::use_facet<stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > >(stlpdmtx_std::locale const&)]+0x7): undefined reference to `_imp___ZN12stlpdmtx_std7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE2idE'
:D:/OgreSDK/stlport/stlport/stl/char_traits.h:(.text$_ZN12stlpdmtx_std9use_facetINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEERKT_RKNS_6localeE[stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > const& stlpdmtx_std::use_facet<stlpdmtx_std::num_put<char, stlpdmtx_std::ostreambuf_iterator<char, stlpdmtx_std::char_traits<char> > > >(stlpdmtx_std::locale const&)]+0x16): undefined reference to `_imp___ZNK12stlpdmtx_std6locale12_M_use_facetERKNS0_2idE'
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling With CodeBlocks(on Windows)
« Reply #44 on: May 06, 2006, 10:47:18 PM »

Eek!! Those are nasty.. They look like STL errors.

Are you linking against StlPort (Like Ogre does - the same exact version), cause, if not, that would cause some serious isses with regards to passing strings back and forth. Though, not entirely sure if that would fix these issues, but I imagine so. You should take a look at the closed patch tracker on the wgois site, he posted a (so he said) working Codeblaocks file for OIS.. I added it to cvs already (but, anonymous cvs is fubar). If you can't get that going, create a sf.net account, and PM me with your login name, and I will add you to OIS dev access.
Logged
Pages: 1 2 [3] 4 5 ... 8