Boost logo

Boost-Build :

From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2005-02-10 06:07:32


Hello,

I get the nightly build of Tuesday.
I read in a previous thread that something was broken with QT, but I
have not the same issue.

My issue is a duplicate target issue (see log.txt)

Anybody has an idea ?

Thanks in advance.

TEMPLIE Cédric
 --------------020801050100050407020507 Content-Type: text/plain;
name="log.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="log.txt"

Dir structure:

09.02.2005 15:30 <DIR> .
09.02.2005 15:30 <DIR> ..
01.02.2005 13:20 3'997 .cdtproject
01.02.2005 13:20 2'434 .project
01.02.2005 13:20 77'399 casicredmgr.ui
01.02.2005 13:20 12'554 casicredmgr.ui.h
01.02.2005 13:20 13'341 cmaindlg.ui
01.02.2005 13:20 1'881 cmaindlg.ui.h
01.02.2005 13:20 288 code_Messages.h
01.02.2005 13:20 1'078 credentials.ico
01.02.2005 13:20 46 credentials.rc
01.02.2005 13:20 690 CredInfo.cpp
01.02.2005 13:20 429 CredInfo.h
01.02.2005 13:20 20'680 csetupcred.ui
01.02.2005 13:20 16'048 csetupcred.ui.h
01.02.2005 13:20 <DIR> Docs
09.02.2005 11:35 2'281 Jamfile
01.02.2005 13:20 1'604 main.cpp
01.02.2005 13:20 <DIR> QtSingleApplication

Result of bjam msvc-7.1:

C:/Echo/Boost/boost-build/build\virtual-target.jam:861: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pC:\TEMP\BUILD\Applications\MgtTools\AsiCredMgr\msvc-7.1\debug\threading-multi>moc_casicredmgr.obj
error: previous virtual target { msvc%msvc.compile.c++-moc_casicredmgr.obj.OBJ { qt%qt.moc-moc_casicredmgr.cpp.CPP { casicredmgr.ui.h.H } } }
error: created from
error: another virtual target { msvc%msvc.compile.c++-moc_casicredmgr.obj.OBJ { qt%qt.moc-moc_casicredmgr.cpp.CPP { qt%qt.uic-h-casicredmgr.h.UIC_H
error: created from
error: added properties: none
error: removed properties: none
C:/Echo/Boost/boost-build/build\virtual-target.jam:175: in actualize-no-scanner from module object(file-target)@569
C:/Echo/Boost/boost-build/build\virtual-target.jam:110: in object(file-target)@569.actualize from module object(file-target)@569
C:/Echo/Boost/boost-build/build\virtual-target.jam:683: in actualize-source-type from module object(action)@136
C:/Echo/Boost/boost-build/build\virtual-target.jam:704: in actualize-sources from module object(action)@136
C:/Echo/Boost/boost-build/build\virtual-target.jam:649: in object(action)@136.actualize from module object(action)@136
C:/Echo/Boost/boost-build/build\virtual-target.jam:308: in actualize-action from module object(file-target)@592
C:/Echo/Boost/boost-build/build\virtual-target.jam:182: in actualize-no-scanner from module object(file-target)@592
C:/Echo/Boost/boost-build/build\virtual-target.jam:110: in object(file-target)@592.actualize from module object(file-target)@592
C:/Echo/Boost/boost-build\build-system.jam:169: in load from module build-system
C:\Echo\Boost\boost-build\kernel\modules.jam:259: in import from module modules
C:\Echo\Boost\boost-build\kernel\bootstrap.jam:120: in boost-build from module
C:\Echo\Boost\boost-build\boost-build.jam:1: in module scope from module --------------020801050100050407020507 Content-Type: text/plain;
name="Jamfile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Jamfile"

#Define the ASICredMgr project

#Already defined:
# -Release
# NDEBUG
#
# -Debug
# _DEBUG
#
# -Using MSVC
# WIN32
# _WINDOWS
# _MBCS

project ASICredMgr
: requirements
#DEPENDENCES
#Need su_base su_xml interpr
# su_cript simde sips_ag (release version)
# mgttoolslib
<dependency>/su_base/<variant>release
<dependency>/su_xml/<variant>release
<dependency>/interpr/<variant>release
<dependency>/su_cript/<variant>release
<dependency>/simde/<variant>release
<dependency>/sips_ag/<variant>release
<dependency>/mgttoolslib
#INCLUDE
<include>.
<include>./QtSingleApplication
#MSVC
#DEFINE
<toolset>msvc:<define>UNICODE
<toolset>msvc:<define>QT_DLL
<toolset>msvc:<define>QT_PLUGIN
<toolset>msvc:<define>QT_THREAD_SUPPORT
<toolset>msvc,<variant>release:<define>QT_NO_DEBUG
#LINKFLAGS
<toolset>msvc:<linkflags>"kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib delayimp.lib"
<toolset>msvc:<linkflags>su_base.lib
<toolset>msvc:<linkflags>su_xml.lib
<toolset>msvc:<linkflags>interpr.lib
<toolset>msvc:<linkflags>su_cript.lib
<toolset>msvc:<linkflags>simde.lib
<toolset>msvc:<linkflags>sips_ag.lib
<toolset>msvc:<linkflags>mgttools.lib
;

# Main target : to build the executable
alias executable : ASICredMgr export_exe ;
explicit ASICredMgr export_exe ;

# Files needed to build the project
local cppFiles = [ glob *.cpp ] ;
local headerFiles = [ glob *.h ] ;
local rcFiles = [ glob *.rc ] ;
local uiFiles = [ glob *.ui ] ;
local QTFiles = QtSingleApplication/qtsingleapplication.cpp
QtSingleApplication/qtsingleapplication.h ;

# OS dependant Stuff

###########
# Windows #
###########
local QTFiles_win = $(QTFiles)
QtSingleApplication/qtsingleapplication_win.cpp ;

# Build the project from source files
exe ASICredMgr
: $(cppFiles:BS) $(headerFiles:BS) $(rcFiles:BS) $(uiFiles:BS) $(QTFiles_win)
: <toolset>msvc
<library>/qt//qt
;

# Exports
install export_exe
: ASICredMgr
: <variant>release:<location>$(MGTTOOLS_BIN_ROOT_RELEASE)
<variant>debug:<location>$(MGTTOOLS_BIN_ROOT_DEBUG)
<install-type>EXE
; --------------020801050100050407020507--


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