IrrConsole - Demo Download

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
deprecated
Posts: 62
Joined: Fri Jan 07, 2005 4:37 pm
Location: California

Post by deprecated »

Mohaps: thanks... that last fix worked...
now.. the last compile problem is this...

Code: Select all

console.cpp: In member function `void
   IC_Dispatcher::dispatch(irr::core::string<wchar_t>, const
   irr::core::array<WideString>&, IC_MessageSink*)':
console.cpp:231: parse error before `&' token
console.cpp:234: `wstr' undeclared (first use this function)
console.cpp:234: (Each undeclared identifier is reported only once for each
   function it appears in.)
console.cpp:237: `ex' undeclared (first use this function)
console.cpp: At global scope:
console.cpp:240: parse error before `else'
console.cpp:243: syntax error before `+=' token
console.cpp:244: syntax error before `+=' token
console.cpp:245: syntax error before `->' token
console.cpp:246: syntax error before `->' token
any ideas?
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

just comment those lines out

Code: Select all

/* 
//start form here
		catch(exception& ex)
		{
			WideString wstr = "error in invoking command [";
			wstr += cmdName;
			wstr += "]";
			pOutput->logError(wstr);
			pOutput->appendMessage(IC_StrConv::toWideString(ex.what()));
		}
//upto here
*/

in my console.cpp it is 231 - 238
or you can try cathing std::exception& ex in stead of exception& ex


Once you compile it on linux send me the ,cpp / .h and makefile in a zip and I shall post it on the website...

i think the code that compiles on linux should work on dev-cpp too
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
deprecated
Posts: 62
Joined: Fri Jan 07, 2005 4:37 pm
Location: California

Post by deprecated »

or you can try cathing std::exception& ex in stead of exception& ex
bingo!

that works...

FYI the changes I made to utils.cpp are;

Code: Select all

	::mbstowcs(buf, str.c_str(),len);
	::wcstombs(buf,str.c_str(),len);
code runs... but the tilde key doesn't seem to do anything...
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

in console.cpp

Code: Select all

//! the tilde (~/`) key 
const wchar_t IC_Console::IC_KEY_TILDE = 0xc0;
in testApp::OnEvent(SEvent event) print the key code for whenever you press the tilde key...

and set this accordingly and let me know...
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
deprecated
Posts: 62
Joined: Fri Jan 07, 2005 4:37 pm
Location: California

Post by deprecated »

How do I print out the key code... with something like this?

Code: Select all

std::cout << event.KeyInput.Char;
I've tried a few things but I am not that great of a c++ programmer...
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

Code: Select all

bool IC_TestApp::OnEvent(SEvent event)
{
   //insert here
  
   if(event.EventType == irr::EET_KEY_INPUT_EVENT )
  {
     if(event.KeyInput.PressedDown)
    {
         std::cout<<"key pressed : 0x"<<(hex)<<event.KeyInput.Key<<(dec)<<std::endl;
    }
 }

   //end here
 

//  .... rest of the code
}

also for testing comment out this bit of code in OnEvent()

Code: Select all

/*
 //start here

				else if(!event.KeyInput.Control)
				{
					console.setVisible(false);
					return true;
				}
 //end here
*/
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
deprecated
Posts: 62
Joined: Fri Jan 07, 2005 4:37 pm
Location: California

Post by deprecated »

it reports as 0x0 but so does a few other extended keys...

so, i just made it use the tab with 0x9 and that works fine...

thanks for your help...
now I can play around with it a bit...

Edit:
oh no.. the "/" key shows up as 0x0 on linux too...

do ya know how I can fix this?
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

are you checking the Char or the Code????

KeyInput.Char or KeyInput.Code
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
deprecated
Posts: 62
Joined: Fri Jan 07, 2005 4:37 pm
Location: California

Post by deprecated »

Code: Select all

std::cout<<"key pressed : 0x"<<(std::hex)<<event.KeyInput.Key<<(std::dec)<<std::endl;
Im using the code above... not char... and there are a few keys that show up as 0x0 on my computer (standard keyboard)... keys like "~`/-_=+" and more...

is this a prob with Irrlicht.. or is this something that I'm doing?
--=-- Ten thousand monkeys *could* write a book, but all you really need is one smart ape to do the job.--=--
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

I have never used the Linux version of irrlicht may be it is a bug...ask in the beginners help forums...
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

Ok I have been trying to port the IrrConsole to Dev-C++ however in everyproject involving Irrlicht, when I try to include the <IOSTREAM> I always get problems.

It gives me 98 errors however once I comment out the #include <iostream> and #include <map> it droped to 64 errors. However I know these files are needed? Here are my errors, any ideas?

Code: Select all

Compiler: Default compiler
Building Makefile: "E:\IrrConsoleRoot\Source\Makefile.win"
Executing  make...
make.exe -f "E:\IrrConsoleRoot\Source\Makefile.win" all
g++.exe -c console.cpp -o console.o -I"E:/Dev-Cpp/include/c++/3.3.1"  -I"E:/Dev-Cpp/include/c++/3.3.1/mingw32"  -I"E:/Dev-Cpp/include/c++/3.3.1/backward"  -I"E:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include"  -I"E:/Dev-Cpp/include"  -I"E:/Joe's Projects/RPG/include"   

In file included from E:/Dev-Cpp/include/c++/3.3.1/iosfwd:46,
                 from E:/Dev-Cpp/include/c++/3.3.1/ios:44,
                 from E:/Dev-Cpp/include/c++/3.3.1/ostream:45,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/c++locale.h: In function `int std::__convert_from_v(char*, int, const char*, _Tv, int* const&, int)':
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/c++locale.h:61: error: there are no arguments to `strlen' that depend on a template parameter, so a declaration of `strlen' must be available
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/c++locale.h:61: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/c++locale.h:63: error: there are no arguments to `strcpy' that depend on a template parameter, so a declaration of `strcpy' must be available

E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/c++locale.h:79: error: there are no arguments to `free' that depend on a template parameter, so a declaration of `free' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/bits/basic_ios.h:44,
                 from E:/Dev-Cpp/include/c++/3.3.1/ios:51,
                 from E:/Dev-Cpp/include/c++/3.3.1/ostream:45,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)':
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:696: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:697: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()':
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:703: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)':
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: `_M_c_locale_collate' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: (Each undeclared identifier is reported only once for each function it appears in.)
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1077: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1078: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/bits/basic_ios.h:44,
                 from E:/Dev-Cpp/include/c++/3.3.1/ios:51,
                 from E:/Dev-Cpp/include/c++/3.3.1/ostream:45,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)':
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1660: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1661: error: there are no arguments to `_M_initialize_moneypunct' that depend on a template parameter, so a declaration of `_M_initialize_moneypunct' must be available
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h: In destructor `virtual std::moneypunct_byname<_CharT, _Intl>::~moneypunct_byname()':
E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1667: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.h:1891,
                 from E:/Dev-Cpp/include/c++/3.3.1/bits/basic_ios.h:44,
                 from E:/Dev-Cpp/include/c++/3.3.1/ios:51,
                 from E:/Dev-Cpp/include/c++/3.3.1/ostream:45,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/messages_members.h: In constructor `std::messages_byname<_CharT>::messages_byname(const char*, size_t)':
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/messages_members.h:79: error: `_M_c_locale_messages' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/messages_members.h:79: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Dev-Cpp/include/c++/3.3.1/mingw32/bits/messages_members.h:80: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/bits/locale_facets.tcc:43,
                 from E:/Dev-Cpp/include/c++/3.3.1/locale:47,
                 from E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:37,
                 from E:/Dev-Cpp/include/c++/3.3.1/ostream:535,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/limits: At global scope:
E:/Dev-Cpp/include/c++/3.3.1/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:897: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:897: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:899: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:899: error: a function call cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:900: error: field initializer is not constant

E:/Dev-Cpp/include/c++/3.3.1/limits:915: error: field initializer is not constant

E:/Dev-Cpp/include/c++/3.3.1/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:955: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:955: error: a function call cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:957: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:957: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:958: error: field initializer is not constant

E:/Dev-Cpp/include/c++/3.3.1/limits:973: error: field initializer is not constant

E:/Dev-Cpp/include/c++/3.3.1/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1013: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1013: error: a function call cannot appear in a constant-expression

E:/Dev-Cpp/include/c++/3.3.1/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1015: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1015: error: a function call cannot appear in a constant-expression
E:/Dev-Cpp/include/c++/3.3.1/limits:1016: error: field initializer is not constant

E:/Dev-Cpp/include/c++/3.3.1/limits:1032: error: field initializer is not constant

In file included from E:/Dev-Cpp/include/c++/3.3.1/ostream:535,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:45,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:160: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:160: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:187: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:187: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:222: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:222: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long int)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:250: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:250: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:286: error: `_M_fnumput' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:286: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(double)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:312: error: `_M_fnumput' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:312: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long double)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:337: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:337: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(const void*)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:362: error: `_M_fnumput' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:362: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::put(_CharT)':
E:/Dev-Cpp/include/c++/3.3.1/bits/ostream.tcc:385: error: there are no arguments to `rdbuf' that depend on a template parameter, so a declaration of `rdbuf' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/istream:768,
                 from E:/Dev-Cpp/include/c++/3.3.1/iostream:46,
                 from includes.h:4,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(bool&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:117: error: `_M_fnumget' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:117: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:145: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:145: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&)':

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:181: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:181: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:209: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:209: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:245: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:245: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:272: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:272: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:299: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:299: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:327: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:327: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:354: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:354: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(float&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:382: error: `_M_fnumget' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:382: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(double&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:409: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:409: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long double&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:436: error: `_M_fnumget' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:436: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(void*&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:463: error: `_M_fnumget' undeclared (first use this function)

E:/Dev-Cpp/include/c++/3.3.1/bits/istream.tcc:463: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available

In file included from E:/Dev-Cpp/include/c++/3.3.1/map:66,
                 from includes.h:5,
                 from console.h:3,
                 from console.cpp:1:
E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h: In constructor `std::_Rb_tree_base<_Tp, _Alloc>::_Rb_tree_base(const typename std::_Rb_tree_alloc_base<_Tp, _Alloc,  std::_Alloc_traits<_Tp,_Allocator>::_S_instanceless>::allocator_type&)':
E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h:579: error: `_M_header' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h:579: error: there are no arguments to `_M_get_node' that depend on a template parameter, so a declaration of `_M_get_node' must be available

E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h: In destructor `std::_Rb_tree_base<_Tp, _Alloc>::~_Rb_tree_base()':
E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h:580: error: `_M_header' undeclared (first use this function)
E:/Dev-Cpp/include/c++/3.3.1/bits/stl_tree.h:580: error: there are no arguments to `_M_put_node' that depend on a template parameter, so a declaration of `_M_put_node' must be available

In file included from console.h:4,
                 from console.cpp:1:
utils.h:69:7: warning: no newline at end of file
In file included from console.cpp:1:
console.h:295:7: warning: no newline at end of file
In file included from console.cpp:2:
defaultCmds.h:70:7: warning: no newline at end of file
console.cpp: In member function `void IC_Dispatcher::dispatch(WideString, const irr::core::array<WideString>&, IC_MessageSink*)':
console.cpp:231: error: `exception' has not been declared
console.cpp:231: error: invalid catch parameter

console.cpp:237: error: `ex' undeclared (first use this function)

make.exe: *** [console.o] Error 1

Execution terminated
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

try using the flag -static
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

explain please!

I attempted it but only got down to 95 errors so im not sure what you ment.
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

just something i found from the google groups... search the google groups or try the DevCPP forums
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

look earlier in this thread and get in touch with "deprecated" for the code he got to run on linux... that is a good starting point for the devCPP port
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Post Reply