wxTreeListCtrl Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mc2r
wxWorld Domination!
wxWorld Domination!
Posts: 1195
Joined: Thu Feb 22, 2007 4:47 pm
Location: Denver, Co
Contact:

wxTreeListCtrl

Post by mc2r »

Just checking to see if anyone has compiled the newest release of this?

Trying to get the 07/09/2009 version fo this to build from here http://wxcode.sourceforge.net/components/treelistctrl/

I thought from reading the forum that it was stable and would just build. But I can't get it to compile with GCC or Mingw

gcc version for linux
gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC)

gcc version for mingw cross compiler
gcc version 4.4.0 20090319 (experimental) (GCC)

Both give me the same errors. Missing <wx/app.h> Passing of wxTreeListItem*'s all over where wxTreeItemId&'s are expected etc...

So my question is am I insane and just missing something to make this work, or is the latest stable not so stable?

-Max
mc2r
wxWorld Domination!
wxWorld Domination!
Posts: 1195
Joined: Thu Feb 22, 2007 4:47 pm
Location: Denver, Co
Contact:

Post by mc2r »

forgot wxWidgets versions

wx-config --list

Default config is gtk2-unicode-release-2.8


/usr/i686-pc-mingw32/sys-root/mingw/bin/wx-config --list

Default config is i686-pc-mingw32-msw-unicode-debug-2.8

Default config will be used for output

Alternate matches:
i686-pc-mingw32-msw-unicode-release-2.8
mc2r
wxWorld Domination!
wxWorld Domination!
Posts: 1195
Joined: Thu Feb 22, 2007 4:47 pm
Location: Denver, Co
Contact:

Post by mc2r »

Solved my problems. Mostly.

This gets it to compile on linux(Fedora 11), both gcc 4.4.0 and mingw cross compiler 4.4.0.


The Makefile in samples/treelisttest thinks it needs to run windres for some reason

make
windres `wx-config --cppflags -rescomp` -i treelisttest.rc -J rc -o treelisttest.res -O coff
/bin/sh: windres: command not found
make: *** [treelisttest.res] Error 127


I don't really need the test though, so this works for me.

-Max
DavidKlecker
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 232
Joined: Sun Nov 29, 2009 10:35 am

I'm having the compiling issues as well

Post by DavidKlecker »

I cannot get this module to compile as well. I have been at it now for close to two hours and have given up all hope.

I am bouncing between two errors:

The first error is: "error: definition of static data member 'wxTreeListHeaderWindow::ms_classInfo' of dllimport'd class"

and the second error has to do with -lwx_msw_core-2.8 not found.
Post Reply