Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-31 Thread Miguel Vilaça

Hi,

I start this when i read in  
http://wxhaskell.sourceforge.net/download.html that concerning  
binaries for version 0.10.3:
All packages have ODBC support (but not OpenGL).

But at least the windows binary (as stated by shelarcy) and the  
wxhaskell-bin-powerpc-mac2.6.4-ghc6.8.2-0.10.3-0.dmg have opengl  
enabled.

I tested those two packages my self with code using opengl.

So, is just that the information at the webpage is more restricted  
than the packages :-)

best
Miguel Vilaça


Quoting Conal Elliott [EMAIL PROTECTED]:

 As long as there's a single binary (per release per platform) I'm for opengl
 being part of it.

 On Sat, Mar 29, 2008 at 6:56 AM, Eric Y. Kow [EMAIL PROTECTED] wrote:

 Hi,

 Answering the one question I know an answer to.

  In the meanwhile, I also found that the 0.10.3 binaries loose the
  opengl support compared with 0.9.4 as pointed in
  http://wxhaskell.sourceforge.net/download.html.
  Is there some reason for this?

 There used to be a flag bug in wxWidgets/wxHaskell, where (1)
 wxWidgets/wxHaskell would include opengl support even if you did not
 ask for it and (2) you still needed to pass --with-opengl in order
 for the appropriate right set of linker flags to be used when building
 applications.  Otherwise, people got strange GL-related errors when
 compiling their apps, even if they weren't using OpenGL in any way.

 We have now fixed that error so that you can now compile it without that
 flag and still link your applications succesfully.

 That said, we have not established a policy on what extra batteries
 should be included with the default binaries.  I guess a good thing to
 aim for is the most extras we can get that also come with a vanilla
 wxWidgets on all platforms.  If you're willing to do research on that,
 we can go re-think what flags to use.  I'm guessing that since prior
 versions of wxHaskell had opengl support, this kind of thing is OK.

 I'm personally hoping that a future wxhaskell will allow to install
 extras separately (e.g., that you could download just a binary for
 opengl support), but we haven't really worked out the right way to
 do this right.

 So what does this mean for you?  Well, if you're willing to do so, you
 could recompile it yourself with flags.  Otherwise, we could think about
 making yet another release (0.10.3-1) with opengl and some minor fixes
 in the makefile/configure script.

 --
 Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
 PGP Key ID: 08AC04F9

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.

 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users







-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-29 Thread Eric Y. Kow
Hi,

Answering the one question I know an answer to.

 In the meanwhile, I also found that the 0.10.3 binaries loose the  
 opengl support compared with 0.9.4 as pointed in  
 http://wxhaskell.sourceforge.net/download.html.
 Is there some reason for this?

There used to be a flag bug in wxWidgets/wxHaskell, where (1)
wxWidgets/wxHaskell would include opengl support even if you did not
ask for it and (2) you still needed to pass --with-opengl in order
for the appropriate right set of linker flags to be used when building
applications.  Otherwise, people got strange GL-related errors when
compiling their apps, even if they weren't using OpenGL in any way.

We have now fixed that error so that you can now compile it without that
flag and still link your applications succesfully.

That said, we have not established a policy on what extra batteries
should be included with the default binaries.  I guess a good thing to
aim for is the most extras we can get that also come with a vanilla
wxWidgets on all platforms.  If you're willing to do research on that,
we can go re-think what flags to use.  I'm guessing that since prior
versions of wxHaskell had opengl support, this kind of thing is OK.

I'm personally hoping that a future wxhaskell will allow to install
extras separately (e.g., that you could download just a binary for
opengl support), but we haven't really worked out the right way to
do this right.

So what does this mean for you?  Well, if you're willing to do so, you
could recompile it yourself with flags.  Otherwise, we could think about
making yet another release (0.10.3-1) with opengl and some minor fixes
in the makefile/configure script.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9


pgp3arhgOAljH.pgp
Description: PGP signature
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-29 Thread shelarcy
On Sat, 29 Mar 2008 22:41:19 +0900, Miguel Vilaça [EMAIL PROTECTED] wrote:
 Some pratical, to find a solutions is pointed in
 http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2006-09/msg02020.html:
 To see dependent DLLs, open your application with the dependency
 viewer (depends.exe).

 Can you please take a look on this and see if everything needed is
 going into the DLL?

Dependency Walker is free. So, I think you can look that yourself.

http://www.dependencywalker.com/

Anyway I saw that.

 Error: At least one required implicit or forwarded dependency was not found.
 Warning: At least one delay-load dependency module was not found.
 Warning: At least one module has an unresolved import due to a missing export 
 function in a delay-load dependent module.

This error come from MSVCR80.DLL.
And I found SP1's DLL is different from non-SP one today that I told you in 
previous mail.
So, please test SP1's DLL.


 In the meanwhile, I also found that the 0.10.3 binaries loose the
 opengl support compared with 0.9.4 as pointed in
 http://wxhaskell.sourceforge.net/download.html.
 Is there some reason for this?

I always enable opengl support to release Windows binary.
(Because previous version (include 0.9.4) is built by that policy.)

I think this difference is come from ghc's behavior change.
Please use -package OpenGL or --make to build executable files.

Best Regards,

-- 
shelarcy shelarcyhotmail.co.jp
http://page.freett.com/shelarcy/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-29 Thread José Miguel Vilaça
Hi,

The Microsoft Visual C++ 2005 SP1 Redistributable Package solves the
problem. Just great! 

If anyone with access to wxHaskell webpage at sourceforge could add a note
in downloads page about this issue, could avoid others to have this problem.
Something like
You may need to install Microsoft Visual C++ 2005 SP1 Redistributable
Package
(http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14
-984d-389c36f85647DisplayLang=en) or else you may see the error message
The applicattion failed to initialize properly (0xc0150002). Click OK to
terminate the application. when you compile your wxHaskell dependent code
and run those executables.

Many thanks!
Miguel Vilaça


-Mensagem original-
De: shelarcy [mailto:[EMAIL PROTECTED] 
Enviada: sábado, 29 de Março de 2008 14:34
Para: José Miguel Vilaça
Cc: wxhaskell-users
Assunto: Re: RE: wxHaskell 0.10.3: problems in Windows XP

Hi,

On Thu, 27 Mar 2008 07:55:50 +0900, José Miguel Vilaça
[EMAIL PROTECTED] wrote:
 I successfully installed Visual C++ 2005 Redistributable Package on
Windows
 XP but the same error remains. I even rebooted (for some reason this
usually
 solve many problems) the machine but no luck either.

 I'll take more time around this during the weekend, to see if I discover
the
 reason for this error.

Oops ... I found SP1 Redistributable Package is different from non-SP
Redistributable Package.

Please try to use Microsoft Visual C++ 2005 SP1 Redistributable Package
(x86).

http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-
984d-389c36f85647DisplayLang=en

-- 
shelarcy shelarcyhotmail.co.jp
http://page.freett.com/shelarcy/


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-29 Thread Conal Elliott
As long as there's a single binary (per release per platform) I'm for opengl
being part of it.

On Sat, Mar 29, 2008 at 6:56 AM, Eric Y. Kow [EMAIL PROTECTED] wrote:

 Hi,

 Answering the one question I know an answer to.

  In the meanwhile, I also found that the 0.10.3 binaries loose the
  opengl support compared with 0.9.4 as pointed in
  http://wxhaskell.sourceforge.net/download.html.
  Is there some reason for this?

 There used to be a flag bug in wxWidgets/wxHaskell, where (1)
 wxWidgets/wxHaskell would include opengl support even if you did not
 ask for it and (2) you still needed to pass --with-opengl in order
 for the appropriate right set of linker flags to be used when building
 applications.  Otherwise, people got strange GL-related errors when
 compiling their apps, even if they weren't using OpenGL in any way.

 We have now fixed that error so that you can now compile it without that
 flag and still link your applications succesfully.

 That said, we have not established a policy on what extra batteries
 should be included with the default binaries.  I guess a good thing to
 aim for is the most extras we can get that also come with a vanilla
 wxWidgets on all platforms.  If you're willing to do research on that,
 we can go re-think what flags to use.  I'm guessing that since prior
 versions of wxHaskell had opengl support, this kind of thing is OK.

 I'm personally hoping that a future wxhaskell will allow to install
 extras separately (e.g., that you could download just a binary for
 opengl support), but we haven't really worked out the right way to
 do this right.

 So what does this mean for you?  Well, if you're willing to do so, you
 could recompile it yourself with flags.  Otherwise, we could think about
 making yet another release (0.10.3-1) with opengl and some minor fixes
 in the makefile/configure script.

 --
 Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
 PGP Key ID: 08AC04F9

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.

 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-28 Thread Andrew Butterfield
Andrew Butterfield wrote:

 I installed the same on Windows XP - this all works fine !

 (XP Professional 2002 SP 2)

 My big complicated program (developed under GHC6.4/wx0.9) also
 worked without problems.
   
I should have checked out a bit more - what has happened is that all my 
scollbars have disappeared !
Any idea why this might have happened ?
   


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-28 Thread Eric Kow
 I should have checked out a bit more - what has happened is that all my
  scollbars have disappeared !
  Any idea why this might have happened ?

No, but if you think there may be a bug, we'd love to hear about it on
   http://sourceforge.net/tracker/?group_id=73133atid=536845
preferably with a test case (see our bugs/ directory for examples)

Test cases may also be submitted via darcs send to speed things up a bit.

-- 
Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow
PGP Key ID: 08AC04F9

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-27 Thread Andrew Butterfield
Eric Kow wrote:
 Hi,

 On 26/03/2008, Miguel Vilaça [EMAIL PROTECTED] wrote:
   
  I installed GHC 6.8.2 and wxHaskell 0.10.3 (final release, not RC X)
  in a Windows XP, and everything installed ok.

  Tested the samples: ghc -package wx Helloword.hs -o Helloword.exe

  But when I run Helloword.exe, only an error message appears with:

  The applicattion failed to initialize properly (0xc0150002). Click OK
  to terminate the application.
 

   
I installed the same on Windows XP - this all works fine !

(XP Professional 2002 SP 2)

My big complicated program (developed under GHC6.4/wx0.9) also
worked without problems.

But I have seen that error message popping up recently, from other 
applications (Mozilla?)


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-26 Thread shelarcy
On Wed, 26 Mar 2008 22:47:07 +0900, Eric Kow [EMAIL PROTECTED] wrote:
 Thanks for the report!  Shelarcy, did you use Vista to build this?

I'm using Windows XP now. But I installed Visual Studio in my Windows.
So, my environment is different from normal users.

 Does this mean we need a separate package for XP?

I don't know what is a problem of this. So, I can't answer for that now,


Best Regards,

-- 
shelarcy shelarcyhotmail.co.jp
http://page.freett.com/shelarcy/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users