Boost logo

Boost-Build :

Subject: [Boost-build] RES: Define link libs (Debug or Release)
From: Renato Tegon Forti (re.tf_at_[hidden])
Date: 2012-04-17 09:37:50


I did try this too:

 

lib system : : <name>boost_system <search>/3rdparty/Boost/1.46.1/lib
;

lib omp : : <name>gomp <search>/usr/lib/gcc/x86_64-linux-gnu/4.6.3
;

lib mysqlcppconn : : <name>mysqlcppconn <search>/usr/lib ;

 

# Poco

 

lib poconetd : : <name>PocoNetd <variant>debug
<search>/3rdparty/Poco/2011.1/20110110/lib/Linux/x86_64 ;

lib poconet : : <name>PocoNet <variant>release
<search>/3rdparty/Poco/2011.1/20110110/lib/Linux/x86_64 ;

 

lib pocofoundationd : : <name>PocoFoundationd <variant>debug
<search>/3rdparty/Poco/2011.1/20110110/lib/Linux/x86_64 ;

lib pocofoundation : : <name>PocoFoundation <variant>release
<search>/3rdparty/Poco/2011.1/20110110/lib/Linux/x86_64 ;

 

lib dts_cte_bhv : main.cpp

system

omp

mysqlcppconn

poconet

pocofoundation

: :

# <variant>debug

# <variant>release

<variant>debug:<source>poconetd pocofoundationd

<variant>release:<source>poconet pocofoundation

<cxxflags>-fopenmp

<include>/3rdparty/Poco/2011.1/20110110/Net/include/

<include>/3rdparty/Poco/2011.1/20110110/Foundation/include/

  ;

 

And bjam

 

login as: ubuntu

Authenticating with public key "imported-openssh-key"

Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-12-virtual
x86_64)

 

* Documentation: https://help.ubuntu.com/

 

  System information as of Tue Apr 17 12:13:22 UTC 2012

 

  System load: 0.04 Processes: 103

  Usage of /: 24.3% of 7.97GB Users logged in: 1

  Memory usage: 13% IP address for eth0: 10.248.7.177

  Swap usage: 0%

 

  Graph this data and manage this system at https://landscape.canonical.com/

 

221 packages can be updated.

0 updates are security updates.

 

Get cloud support with Ubuntu Advantage Cloud Guest

  http://www.ubuntu.com/business/services/cloud

*** /dev/xvda1 will be checked for errors at next reboot ***

 

ubuntu_at_ip-10-248-7-177:~$ cd
/Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Services/Para
llel/Processing

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing$ ls

Behavior Engine Jamroot Resources sync-system-d.sh

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing$ cd Resources/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Resources$ ls

hosts.txt nodes.cnf

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Resources$
/Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Services/Para
llel/Processing/Resources

-bash:
/Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Services/Para
llel/Processing/Resources: Is a directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Resources$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Resources$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Resources$ cd ..

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing$ ls

Behavior Engine Jamroot Resources sync-system-d.sh

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing$ cd Behavior/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd D

DailyCheckRpt/ DtsCte/ DtsNfe/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd D

DailyCheckRpt/ DtsCte/ DtsNfe/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd Dts

DtsCte/ DtsNfe/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd D

DailyCheckRpt/ DtsCte/ DtsNfe/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd D

DailyCheckRpt/ DtsCte/ DtsNfe/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior$ cd DtsCte/

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$
/Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Services/Para
llel/Processing/Behavior/DtsCte.

-bash:
/Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Services/Para
llel/Processing/Behavior/DtsCte.: No such file or directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ bjam clean; bjam |
grep error;

warning: No toolsets are configured.

warning: Configuring default toolset "gcc".

warning: If the default is wrong, your build may not work correctly.

warning: Use the "toolset=xxxxx" option to override our guess.

warning: For more configuration options, please consult

warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

error: No best alternative for ./poconet

    next alternative: required properties: <threading>multi <variant>debug

        not matched

    next alternative: required properties: <threading>multi <variant>release

        not matched

error: No best alternative for ./pocofoundation

    next alternative: required properties: <threading>multi <variant>debug

        not matched

    next alternative: required properties: <threading>multi <variant>release

        not matched

...found 1 target...

...updating 1 target...

common.Clean clean

...updated 1 target...

error: No best alternative for ./poconet

error: No best alternative for ./pocofoundation

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$
ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ bjam clean; bjam |
grep error;

-bash:
ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$: No such file or
directory

warning: Configuring default toolset "gcc".

warning: If the default is wrong, your build may not work correctly.

warning: Use the "toolset=xxxxx" option to override our guess.

warning: For more configuration options, please consult

warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

error: No best alternative for ./poconet

    next alternative: required properties: <threading>multi <variant>debug

        not matched

    next alternative: required properties: <threading>multi <variant>release

        not matched

error: No best alternative for ./pocofoundation

    next alternative: required properties: <threading>multi <variant>debug

        not matched

    next alternative: required properties: <threading>multi <variant>release

        not matched

...found 1 target...

...updating 1 target...

common.Clean clean

...updated 1 target...

error: No best alternative for ./poconet

error: No best alternative for ./pocofoundation

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runerror: No best alternative
for ./poconet

error: No best alternative for ./pocofoundation

 

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning: No toolsets
are configured.

 

 

 

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning: Configuring
default toolset "gcc".

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning: If the
default is wrong, your build may not work correctly.

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning: Use the
"toolset=xxxxx" option to override our guess.

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning: For more
configuration options, please consult

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

warning:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ error: No best
alternative for ./poconet

error:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ next
alternative: required properties: <threading>multi <variant>debug

-bash: threading: No such file or directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ not matched

No command 'not' found, did you mean:

Command 'nop' from package 'graphviz' (main)

Command 'net' from package 'samba-common-bin' (main)

Command 'jot' from package 'athena-jot' (universe)

Command 'note' from package 'note' (universe)

Command 'dot' from package 'graphviz' (main)

not: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ next
alternative: required properties: <threading>multi <variant>release

-bash: threading: No such file or directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ not matched

No command 'not' found, did you mean:

Command 'nop' from package 'graphviz' (main)

Command 'net' from package 'samba-common-bin' (main)

Command 'jot' from package 'athena-jot' (universe)

Command 'note' from package 'note' (universe)

Command 'dot' from package 'graphviz' (main)

not: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ error: No best
alternative for ./pocofoundation

error:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ next
alternative: required properties: <threading>multi <variant>debug

-bash: threading: No such file or directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ not matched

No command 'not' found, did you mean:

Command 'nop' from package 'graphviz' (main)

Command 'net' from package 'samba-common-bin' (main)

Command 'jot' from package 'athena-jot' (universe)

Command 'note' from package 'note' (universe)

Command 'dot' from package 'graphviz' (main)

not: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ next
alternative: required properties: <threading>multi <variant>release

-bash: threading: No such file or directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ not matched

No command 'not' found, did you mean:

Command 'nop' from package 'graphviz' (main)

Command 'net' from package 'samba-common-bin' (main)

Command 'jot' from package 'athena-jot' (universe)

Command 'note' from package 'note' (universe)

Command 'dot' from package 'graphviz' (main)

not: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ ...found 1 target...

...found: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ ...updating 1
target...

...updating: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ common.Clean clean

common.Clean: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ ...updated 1
target...

...updated: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ error: No best
alternative for ./poconet

error:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ error: No best
alternative for ./pocofoundation

error:: command not found

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$
ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Run

-bash: ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Run: No such file or
directory

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ bjam clean; bjam |
grep error;

/usr/local/share/boost-build/build/feature.jam:485: in
feature.validate-value-string from module feature

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

/usr/local/share/boost-build/build/property.jam:312: in validate1 from
module property

/usr/local/share/boost-build/build/property.jam:337: in property.validate
from module property

/usr/local/share/boost-build/build/property-set.jam:375: in
property-set.create-with-validation from module property-set

/usr/local/share/boost-build/build/targets.jam:1613: in
targets.main-target-default-build from module targets

/usr/local/share/boost-build/tools/builtin.jam:529: in lib from module
builtin

Jamfile.v2:27: in modules.load from module
Jamfile</Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Servi
ces/Parallel/Processing/Behavior/DtsCte>

/usr/local/share/boost-build/build/project.jam:314: in load-jamfile from
module project

/usr/local/share/boost-build/build/project.jam:62: in load from module
project

/usr/local/share/boost-build/build/project.jam:168: in project.find from
module project

/usr/share/boost-build/build-system.jam:569: in load from module
build-system

/usr/local/share/boost-build/kernel/modules.jam:283: in import from module
modules

/usr/local/share/boost-build/kernel/bootstrap.jam:142: in boost-build from
module

/usr/local/share/boost-build/boost-build.jam:8: in module scope from module

 

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ bjam clean; bjam |
grep error;

/usr/local/share/boost-build/build/feature.jam:485: in
feature.validate-value-string from module feature

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

/usr/local/share/boost-build/build/property.jam:312: in validate1 from
module property

/usr/local/share/boost-build/build/property.jam:337: in property.validate
from module property

/usr/local/share/boost-build/build/property-set.jam:375: in
property-set.create-with-validation from module property-set

/usr/local/share/boost-build/build/targets.jam:1613: in
targets.main-target-default-build from module targets

/usr/local/share/boost-build/tools/builtin.jam:529: in lib from module
builtin

Jamfile.v2:27: in modules.load from module
Jamfile</Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Servi
ces/Parallel/Processing/Behavior/DtsCte>

/usr/local/share/boost-build/build/project.jam:314: in load-jamfile from
module project

/usr/local/share/boost-build/build/project.jam:62: in load from module
project

/usr/local/share/boost-build/build/project.jam:168: in project.find from
module project

/usr/share/boost-build/build-system.jam:569: in load from module
build-system

/usr/local/share/boost-build/kernel/modules.jam:283: in import from module
modules

/usr/local/share/boost-build/kernel/bootstrap.jam:142: in boost-build from
module

/usr/local/share/boost-build/boost-build.jam:8: in module scope from module

 

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$ bjam clean; bjam

/usr/local/share/boost-build/build/feature.jam:485: in
feature.validate-value-string from module feature

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

/usr/local/share/boost-build/build/property.jam:312: in validate1 from
module property

/usr/local/share/boost-build/build/property.jam:337: in property.validate
from module property

/usr/local/share/boost-build/build/property-set.jam:375: in
property-set.create-with-validation from module property-set

/usr/local/share/boost-build/build/targets.jam:1613: in
targets.main-target-default-build from module targets

/usr/local/share/boost-build/tools/builtin.jam:529: in lib from module
builtin

Jamfile.v2:27: in modules.load from module
Jamfile</Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Servi
ces/Parallel/Processing/Behavior/DtsCte>

/usr/local/share/boost-build/build/project.jam:314: in load-jamfile from
module project

/usr/local/share/boost-build/build/project.jam:62: in load from module
project

/usr/local/share/boost-build/build/project.jam:168: in project.find from
module project

/usr/share/boost-build/build-system.jam:569: in load from module
build-system

/usr/local/share/boost-build/kernel/modules.jam:283: in import from module
modules

/usr/local/share/boost-build/kernel/bootstrap.jam:142: in boost-build from
module

/usr/local/share/boost-build/boost-build.jam:8: in module scope from module

 

/usr/local/share/boost-build/build/feature.jam:485: in
feature.validate-value-string from module feature

error: "debug:<source>poconetd" is not a known value of feature <variant>

error: legal values: "debug" "release" "profile"

/usr/local/share/boost-build/build/property.jam:312: in validate1 from
module property

/usr/local/share/boost-build/build/property.jam:337: in property.validate
from module property

/usr/local/share/boost-build/build/property-set.jam:375: in
property-set.create-with-validation from module property-set

/usr/local/share/boost-build/build/targets.jam:1613: in
targets.main-target-default-build from module targets

/usr/local/share/boost-build/tools/builtin.jam:529: in lib from module
builtin

Jamfile.v2:27: in modules.load from module
Jamfile</Projects/project.aysso/Runtime/Hades/Applications/VaultStores/Servi
ces/Parallel/Processing/Behavior/DtsCte>

/usr/local/share/boost-build/build/project.jam:314: in load-jamfile from
module project

/usr/local/share/boost-build/build/project.jam:62: in load from module
project

/usr/local/share/boost-build/build/project.jam:168: in project.find from
module project

/usr/share/boost-build/build-system.jam:569: in load from module
build-system

/usr/local/share/boost-build/kernel/modules.jam:283: in import from module
modules

/usr/local/share/boost-build/kernel/bootstrap.jam:142: in boost-build from
module

/usr/local/share/boost-build/boost-build.jam:8: in module scope from module

 

ubuntu_at_ip-10-248-7-177:/Projects/project.aysso/Runtime/Hades/Applications/Va
ultStores/Services/Parallel/Processing/Behavior/DtsCte$

 

 

De: Phillip Seaver [mailto:phil_at_[hidden]]
Enviada em: terça-feira, 17 de abril de 2012 10:08
Para: re.tf_at_[hidden]; Boost.Build developer's and user's list
Assunto: Re: [Boost-build] Define link libs (Debug or Release)

 

On 4/17/2012 7:32 AM, Renato Tegon Forti wrote:

lib system : : <name>boost_system <search>/3rdparty/Boost/1.46.1/lib
;

lib omp : : <name>gomp <search>/usr/lib/gcc/x86_64-linux-gnu/4.6.3
;

lib mysqlcppconn : : <name>mysqlcppconn <search>/usr/lib ;

 

# Debug

lib mylib_DEB : : <name> mylibd <search>/3rdparty;

 

#Release

lib mylib_REL : : <name> mylib <search>/3rdparty;

 

lib dts_cte_bhv : main.cpp

system

omp

mysqlcppconn

# HOW TO PUT LIBS HERE !

: :

<variant>debug

<variant>release

<cxxflags>-fopenmp

<include>/3rdparty/Poco/2011.1/20110110/Net/include/

<include>/3rdparty/Poco/2011.1/20110110/Foundation/include/

  ;

 

I ddi try this:

 


omp

mysqlcppconn

: :

<variant>debug : mylib_DEB

<variant>release : mylib_REL

<cxxflags>-fopenmp


 

But don’t work! Any Idea!

 

I usually do "<variant>debug:<source>mylib_DEB"

Alternately, I believe something like this will work:

lib mylib : : <name>mylibd <variant>debug <search>/3rdparty ;
lib mylib : : <name>mylib <variant>release <search>/3rdparty ;

You can then just add "mylib" to the sources of the target.

While I was copying some of your code, I noticed that you have no space
before the semicolon in "<search>/3rdparty;" To the best of my knowledge,
that can still cause problems with parsing.

Hope this helps!

Phillip



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