Boost logo

Boost-Build :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-11-29 06:57:29


Hi all,

I noticed a change in CVS with v2's qt4.jam ...so I updated (10
minutes ago)

I can now reference a ui file as a source for my library:

lib foo : source.cpp myuifile.ui : <link>static <library>/qt4//QtGui ;

which did not work before, so this looks promising. Unfortunately when
I try build my exe using that library using either:

exe bar : main.cpp resource.rc foo ;

or

exe bar : main.cpp resource.rc : <library>foo ;

I get an error about "Duplicate name of actual target" refering to the
ui_myuifile.ui

Ideas?

Thanks

Kevin

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this      |
| Senior Technology                     | My employer for certain |
| And Network Systems Architect         | Not even myself         |

D:/Boost/boost/tools/build/v2/build\virtual-target.jam:904: in virtual-target.register-actual-name
warning: rulename $(cs2).main-target expands to empty string
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@419.actualize
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@26.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@17.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@118.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@328.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@112.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@74.generate
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:926: in virtual-target.register-actual-name
warning: rulename $(cmt2).full-name expands to empty string
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@419.actualize
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@26.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@17.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@118.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@328.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@112.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@74.generate
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:928: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pbin\gammaSlammerQtUI\msvc-7.1\debug\link-static\threading-multi\user-interface-gui>ui_gammaslammerqtui.h
error: previous virtual target { qt4%qt4.uic-h-ui_gammaslammerqtui.h.H { gammaslammerqtui.ui.UI } }
error: created from gammaSlammerQtUI/gammaSlammerQtUI
error: another virtual target { qt4%qt4.uic-h-ui_gammaslammerqtui.h.H { gammaslammerqtui.ui.UI } }
error: created from
error: added properties: none
error: removed properties: none
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner from module object(file-target)@419
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@419.actualize from module object(file-target)@419
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@26.run from module object(uic-h-generator)@26
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types from module object(archive-generator)@17
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types from module object(archive-generator)@17
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really from module object(archive-generator)@17
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run from module object(archive-generator)@17
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@17.run from module object(archive-generator)@17
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct from module generators
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run from module object(lib-generator)@4
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct from module generators
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct from module object(typed-target)@118
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@118.generate from module object(typed-target)@118
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really from module object(main-target)@328
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@328.generate from module object(main-target)@328
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@112.generate from module object(project-target)@112
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@74.generate from module object(project-target)@74
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load from module build-system
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import from module modules
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build from module
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope from module


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