$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] no generators were found for type 'EXE'
From: Adam Trhon (adam.trhon_at_[hidden])
Date: 2013-07-17 04:54:56
Hello,
a recent update of my Arch Linux machine broke boost build.
Unfortunatelly I cannot downgrade. Example:
$ cat main.cpp
int main (void)
{
return 0;
}
$ cat Jamroot
exe main : main.cpp ;
$ bjam --debug-generators
*** construct EXE
from { main.cpp.CPP }
properties: <main-target-type>EXE
find-viable-generators target-type= EXE property-set=
trying type EXE
there are generators for this type
trying generator unix.link ( LIB OBJ -> EXE )
trying generator gcc.link ( LIB OBJ -> EXE )
*** 0 viable generators
warn: Unable to construct ./main
find-viable-generators target-type= EXE property-set=
trying type EXE
there are generators for this type
trying generator unix.link ( LIB OBJ -> EXE )
trying generator gcc.link ( LIB OBJ -> EXE )
error: no generators were found for type 'EXE'
error: and the requested properties
error: make sure you've configured the needed tools
See
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
To debug this problem, try the --debug-generators option.
I was able to find some other cases with this error on this mailing
list, but nothing helped:
1. $ export BOOST_ROOT=/usr/share/boost-build/
$ export BOOST_BUILD_PATH=/usr/share/boost-build/
same error
2. 'using gcc ; ' in Jamroot
duplicate initialization of gcc
3. reinstalling package
same error
What else can I do to fix this?
Best Regards
Adam