Boost logo

Boost-Build :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-04-12 11:09:00


I'm developing a SDK system based on Boost Build v2.
I'm working with the Milestone 11 release candidate.
The following is a simple example of what I'm trying to achieve:

----------
* c:\build\Jamroot:

project build ;

use-project sdk : /c:/sdk ;

* c:\build\project\Jamfile:

exe project : /sdk//library ;

* c:\sdk\Jamfile:

project sdk ;

alias library : : : : <include>c:/ ;

----------

This setup works as expected.

But if I change the Jamroot file above to:

----------
* c:\build\Jamroot:

project build
    : build-dir bin
    ;

use-project sdk : /c:/sdk ;

----------

then bjam gives me the following error:

C:\build\project>bjam
c:/boost-build/util\path.jam:329: in path.relative from module path
error: /c:/sdk is not a subdir of /C:/build/project
c:/boost-build/build\project.jam:524: in inherit-attributes from module
project
c:/boost-build/build\project.jam:459: in initialize from module project
c:/boost-build/build\project.jam:297: in load-jamfile from module project
c:/boost-build/build\project.jam:68: in project.load from module project
c:/boost-build/build\project.jam:721: in project.use from module project
c:/boost-build/build\project.jam:89: in load from module project
c:/boost-build/build\project.jam:116: in load-parent from module project
c:/boost-build/build\project.jam:443: in initialize from module project
c:/boost-build/build\project.jam:297: in load-jamfile from module project
c:/boost-build/build\project.jam:68: in load from module project
c:/boost-build/build\project.jam:166: in project.find from module project
c:/boost-build\build-system.jam:150: in load from module build-system
c:\boost-build\kernel\modules.jam:261: in import from module modules
c:\boost-build\kernel\bootstrap.jam:121: in boost-build from module
c:\boost-build\boost-build.jam:1: in module scope from module

I can't grok this error message.
What am I missing?

-- 
Pedro Lamarão
Desenvolvimento
Intersix Technologies S.A.
SP: (55 11 3803-9300)
RJ: (55 21 3852-3240)
www.intersix.com.br
Your Security is our Business

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