Talk:Eclipse, CDT & MingW Setup Guide

From WxWiki

Jump to: navigation, search

I used this guide to setup eclipse in windows for wxWidgets however I Get the following errors upon compile:

undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'	roreditor	minimal.cpp	line 109	1170881182710	4815
undefined reference to `wxString::Format(char const*, ...)'	roreditor	minimal.cpp	line 188	1170881182710	4814
undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'	roreditor	minimal.cpp	line 109	1170881182710	4819
undefined reference to `wxAppConsole::OnAssertFailure(char const*, int, char const*, char const*, char const*)'	roreditor	minimal.cpp	line 109	1170881182710	4817
undefined reference to `wxAppConsole::OnAssert(char const*, int, char const*, char const*)'	roreditor	minimal.cpp	line 109	1170881182710	4818
undefined reference to `wxApp::Initialize(int&, char**)'	roreditor	minimal.cpp	line 109	1170881182710	4816
In function `ZN7MyFrame7OnAboutER14wxCommandEvent':	roreditor/Debug	minimal.o	line 0	1170880370496	4705
./minimal.o In function `ZN7MyFrame7OnAboutER14wxCommandEvent':		roreditor	line 0	1170881182710	4813

I double checked my includes, paths, libraries, etc. and still the same results. I have done a search but can't find any more information.

  • I don't use Eclipse, but these errors indicate that you haven't defined "_UNICODE" when building your application while trying to link it to unicode wxWidgets libraries. I can see the instructions are there under the Debug configuration section for setting this up. --Tierra 13:44, 8 February 2007 (PST)

[edit] Unable to compile library

Following the instructions on windows XP pro SP2, I'm unable to compile the libs - I get a ton of errors from the regcomp.c module. It appears that it's the regc_locale.c that's breaking it - well over 300 errors in that file alone. I'd cut and paste them, but I can't get a scroll buffer long enough to read them! :) --205.145.64.64 06:33, 14 February 2007 (PST)

Personal tools