On Sun, Nov 14, 2010 at 11:24 AM, klaas.holwerda <n...@klaasholwerda.nl>wrote:

> On 11/14/2010 09:52 AM, M Nealon wrote:
>
> > Following the instructions at http://wxart2d.org/moin/WxDocviewPackage I
> > performed a clean checkout of wxdocview, (in my case into
> > wxdocview_src), created a new folder (wxdocview), installed cmake
> > (version 2.8.3), changed wxWidgets_ROOT_DIR
>
> Set WXWIN in your environment. That should point to the wxWidgets tree you
> want to use.
> wxWidgets_ROOT_DIR is from within Cmake.
>

I created a new folder and created therein a batch file

set WXWIN=C:\wxWidgets-SVN-AUIMDIDocView
cmake-gui ../wxdocview_src

I built wxWidgets in static release build.

Running the batch file wxWidgets_ROOT_DIR  points correctly to my  desired
location.


>  to point to one of my
> > builds, which resulted in wxWidgets_SELECTED_CONFIG pointing correctly
> > to C:/wxWidgets-SVN-AUIMDIDocView/lib/vc_dll/mswud. (Note that
> > both wxWidgets_USE_DEBUG and wxWidgets_USE_UNICODE are set
>
> wxWidgets_USE_STATIC ??
>
> I see vc_dll so i think it is OFF.
> And what is there really in that directory?
>

Correctly built libraries and dll's for wxwidgets dll unicode debug build.



>
> Try the above first, in a new/empty builddir.
> Else try a static wxWidgets build, that is what i use.
>
>
 wxWidgets_USE_UNICODE = ON
wxWidgets_USE_STATIC = ON


Static wxWidgets build results in :-

"CMake Error at share/wxwidgets/FindwxWidgets.cmake:793 (ERROR_MSG):

 ERROR_MSG Macro invoked with incorrect arguments for macro named: ERROR_MSG

Call Stack (most recent call first):

share/wxwidgets/FindwxWidgets.cmake:961 (find_build_variable)

CMakeLists.txt:59 (find_package)

 CMake Error at share/wxwidgets/FindwxWidgets.cmake:793 (ERROR_MSG):

ERROR_MSG Macro invoked with incorrect arguments for macro named: ERROR_MSG

Call Stack (most recent call first):

share/wxwidgets/FindwxWidgets.cmake:967 (find_build_variable)

CMakeLists.txt:59 (find_package)

 CMake Error at share/wxwidgets/FindwxWidgets.cmake:793 (ERROR_MSG):

ERROR_MSG Macro invoked with incorrect arguments for macro named: ERROR_MSG

Call Stack (most recent call first):

share/wxwidgets/FindwxWidgets.cmake:971 (find_build_variable)

CMakeLists.txt:59 (find_package)

 ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library aui,

set to WX_aui=WX_aui-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library qa,

set to WX_qa=WX_qa-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library xrc,

set to WX_xrc=WX_xrc-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library html,

set to WX_html=WX_html-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library adv,

set to WX_adv=WX_adv-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library xml,

set to WX_xml=WX_xml-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library net,

set to WX_net=WX_net-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library core,

set to WX_core=WX_core-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library base,

set to WX_base=WX_base-NOTFOUND

ERRORC:/wxdocview_SRC/share/wxwidgets/FindwxWidgets.cmake(120): - not found
due to missing library stc,

set to WX_stc=WX_stc-NOTFOUND

CMake Error at share/wxwidgets/FindwxWidgets.cmake:1275 (MESSAGE):

wxWidgets required, please specify it's location.

Call Stack (most recent call first):

CMakeLists.txt:59 (find_package)

 Configuring incomplete, errors occurred!"

Again this looks like it is looking for aui library and not unicode built
aui.

Any further ideas?

Best regards
Mal
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to