Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gloss-examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
inf122-h22
gloss-examples
Commits
0a38d2af
Commit
0a38d2af
authored
2 years ago
by
Jørn Lode
Browse files
Options
Downloads
Patches
Plain Diff
Try to make work on OS X
parent
bda53775
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+0
-2
0 additions, 2 deletions
README.md
cabal.project
+0
-6
0 additions, 6 deletions
cabal.project
gloss-examples.cabal
+2
-0
2 additions, 0 deletions
gloss-examples.cabal
with
2 additions
and
8 deletions
README.md
+
0
−
2
View file @
0a38d2af
...
...
@@ -20,8 +20,6 @@ To run `ex4` you first need to put your `Oblig0Common.hs` in the `app` directory
# Note for OS X users
To run on OS X, you will have to delete the file
`cabal.project`
first.
Also, running it with
`cabal repl ex<i>`
might not work, in which case you
will have to use
`cabal run ex<i>`
to run the project.
# Project structure
...
...
This diff is collapsed.
Click to expand it.
cabal.project
+
0
−
6
View file @
0a38d2af
packages: .
-- NOTE: This might not work on OSX. If it fails somehow, it might be worth trying
-- to remove lines 9-14. If it still doesn't work (because GLUT crashes ghci),
-- maybe uncommenting line 7 will help.
-- constraints: gloss +GLFW -GLUT
source-repository-package
type: git
location: https://github.com/boblehest/gloss
...
...
This diff is collapsed.
Click to expand it.
gloss-examples.cabal
+
2
−
0
View file @
0a38d2af
...
...
@@ -8,6 +8,8 @@ common common
default-language: Haskell2010
hs-source-dirs: app
-- pkgconfig-depends: glu, glut
ghc-options: -fno-ghci-sandbox
executable ex1
import: common
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment