in search of wisdom

Billy Patton billypatton at sbcglobal.net
Thu Mar 1 08:39:15 PST 2007


I'm running mingw of a pc.
I've build wxWidgets , samples and contrib without a problem.
But when I try and do the configure in wxArt2d I get the following error
checking for wxWidgets version >= 2.6.0... yes (version 2.8.0)
checking for wxWidgets static library... yes
checking if wxWidgets was built with UNICODE enabled... no
checking if wxWidgets was built in DEBUG mode... yes
checking if wxWidgets was built in STATIC mode... yes
checking if wxWidgets port is wxGTK... no
checking if wxWidgets port is wxMotif... no
checking if wxWidgets port is wxMac... no
checking if wxWidgets port is wxX11... no
checking if wxWidgets port is wxMGL... no
configure: error: Cannot detect the currently installed wxWidgets port !

A configure --h in wxWdigets gives me about ports
  --with-gtk[=VERSION]    use GTK+, VERSION can be 2 (default), 1 or "any"
  --with-motif            use Motif/Lesstif
  --with-mac              use Mac OS X
  --with-cocoa            use Cocoa
  --with-wine             use Wine
  --with-msw              use MS-Windows
  --with-pm               use OS/2 Presentation Manager
  --with-mgl              use SciTech MGL
  --with-directfb         use DirectFB
  --with-microwin         use MicroWindows
  --with-x11              use X11
  --with-libpng           use libpng (PNG image format)
  --with-libjpeg          use libjpeg (JPEG file format)
  --with-libtiff          use libtiff (TIFF file format)
  --with-libxpm           use libxpm (XPM file format)
  --with-libmspack        use libmspack (CHM help files loading)
  --with-sdl              use SDL for audio on Unix
  --with-gnomeprint       use GNOME print for printing under GNOME
  --with-gnomevfs         use GNOME VFS for associating MIME types
  --with-hildon           use Hildon framework for Nokia 770
  --with-opengl           use OpenGL (or Mesa)
  --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
  --with-dmalloc          use dmalloc library (http://dmalloc.com/)
  --with-regex            enable support for wxRegEx class
  --with-zlib             use zlib for LZW compression
  --with-odbc             use the IODBC and wxODBC classes
  --with-expat            enable XML support using expat parser
  --with-flavour=NAME     specify a name to identify this build
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
  --with-x                use the X Window System
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
  --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
  --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)


Which one of these am I supposed to use?




Klaas Holwerda <db348 at nl.thalesgroup.com> wrote: Billy Patton wrote:

> I'm now trying to adapt most of my functionality to wxWidgets and the 
> methods of callback

So yopu should first go to wxArt2D, which has all you want, and more.
I wrote/ am writing a GDSII editor with it, but reading and displaying is already default in it.

> Questions I need to answer.
> 1. Is the SetUserScale better than handling it my self?

Best do it yourself with cashing coordinates array where coversion from world to device takes place.

>    If I use I would have to use GetUserScale to adjust the points for 
> selecting data in the database.
> 2. Is there a way to relocate 0,0 on a canvas?

I did it all in a device context above wxDC, that knows matrixes, very improtant in GDSII

> 3. I would like to put a much better API between teh graphics and the 
> data. I would like to use gdsii,LAFF,Oasis,OpenAccess and mebes, 
> eventually.  Anyone have a concept for how to do this?

Yep, told you already.


> Here's a sample of what scale would have to look at
>  (ATTR 'UNITS'(
>     (TEXT '0.00100 MICRONS')))
>   (ATTR 'MINGRID'(
>     (TEXT '0.00100 0.00100')))

Same here.

Klaas



-- 
Unclassified

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070301/4375e921/attachment.htm


More information about the wx-users mailing list