On Tue, 2008-12-02 at 18:04 +, Claus Reinke wrote:
> >> ghc --make -package OpenGL -package GLUT something.hs
> >> I get nothing but undefined references in the linking phase.
> >> C:\Program
> >> Files\Haskell\GLUT-2.1.1.2\ghc-6.11.20081202/libHSGLUT-2.1.1.2.a(Window.o):fake:
> >> (.t
I believe these errors are caused by the wrong calling convention
being used in the Haskell bindings. This part in the configure script
tests the build (host) platform:
case "$host" in
*-mingw32) CALLCONV=stdcall ;;
*) CALLCONV=ccall ;;
esac
Since it doesn't test for Cygwin, you end up with
On Tue, Dec 2, 2008 at 6:55 PM, Claus Reinke <[EMAIL PROTECTED]> wrote:
> I finally got round to trying cabal-install with OpenGL/GLUT,
> using a freshly built ghc head, a cygwin bash, and
[...]
> C:\Program
> Files\Haskell\GLUT-2.1.1.2\ghc-6.11.20081202/libHSGLUT-2.1.1.2.a(Window.o):fake:
> (.t
ghc --make -package OpenGL -package GLUT something.hs
I get nothing but undefined references in the linking phase.
C:\Program
Files\Haskell\GLUT-2.1.1.2\ghc-6.11.20081202/libHSGLUT-2.1.1.2.a(Window.o):fake:
(.text+0x15): undefined reference to `glutWarpPointer'
Does ghc-pkg describe Ope
On Tue, 2008-12-02 at 16:55 +, Claus Reinke wrote:
> But when I actually try to build anything using (yes, I know the explicit
> package flags aren't needed with --make)
>
> ghc --make -package OpenGL -package GLUT something.hs
>
> I get nothing but undefined references in the linking ph
I finally got round to trying cabal-install with OpenGL/GLUT,
using a freshly built ghc head, a cygwin bash, and
> http://haskell.org/~duncan/cabal/cabal.exe
cabal-install version 0.6.0
using version 1.6.0.1 of the Cabal library
> Yes, building it requires mingw/msys, but with it cabal
simonpj:
>
> | It's sad to see the OpenGL binding being dropped from GHC binary
> | installers starting from 6.10. Though this issue has been brought up
> | and discussed before, I'm sure a lot of people who based their work on
> | OpenGL would share the same sympathy.
>
> The plan (which we have
| It's sad to see the OpenGL binding being dropped from GHC binary
| installers starting from 6.10. Though this issue has been brought up
| and discussed before, I'm sure a lot of people who based their work on
| OpenGL would share the same sympathy.
The plan (which we have perhaps not articulate
On Sun, 2008-11-23 at 16:41 +0100, Manlio Perillo wrote:
> Claus Reinke ha scritto:
> > [...]
> >>> 2. It still wouldn't work for the OpenGL package on Windows, because
> >>> the configure scripts require a Unix-style built environment
> >>> (MinGW/MinSys or Cygwin).
> >>
> > [...]
> > - they need
Claus Reinke ha scritto:
[...]
2. It still wouldn't work for the OpenGL package on Windows, because
the configure scripts require a Unix-style built environment
(MinGW/MinSys or Cygwin).
[...]
- they need to install MinGW/MSys
- then they can do cabal install OpenGL
Does cabal support pre
On Sun, 2008-11-23 at 09:24 -0500, Jeff Heard wrote:
> Duncan, what kind of help do you need on the Haskell Platform install?
> I have access to VMs running windows XP and Vista.
The haskell-platform meta-package is here:
darcs get http://code.haskell.org/haskell-platform/
This specifies the lis
Duncan, what kind of help do you need on the Haskell Platform install?
I have access to VMs running windows XP and Vista.
On Sun, Nov 23, 2008 at 8:12 AM, Duncan Coutts
<[EMAIL PROTECTED]> wrote:
> On Sun, 2008-11-23 at 08:00 -0500, Paul L wrote:
>> On 11/23/08, Duncan Coutts <[EMAIL PROTECTED]>
On Sun, 2008-11-23 at 08:00 -0500, Paul L wrote:
> On 11/23/08, Duncan Coutts <[EMAIL PROTECTED]> wrote:
> >> 2. It still wouldn't work for the OpenGL package on Windows, because
> >> the configure scripts require a Unix-style built environment
> >> (MinGW/MinSys or Cygwin).
> >
> > Yes, building i
On Sun, 2008-11-23 at 12:30 +, Claus Reinke wrote:
> >> >> It's sad to see the OpenGL binding being dropped from GHC binary
> >> >> installers starting from 6.10. Though this issue has been brought up
> >> >> and discussed before, I'm sure a lot of people who based their work on
> >> >> OpenGL
On 11/23/08, Duncan Coutts <[EMAIL PROTECTED]> wrote:
>> 2. It still wouldn't work for the OpenGL package on Windows, because
>> the configure scripts require a Unix-style built environment
>> (MinGW/MinSys or Cygwin).
>
> Yes, building it requires mingw/msys, but with it cabal install opengl
> rea
>> It's sad to see the OpenGL binding being dropped from GHC binary
>> installers starting from 6.10. Though this issue has been brought up
>> and discussed before, I'm sure a lot of people who based their work on
>> OpenGL would share the same sympathy.
>
> $ cabal install OpenGL
Nice except
On Sat, 2008-11-22 at 23:34 -0500, Paul L wrote:
> On 11/22/08, Don Stewart <[EMAIL PROTECTED]> wrote:
> > ninegua:
> >> Hi everyone,
> >>
> >> It's sad to see the OpenGL binding being dropped from GHC binary
> >> installers starting from 6.10. Though this issue has been brought up
> >> and discuss
On 11/22/08, Don Stewart <[EMAIL PROTECTED]> wrote:
> ninegua:
>> Hi everyone,
>>
>> It's sad to see the OpenGL binding being dropped from GHC binary
>> installers starting from 6.10. Though this issue has been brought up
>> and discussed before, I'm sure a lot of people who based their work on
>>
That post is by David Sankel (camior on #haskell), not by me.
My last name has two "t"s.
Good luck, - Conal (Elliott)
On Sat, Nov 22, 2008 at 4:06 PM, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
> >$ cabal install OpenGL
>
> HOpenGL installs easily with cabal-install, but most HOpenGL exam
I'm not sure.. can MSVC compiled libraries be intermixed with mingwin
libraries? I see Conal has advised installing mingwin as part of his
GLUT packaging.
-- Jeff
On Sat, Nov 22, 2008 at 7:06 PM, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
>>$ cabal install OpenGL
>
> HOpenGL installs easil
>$ cabal install OpenGL
HOpenGL installs easily with cabal-install, but most HOpenGL examples
and tutorials also use GLUT, which is not so painless on Windows.
Luckily Conal Elliot just recently posted detailed instructions of how
to do it:
http://netsuperbrain.com/blog/posts/freeglut-windows
ninegua:
> Hi everyone,
>
> It's sad to see the OpenGL binding being dropped from GHC binary
> installers starting from 6.10. Though this issue has been brought up
> and discussed before, I'm sure a lot of people who based their work on
> OpenGL would share the same sympathy.
$ cabal install
22 matches
Mail list logo