Boost logo

Boost-Build :

From: Deane Yang (deane_at_[hidden])
Date: 2019-09-12 16:13:02


Could you help me diagnose this error:

In my Jamfile I have:

obj auto_diff : auto_diff.c
              : <include>.
              ;

When I do

b2 auto_diff

I get

Error: ambiguity found when searching for best transformation
Trying to produce type 'OBJ' from:
 - { auto_diff.c.C }
Generators that succeeded:
 - darwin.compile.c++
 - darwin.compile.c
First generator produced:
 - { darwin%darwin.compile.c++-auto_diff.o.OBJ {
swig%swig.generate-code-auto_diff.cpp.CPP {
darwin%darwin.compile.c.preprocess-auto_diff.i.PREPROCESSED_C {
auto_diff.c.C } } } }

Second generator produced:
 - { darwin%darwin.compile.c-auto_diff.o.OBJ { auto_diff.c.C } }



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk