Boost logo

Boost-Build :

Subject: Re: [Boost-build] Trying to use a 1:1 generator
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-02-08 13:48:04

> Hi John,
> I can't reproduce your problem - see the attached project. When I run
> "b2 -n" there,
> I see an attempt to run "nvcc", followed by an attempt to make a
> binary and run
> it.
> Was your code placed in a module called "cu.jam"?

OK, that was the information I was missing, I think it needs to be a bit
clearer in the tutorial here:

However, while that gets me a little further forward, I'm still stuck.

Let's say I have:

import testing ;
import cu ;
cuda = [ modules.peek : CUDA_PATH ] ;

lib cuda : : <search>$(cuda)/lib/x64 ;

run cuda : : : release <toolset>msvc:<runtime-link>static ;

Now I see:

warn: Unable to construct ./cuda

And indeed no reference to cuda.lib is present on the link command line
so I get unresolved externals. Any ideas why "lib cuda ;" isn't accepted?

Thanks, John.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at