Now I found that compiler is not using /usr/include in the include
Hi,
I tried setting the variables u said but still it is not using it.
I tried to just compile the file which is throwing error, but that also
doesn't work. Have attached the build output. Please check and let me
know
If I am doing something really bad.
If I directly insert the include path like
'#include "/usr/include/assert.h" ', I get rid of the assert error, but
will get stuck in some other files which is dependent on some other
files.
Some silly thing, which I am not able to find.
Also, may be a point that I am using a make file which is developed
using Eclipse in linux. Will that contribute to this??
Regards
Vipin
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of dhruva
Sent: 15 May 2008 11:51
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Compile errors in Boost files,suspect GCC
version problem
Hi,
On Thu, May 15, 2008 at 2:29 PM, Nair, Vipin
How to set it??
I tried to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to point to /usr/include , but still it is not taking the files from /usr/include.
1. Set the environmental variable INCLUDE=/usr/include:$INCLUDE. GCC picks it from there by default. 2. Or, use "gcc -I/usr/include". If you are using a makefile and it has CC=gcc, replace it with CC="gcc -I/usr/include". -dhruva -- Contents reflect my personal views only! _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.