Apparently this is a dumb question: I forgot the -I flag of g++...
Thanks anyway.


Sincerely,
Leo (Fang Yao-Lung)
Duke Physics 

2015-06-17 13:15 GMT-04:00 Leo Fang <leofang@phy.duke.edu>:
Hello all,


I have the binary packages of alps 2.2.0b3, vistrails 2.1.2 and alps-vistrails-2.2.0b3 on Mac OS X 10.10.3 installed, and I've confirmed that the installation was complete and that I was able to run alps applications. 

However, when I tried to include the boost library in my C++ code (let's say I'd like to use the Gamma function), I found that including only one header file is not enough; when compiling using g++ test.cpp, the line

#include "/opt/alps/include/boost/math/special_functions/gamma.hpp"

gives an error message: 

In file included from test.cpp:5:
/opt/alps/include/boost/math/special_functions/gamma.hpp:16:10: fatal error: 'boost/config.hpp' file not found
#include <boost/config.hpp>
         ^
1 error generated.

A similar error message appeared even when I included boost/config.hpp. Did I overlook something? Thanks.


Sincerely,
Leo (Fang Yao-Lung)
Duke Physics