Comments (4)
Hi Neil,
I... honestly don't know what could be the problem. Was this from Hackage or github?
from cuda.
Actually, I think I just (accidentally) managed to provoke this by using c2hs-0.18.2 (which fails, #18) and then switching back to c2hs-0.17.2. If you do a cabal clean
everything should work again.
> cabal configure --with-c2hs=c2hs-0.18.2 && cabal build
...
In file included from <built-in>:169:
<command line>:5:29: error: expected comma in macro parameter list
#define C2HS_MIN_VERSION(mj 1
... (expected failure)
> cabal configure --with-c2hs=c2hs-0.17.2 && cabal build
...
<command line>:
Could not find module ‘Foreign.CUDA.Analysis.Device’
Use -v to see a list of the files searched for.
from cuda.
Ah. That's exactly what I did. Downloaded latest c2hs = 0.18 which
failed then worked out I needed 0.17 and rebuilt everything.
Perfect. worked! Thanks Trev
I would NEVER have figured that one out. :-)
On 03/10/14 10:10, Trevor L. McDonell wrote:
Actually, I think I just (accidentally) managed to provoke this by
using c2hs-0.18.2 (which fails, #18
#18) and then switching back
to c2hs-0.17.2. If you do a |cabal clean| everything should work again.|> cabal configure --with-c2hs=c2hs-0.18.2 && cabal build
...
In file included from :169:
:5:29: error: expected comma in macro parameter list
#define C2HS_MIN_VERSION(mj 1
... (expected failure)cabal configure --with-c2hs=c2hs-0.17.2 && cabal build
...
:
Could not find module ‘Foreign.CUDA.Analysis.Device’
Use -v to see a list of the files searched for.
|—
Reply to this email directly or view it on GitHub
#19 (comment).
from cuda.
haha, I only found it by accident (;
Glad it is working for you again.
from cuda.
Related Issues (20)
- Unknown CUDA device compute capability 6.1 HOT 2
- Minor edits needed for 7.10 HOT 1
- CUDA 8 support [was: Plans to support CUDA 8?] HOT 4
- Build fails with library profiling HOT 4
- Compilation fails for CUDA-8 [was: ghc 7.10.3 fail to install] HOT 2
- On Windows, the Cabal installer is looking in the wrong place. HOT 5
- Problem with module `Foreign.CUDA.Path' when installing on Windows 8.1 with CUDA-8.0 HOT 38
- Issues with dynamic parallelism? HOT 3
- GHCi only works with Stack with a custom cabal.buildinfo file. HOT 1
- Structure of nvidia-cuda-toolkit seems to have changed in Ubuntu 18.04 HOT 3
- Driver failure on AWS p3.2xlarge instance HOT 18
- Build failure in cuda-0.10.0.0 HOT 3
- Won't compile on Arch Linux HOT 3
- Ubuntu 16.04 + nvidia-cuda-toolkit "Found CUDA toolkit at: /usr" but 'Could not find path: ["/usr/lib64"]' HOT 7
- package revision to restrict Cabal to <3.0 HOT 1
- Compile issues for Cabal 2? HOT 2
- Cannot find a definition for `cuDevicePrimaryCtxRelease' in the header file. HOT 3
- CUDA 11.3 compatibility HOT 4
- rpath linking to cuda toolkit HOT 2
- This Library isn't Compatible with Windows HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuda.