Hi Xinyi, On Fri, Mar 06 2015, Xinyi Su wrote:
Hi, project devs I have encountered a problem when compiling boost statechart viewer examples located at examples directory. The error output is attached in the email. Can you have a look at it? My environment is clang version 3.4.2 (tags/RELEASE_34/dot2-final)Target: x86_64-apple-darwin13.4.0Thread model: posix
On Linux, I can compile the examples with clang-3.4.2 just fine. (Clang 3.5 is a different story.)
make -C examples /usr/local/Cellar/llvm/3.4.2/bin/clang++ -Xclang -load -Xclang ../src/visualizer.so -Xclang -plugin -Xclang visualize-statechart -I/usr/include/boost_1_57_0 -I/usr/include/c++/4.2.1 -c -o test.o test.cpp
Can you try whether you can compile it without the viewer plugin, i.e. whether the following command works? cd examples /usr/local/Cellar/llvm/3.4.2/bin/clang++ -I/usr/include/boost_1_57_0 -I/usr/include/c++/4.2.1 -c -o test.o test.cpp Best regards, -Michal