Menu

Problesm Linking/Compiling wxWindows

2003-01-09
2012-09-26
  • Nobody/Anonymous

    Hi
    I'm using Dev-C++ with wxWindows but i can't change PATH (because I'm using NT Workstation). I went and changed all the relative paths in the wxWindows files to absolute paths which helped a bit - now i'm just stuck with "undefined reference" errors. They follow the form : "//c/wx2/include/wx/msw/font.h(.text$_$_14wxMenuItemList+0x14): undefined reference to `wxListBase::~wxListBase(void)'
    //c/wx2/include/wx/msw/font.h(.text$Find__C14wxMenuItemListRC9wxListKey+0x15): undefined reference to `wxListBase::Find(wxListKey const &) const'" ..etc
    Can anyone help please?

     
    • Patrick Ogay

      Patrick Ogay - 2003-01-09

      libraries missing: paths, -l... in compiler option
      GCC 3.2 not binary compatible
      Patrick

       
    • Anonymous

      Anonymous - 2003-01-09

      In NT workstation, right-click My Computer, select Properties..., select the Environment tab, and set the path there.

      There are two sections - one applies to all user profiles, and can only be changed if you have admin rights, and the other is local to the current profile, and can be changed by the current user.

      If you create a path variable in the current user environment, it will be appended to the global one.

      Any console windows that are open when you set the environment will not get the new environment. You need to close and re-open.

      In fact if you create an autoexec.bat file with a path spec in that NT will read it and set the environment on startup, just like DOS, but the above method is better - no need to re-boot.

       
    • upcase

      upcase - 2003-01-11

      By the way: What version of wxWindows are you using? Only asking because I first used a precompiled version (2.2.9) and in the end it didn't offer all functionality. Download 2.4.0, configure and compile it yourself to be sure everything is there.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.