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
wxTreeListCtrl Topic is solved
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
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
-
- Filthy Rich wx Solver
- Posts: 232
- Joined: Sun Nov 29, 2009 10:35 am
I'm having the compiling issues as well
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.
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.