Coder Social home page Coder Social logo

Comments (4)

tmcdonell avatar tmcdonell commented on July 22, 2024

Hi Neil,

I... honestly don't know what could be the problem. Was this from Hackage or github?

from cuda.

tmcdonell avatar tmcdonell commented on July 22, 2024

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.

neiljamieso avatar neiljamieso commented on July 22, 2024

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.

tmcdonell avatar tmcdonell commented on July 22, 2024

haha, I only found it by accident (;
Glad it is working for you again.

from cuda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.