# Revision history [back]

This is not really an answer just some trouble shooting suggestions. The comment box does not lend its self to formatting.

Once you clone the alljoyn git project you should have a layout that looks similar to this

[alljoyn] +
+ [alljoyn_c]
+ [alljoyn_core]
+ [alljoyn_java]
+ [alljoyn_js]
+ [alljoyn_objc]
+ [alljoyn_unity]
+ [build_core]
+ [common]
+ [services]
+ [win8_apps]
+ SConstruct


I am not sure why the documentation says $AJROOT/core/alljoyn the layout has never looked like that. Maybe the name was taken from the git repository path. I suspect the error is a result of one or more of the build tools. Try running scons BINDINGS="" V=1  This will limit the build to just the core C++ files and will print a verbose build output. the [CXX], [CXX-SH], and [AR] will be replaced by the actual command this will hopefully help find your problem. Some other information that could be useful for tracking down the source of the problem tell us the version of a few of the build tools. gcc --version python --version scons --version  Since your build did not even reach the Java build I am currently trying to figure out why your C++ build has failed. Best way to provide this information is to edit your original question and add it to the question. This is not really an answer just some trouble shooting suggestions. The comment box does not lend its self to formatting. Once you clone the alljoyn git project you should have a layout that looks similar to this [alljoyn] + + [alljoyn_c] + [alljoyn_core] + [alljoyn_java] + [alljoyn_js] + [alljoyn_objc] + [alljoyn_unity] + [build_core] + [common] + [services] + [win8_apps] + README.md + README.txt + SConstruct  I am not sure why the documentation says $AJROOT/core/alljoyn the layout has never looked like that. Maybe the name was taken from the git repository path.

I suspect the error is a result of one or more of the build tools. Try running

scons BINDINGS="" V=1


This will limit the build to just the core C++ files and will print a verbose build output. the [CXX], [CXX-SH], and [AR] will be replaced by the actual command this will hopefully help find your problem.

Some other information that could be useful for tracking down the source of the problem tell us the version of a few of the build tools.

gcc --version
g++ --version
python --version
scons --version


Since your build did not even reach the Java build I am currently trying to figure out why your C++ build has failed.

Best way to provide this information is to edit your original question and add it to the question.

EDIT After a little additional searching I think I found the source of the problem. It looks like you may not have g++ installed.

try making sure you have g++ installed.

sudo apt-get install build-essential