Hi,

Did you set wxWidgets_USE_MONOLITHIC first?
And what version of wxWidgets are you using?

This part sets the libs.

    if( wxWidgets_USE_MONOLITHIC )
        set(wxWidgets_FIND_COMPONENTS ${wxWidgets_FIND_COMPONENTS} mono )
        set(wxWidgets_STD_LIBRARIES mono )
    else (wxWidgets_USE_MONOLITHIC)
        set(wxWidgets_STD_LIBRARIES base core ) # this is default
    endif( wxWidgets_USE_MONOLITHIC )


Maybe changing         set(wxWidgets_FIND_COMPONENTS 
${wxWidgets_FIND_COMPONENTS} mono )
  to         set(wxWidgets_FIND_COMPONENTS mono )
This sets the value only to mono, and forgets what it contained before, this gives you an idea what is exactly needed.
I find it alreday strange myself that i add mono to it, instead of setting it 
to mono.
So maybe something is wrong indeed.
And Message( HEY${wxWidgets_FIND_COMPONENTS}HOO ) helps you to find what is in 
it.

What libraries wx does generate exactly in mono mode?

Let me know the results, it might be I changed something, and don't remember it.

Klaas

On 05/22/2011 01:04 PM, M Nealon wrote:
Hello Klaas,

I checked out the current svn of wxDocView.

Unfortunately it doesn't seem to build, on Windows, when wxWidgets has been built as a monolithic library.

I attempted both using Visual Studio (nmake) and a current MinGW compiler. wxDocView still apparently looks for wxaui as well as the rest of the libraries from a standard (non-monolithic) build.

Could you point me to where in FindwxWidgets.cmake I should be looking, or have you made some changes which alter the structure.

I think I should be looking at something with monolithic or wxWidgets_FIND_COMPONENTS but as I am unsure as to how to debug a cmake script, it will probably be a "change and try" process.

Could you offer any help?

Regards
Mal


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay


_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to