[vtkusers] help: why wxUSE_DYNLIB_CLASS must be defined?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Feb 11 09:07:47 EST 2004


Quan,

	Did you build any wx example first ? Did they work ? Did you configure 
setup.h correctly. Please direct wx related question to the right wx 
mailing list.

HTH
Mathieu

Quan Li wrote:
> Hi Mathieu:
> I tried two programs in the Sample directory using
> MSVC++6.0 under XP. The same error is given:
> Sample.cpp
> c:\wxwindows-2.4.2\include\wx\chkconf.h(48) : fatal
> error C1189: #error :  "wxUSE_DYNLIB_CLASS must be
> defined."
> 
> I modify the settings as described in Franky Braem's
> tutorial on wxWindows 2. They are as follows:
> **Debug configuration
> C/C++:
> The preprocessor definitions field should contain:
> WIN32, _DEBUG, _WINDOWS, __WINDOWS__, __WXMSW__,
> __WXDEBUG__, WXDEBUG=1,
> __WIN95__, __WIN32__, WINVER=0x0400, STRICT
> The Additional include directories:
> c:\<wx-path>\include;c:\<wx-path>\contrib\include
> Link:
> The Object/library modules field should contain:
> [kernel32.lib user32.lib gdi32.lib winspool.lib
> comdlg32.lib advapi32.lib shell.lib ole32.lib 
> oleauto32.lib uuid.lib odbc32.lib odbccp32.lib
> comctl32.lib rpcrt4.lib winmm.lib wxd.lib 
> xpmd.lib pngd.lib zlibd.lib
> jpegd.lib tiffd.lib ]
> The Additional library path contain:
> c:\<wx-path>\lib, c:\<wx-path>\contrib\lib
> 
> Thanks for your reply.
> 
> Quan
> --- Mathieu Malaterre <mathieu.malaterre at kitware.com>
> wrote:
> 
>>Quan,
>>
>>	Could you please have a look at:
>>
>>http://www.creatis.insa-lyon.fr/~malaterre/wxVTK/
>>
>>And report me if it works for you ? (I tested it
>>with wxWindows 2.4.2 
>>-not sure of the name now ;)- and VTK 3.1, 3.2, 4.2
>>and CVS
>>
>>
>>Mathieu
>>
>>Quan Li wrote:
>>
>>>Hello Friends:
>>>I post this following mssage to both vtk and wx
>>
>>user
>>
>>>list for help.
>>>I tried to compile and run the wxVTK
>>
>>demos/basic.cpp
>>
>>>by Brian Todd with VC++ 6.0 under windows XP. I
>>
>>get
>>
>>>the following error message.
>>>..\..\include\wx/chkconf.h(48) : fatal error
>>
>>C1189:
>>
>>>#error :  "wxUSE_DYNLIB_CLASS must be defined."
>>>
>>>I then tried the demos distributed with
>>>wxWindows2.4.2. The same error message is given. I
>>>checked any previously posted help info (
>>>
>>
> http://lists.wxwindows.org/archive/wx-users/msg42988.html)
> 
>>>and it doesn't seem to be helpful to me. 
>>>
>>>I would appreciate any help with this. 
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Yahoo! Finance: Get your refund fast by filing
>>
>>online.
>>
>>>http://taxes.yahoo.com/filing.html
>>>_______________________________________________
>>>This is the private VTK discussion list. 
>>>Please keep messages on-topic. Check the FAQ at:
>>
>><http://public.kitware.com/cgi-bin/vtkfaq>
>>
>>>Follow this link to subscribe/unsubscribe:
>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>>
>>
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 






More information about the vtkusers mailing list