Billy Patton wrote:
> 
> wxWidgets_FIND_COMPONENTS never gets set
> I don't see where this piece of code is doing anything but checking if a 
> variable is set.

# for compatibility with CMake 2.4.2
# emulate wxWidgets_FIND_COMPONENTS

It is not used.

What i seen down here is searching Cygwin the windows way not the Unix.

The next part should deal with that.
IF(WIN32)
     IF( CYGWIN OR MINGW )
         SET( wxWidgets_FIND_STYLE "UNIX_STYLE_FIND" CACHE STRING "wxWidgets 
find style" FORCE )
     ELSE( CYGWIN OR MINGW )
         SET( wxWidgets_FIND_STYLE "WIN32_STYLE_FIND" CACHE STRING "wxWidgets 
find style" FORCE )
     ENDIF( CYGWIN OR MINGW )
ENDIF(WIN32)


But what i think you are doing is using cmake from windows and not from Cygwin 
( is a seperate package that needs to be 
installed in Cygwin ).
Once you are using the right cmake (see install.html ), you need to have 
wxWidgets compiled for Cygwin, and you need to 
install it using Cygwin. Next you need to check if wx-config is found 
correctly, and WXWIN is set correctly (to find 
expat headers in wxWidgets).
If that is all set, sent me the dump once more.

Much better would be if you continued with vc2005. You have nice debugging and 
all that.
Why did you switch to Cygwin, it is more complicated?

Klaas

> 
> Here is the result of running cmake from a cygwin window.
> $ cmake ../wxArt2D
> -- Check for working C compiler: cl
> -- Check for working C compiler: cl -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: cl
> -- Check for working CXX compiler: cl -- works
> -- c:/wxArt2D/bin/FindwxWidgets.cmake(144): wxWidgets_FIND_COMPONENTS=
> c:/wxArt2D/bin/FindwxWidgets.cmake(144): wxWidgets_FIND_COMPONENTS=
> -- c:/wxArt2D/bin/FindwxWidgets.cmake(479): wxWidget install path: 
> c:/wxWidgets-2.8.2 version:  
> c:/wxWidgets-2.8.2/lib/vc_lib/wxbase28d.lib;c:/wxWidgets-2.8.2/lib/vc_lib/wxbase28d_net.
> ;c:/wxWidgets-2.8.2/lib/vc_lib/wxbase28d_odbc.lib;c:/wxWidgets-2.8.2/lib/vc_lib/wxbase28d_xml.lib
>  
> version:  28



-- 
Unclassified

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to