Ticket #5847 (closed bug: fixed)

Opened 16 months ago

Last modified 16 months ago

Error message trying to use SOE

Reported by: punstress Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.4.1
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Other Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I've had a really hard time getting the SOE package up and running. I finally got cabal to install GLFW and things were looking good. I :cd'd into SOE/src and entered Prelude> :load Draw

1 of 3 Compiling Shape 2 of 3 Compiling SOE

SOE.hs:136:31: Couldn't match expected type 'Bool' with actual type '()' Expected type: GLFW.WindowCloseCallback? Actual type: IO () In the return type of a call of 'closeWindow_' In the second argument of '($=)', namely 'closeWindow_ eventsChan' Failed, modules loaded: none

Line 136 is:

GLFW.windowCloseCallback $= closeWindow_ eventsChan

Please help me! I have wasted so many hours of my life. PS I think my version is 7.4.0.0 not 7.4.1 but that choice didn't exist.

Change History

Changed 16 months ago by punstress

  • status changed from new to closed
  • resolution set to fixed

I redownloaded the latest SOE zip file and it seems to be working! I thought I had it already but apparently didn't overwrite the old (bad) folder, or maybe I saved the right file to the wrong place. Anyway, SOE appears to be working!

Note: See TracTickets for help on using tickets.