Boost logo

Boost-Build :

From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2007-04-11 15:27:04


Hello,

I'm trying to get a simple custom conversion to work in Boost Build. I want
to convert files of type .pkgsnd to files of type .uax. I have this:

import generators ;
import type ;

type.register UAX : uax ;
type.register PKGSND : pkgsnd ;
generators.register-standard pkgsnd.ucc-pkg-import-sound : PKGSND : UAX ;

rule
init ( )
 {
 }

rule
ucc-pkg-import-sound ( )
 {
 }

actions
ucc-pkg-import-sound
 {
    ucc pkg import sound $(<) $(>:D)
 }

I also have project-root.jam which contains the appropriate "using" call,
and a Jamfile like this:

uax test : build-uax.pkgsnd ;

I get this error:

C:/vcengine/bld/boost-build/kernel\modules.jam:66: in modules.call-in
rule pkgsnd.ucc-pkg-import-sound unknown in module pkgsnd.

What am I doing wrong?

Thanks,
Emil Dotchevski


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