Not immediately, but try using searched-lib instead of lib to disambiguate?
> 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:
http://www.boost.org/build/doc/html/bbv2/extender/example.html
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 erf_double.cu 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.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build