pingus-devel
[Top][All Lists]
Advanced

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

Re: Problems compiling Pingus (libiconv)


From: Kenneth Gangstoe
Subject: Re: Problems compiling Pingus (libiconv)
Date: Sat, 18 Jan 2003 19:19:26 +0100
User-agent: Mutt/1.4i

I've given this a shot too, and here are the errors I get:

1) Boost

g:\Source\Games\Pingus\src\boost\smart_ptr.hpp(361) : error C2065: 'T' : 
undeclared identifier
g:\Source\Games\Pingus\src\boost\smart_ptr.hpp(361) : error C2687: cannot 
define a nested UDT of a template class out of line
g:\Source\Games\Pingus\src\boost\smart_ptr.hpp(361) : fatal error C1903: unable 
to recover from previous error(s); stopping compilation

I'm using Visual C++ 7, and it seems to choke on this. I guess maybe upgrading
to a newer boost might help. I just deleted the specialized template for now.

2) Namespace confusion

g:\Source\Games\Pingus\src\surface_button.cxx(42) : error C2888: 
'SurfaceButton::SurfaceButton(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(57) : error C2888: 
'SurfaceButton::~SurfaceButton(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(62) : error C2888: 'void 
SurfaceButton::draw(GraphicContext &)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(121) : error C2888: 'void 
SurfaceButton::update(float)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(127) : error C2888: 'void 
SurfaceButton::on_pointer_enter(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(135) : error C2888: 'void 
SurfaceButton::on_pointer_leave(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(142) : error C2888: 'void 
SurfaceButton::on_pointer_press(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(148) : error C2888: 'void 
SurfaceButton::on_pointer_release(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(154) : error C2888: 'bool 
SurfaceButton::is_at(int,int)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(166) : error C2888: 
'CreditButton::CreditButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(167) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(167) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(190) : error C2888: 
'CreditButton::~CreditButton(void)' : symbol cannot be defined within namespace 
'std'
g:\Source\Games\Pingus\src\surface_button.cxx(190) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(195) : error C2888: 'void 
CreditButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(196) : error C2039: 'cout' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(196) : error C2039: 'endl' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(203) : error C2888: 
'OptionsButton::OptionsButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(204) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(204) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(226) : error C2888: 
'OptionsButton::~OptionsButton(void)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(226) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(231) : error C2888: 'void 
OptionsButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(234) : error C2039: 'endl' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(240) : error C2888: 
'QuitButton::QuitButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(241) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(241) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(263) : error C2888: 
'QuitButton::~QuitButton(void)' : symbol cannot be defined within namespace 
'std'
g:\Source\Games\Pingus\src\surface_button.cxx(263) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(268) : error C2888: 'void 
QuitButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(269) : error C2039: 'cout' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(269) : error C2039: 'endl' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(277) : error C2888: 
'LoadButton::LoadButton(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(277) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(277) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(286) : error C2888: 
'LoadButton::~LoadButton(void)' : symbol cannot be defined within namespace 
'std'
g:\Source\Games\Pingus\src\surface_button.cxx(286) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(290) : error C2888: 'void 
LoadButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(300) : error C2888: 
'EditorButton::EditorButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(301) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(301) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(326) : error C2888: 
'EditorButton::~EditorButton(void)' : symbol cannot be defined within namespace 
'std'
g:\Source\Games\Pingus\src\surface_button.cxx(326) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(331) : error C2039: 'string' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\surface_button.cxx(332) : error C2888: 'void 
EditorButton::load_level(const std::string &)' : symbol cannot be defined 
within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(338) : error C2888: 'void 
EditorButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(343) : error C2888: 
'StoryButton::StoryButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(344) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(344) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(364) : error C2888: 
'StoryButton::~StoryButton(void)' : symbol cannot be defined within namespace 
'std'
g:\Source\Games\Pingus\src\surface_button.cxx(364) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(368) : error C2888: 'void 
StoryButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(374) : error C2888: 
'ThemeButton::ThemeButton(PingusMenu *)' : symbol cannot be defined within 
namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(375) : error C2264: 
'SurfaceButton::SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(375) : error C2264: 
'SurfaceButton::~SurfaceButton' : error in function definition or declaration; 
function not called
g:\Source\Games\Pingus\src\surface_button.cxx(388) : error C2888: 'void 
ThemeButton::on_click(void)' : symbol cannot be defined within namespace 'std'
g:\Source\Games\Pingus\src\surface_button.cxx(421) : fatal error C1075: end of 
file found before the left brace '{' at 
'g:\Source\Games\Pingus\src\boost\smart_ptr.hpp(340)' was matched

This looks really werid to me. I have no idea what the real problem is here.

3) more namespace trouble

I continue, but still:

g:\Source\Games\Pingus\src\input_debug_screen.hxx(26) : error C2504: 
'std::Screen' : base class undefined
g:\Source\Games\Pingus\src\layer_manager.hxx(48) : error C2079: 
'std::LayerManager::Layer::sur' uses undefined class 'std::CL_Surface'
g:\Source\Games\Pingus\src\layer_manager.hxx(81) : error C2039: 'vector' : is 
not a member of 'std::std'
g:\Source\Games\Pingus\src\layer_manager.hxx(81) : error C2955: 'std::vector' : 
use of class template requires template argument list
        c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\vector(655) : 
see declaration of 'std::vector'
        g:\Source\Games\Pingus\src\layer_manager.hxx(81) : error C2059: syntax 
error : '<'
        g:\Source\Games\Pingus\src\layer_manager.hxx(81) : error C2238: 
unexpected token(s) preceding ';'
        g:\Source\Games\Pingus\src\exit_menu.hxx(31) : error C2079: 
'std::ExitMenu::sur' uses undefined class 'std::CL_Surface'
        g:\Source\Games\Pingus\src\pingus_menu.hxx(48) : error C2079: 
'std::PingusMenu::background' uses undefined class 'std::CL_Surface'
        g:\Source\Games\Pingus\src\pingus_menu.hxx(50) : error C2079: 
'std::PingusMenu::cursor_sur' uses undefined class 'std::CL_Surface'
        g:\Source\Games\Pingus\src\intro.hxx(36) : error C2079: 
'std::Intro::logo' uses undefined class 'std::CL_Surface'
        g:\Source\Games\Pingus\src\option_menu.hxx(37) : error C2039: 'string' 
: is not a member of 'std::std'
        g:\Source\Games\Pingus\src\option_menu.hxx(41) : error C2039: 'string' 
: is not a member of 'std::std'
        

4) I kinda gave up at this point :)        

- Kenneth

Quoting David Philippi (address@hidden):
> Hi all
> 
> By now I've managed to compile all of ClanLib that's used by Pingus without 
> too much problems (beside the fact that I had to download 220MB DirectX SDK). 
> But now I'm quite stuck on compiling libIconV. There's some macro or define 
> named LOCALEDIR which isn't set on my system. May be that it just corresponds 
> to an environment variable but I've found no documentation yet.
> Since I don't like to work in Windows anyway I thought I may ask and maybe 
> save myself the work. ;-)
> 
> Bye David
> 
> 
> _______________________________________________
> Pingus-Devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/pingus-devel




reply via email to

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