Re: [wxhaskell-devel] API graphics

2012-01-17 Thread David Virebayre
Le 16 janvier 2012 17:26, Dave Tapley duked...@gmail.com a écrit :
 On 14 Jan 2012, at 23:01, Eric Kow wrote:
 I think our haddocks should include pictures.  If not possible due to 
 technical constraints, they should include links to pictures hosted on the 
 wiki or perhaps somewhere more stable like a darcs repository.

 What kind of pictures do you foresee a need for?

Well, they say a picture speaks more than a thousant words ! For
documenting the layouts modes, that would be great.
Also, it's annoying to have to switch between the haddocs and the
wxWidget documentation, if everything could be in one place, that'd be
cool.

David.

P.S. Also, haddock is useless for anything other than English
documentation. (Accentuated letters have to be escaped, last time I
checked)

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


[wxhaskell-devel] The 'making wxC build on all platforms thread

2012-01-17 Thread Jeremy O'Donoghue
Hi all,

I have collected together all of the people who I know are making the
effort to build Dave's latest code on different platforms. I'd also like to
introduce Andrej, who is testing wxC in the context of D (so could we go
easy on the Zygohistomorphic Premorphisms and other deep Haskell-ism in
this thread :-)

I'd suggest that we try to pull together all of the experiences into a
single thread - makes it easier for people to keep up.

For the moment, I'd like to bring up my experience with wxC on Windows:

First, you need at least a patch to wx-config-win32 which sorts out library
names (msys libraries are incorrectly named due to a 2.8/2.9 change)

At line 948 of wx-config-win.cpp, you need:
if (cfg[BUILD] == “debug”  cfg[DEBUG_FLAG] == “default”)
po[WXDEBUGFLAG] = “”;

if (cfg[DEBUG_FLAG] == “1″)
po[WXDEBUGFLAG] = “”;

.
Second, in wxc/Setup.hs you need to change line 82 (just after output
readProcess “wx-config” [--libs, std,gl,stc,xrc,richtext,aui,media,
--cppflags] “”

This is needed because wx-config-win does not support the new ‘all’ flag,
and I haven’t had time to fix wx-config-win properly.

Third, the library then builds for me, but fails to link (link errors in
StyledTextCtrl). I hope to work out why tonight or tomorrow.

Best regards

Jeremy
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel


Re: [wxhaskell-devel] The 'making wxC build on all platforms thread

2012-01-17 Thread Jeremy O'Donoghue
On 17 January 2012 21:38, Jeremy O'Donoghue jeremy.odonog...@gmail.comwrote:

 Hi all,

 I have collected together all of the people who I know are making the
 effort to build Dave's latest code on different platforms. I'd also like to
 introduce Andrej, who is testing wxC in the context of D (so could we go
 easy on the Zygohistomorphic Premorphisms and other deep Haskell-ism in
 this thread :-)

 I'd suggest that we try to pull together all of the experiences into a
 single thread - makes it easier for people to keep up.

 For the moment, I'd like to bring up my experience with wxC on Windows:

 First, you need at least a patch to wx-config-win32 which sorts out
 library names (msys libraries are incorrectly named due to a 2.8/2.9
 change)

 At line 948 of wx-config-win.cpp, you need:
 if (cfg[BUILD] == “debug”  cfg[DEBUG_FLAG] == “default”)
 po[WXDEBUGFLAG] = “”;

 if (cfg[DEBUG_FLAG] == “1″)
 po[WXDEBUGFLAG] = “”;


 Second, in wxc/Setup.hs you need to change line 82 (just after output
 readProcess “wx-config” [--libs, std,gl,stc,xrc,richtext,aui,media,
 --cppflags] “”

 This is needed because wx-config-win does not support the new ‘all’ flag,
 and I haven’t had time to fix wx-config-win properly.

 Third, the library then builds for me, but fails to link (link errors in
 StyledTextCtrl). I hope to work out why tonight or tomorrow.




I've worked out why, but haven't fixed it.

wx-config-win doesn't know about some of the new libraries, and is giving
incorrect results in other cases. I don't have time to fix this tonight,
but:

C:\usr\local\src\haskell\wxhaskell-dev\wxhaskell-2.9\wxcwx-config --libs
base,gl,xrc,richtext,aui,media returns
 -mthreads -LD:\Builds\wxWidgets-2.9.3\lib\gcc_dll -lwxmsw29u_richtext
-lwxmsw29u_gl -lopengl32 -lglu32 -lwxmsw29u_media -lwxbase29u -lwxtiff
-lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32
-lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32
-loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32

C:\usr\local\src\haskell\wxhaskell-dev\wxhaskell-2.9\wxcwx-config --libs
returns
 -mthreads -LD:\Builds\wxWidgets-2.9.3\lib\gcc_dll -lwxmsw29u_html
-lwxmsw29u_adv
-lwxmsw29u_core -lwxbase29u_xml -lwxbase29u_net
-lwxbase29u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat
-lkernel32 -luser32 -lgdi32 -lcomdlg32 -lw xregexu -lwinspool -lwinmm
-lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32

Missing base libraries in red.

I'll try to fix this tomorrow.

Regards
Jeremy
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel