Re: [wxVTK] Conflicting declarations when compiling wxVTK examples
Brought to you by:
malat
From: Catherine P. <cep...@gm...> - 2007-08-20 21:36:58
|
Mathieu, Thank you for the quick response. I get the message "Command not found." when I try to use those commands. I did realize that my last e-mail neglected to mention that I originally had issues finding PkgConfig. I changed CMakeLists.txt so it looks for GTK instead (as you instructed in response to Tim Hutton's message to the mailing list entitled "[wxVTK] [CMake] CMake error: PkgConfig" ), and am now getting the previous declaration errors. Catherine > > On 8/20/07, Mathieu Malaterre <mat...@gm...> wrote: > > Hi Catherine, > > > > Can you send us the output of the following two commands: > > > > $ wx-config --libs > > $ wx-config --cppflags > > > > Thanks > > -Mathieu > > > > On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > > > Hello all, > > > > > > I am a new user to wxVTKRenderWindowInteractor. I generated a > > > makefile using ccmake without issues, but cannot get the example codes > > > provided with wxVTKRenderWindowInteractor to compile correctly. > > > > > > I am getting the error messages: > > > In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, > > > from /usr/include/gtk-1.2/gdk/gdkx.h:30, > > > from wxVTKRenderWindowInteractor.cpp:54: > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration > > > 'typedef gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > 'GdkAtom' has a previous declaration as `typedef struct > > > _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > > > gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > > > gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting declaration > > > 'typedef struct _GdkWindow GdkWindow' > > > ...and so on. > > > > > > Does anyone have any suggestions as to what I can to to resolve these errors? > > > > > > Thanks, > > > Catheirne Peloquin > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Wxvtk-users mailing list > > > Wxv...@li... > > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > > > > > > > > -- > > Mathieu > > > |