Hello,

I am trying to compile my application with Boost thread library (1.49.0) on Ubuntu 11.10 (gcc 4.6.1).

However I see this error:

$(BOOST_PATH)/include/boost/thread/detail/config.hpp:29:24: fatal error: platform.hpp: No such file or directory
compilation terminated.

In the file $(BOOST_PATH)/include/boost/thread/detail/config.hpp, the platform.hpp is included as:

#include "platform.hpp"

If I change that to:

#include <boost/thread/detail/platform.hpp>

this error goes away.

However, there are a lot of places where headers are included using relative path, thereby causing compilation errors.

Is there a workaround for this?

Thanks,
Raj

Twitter: @Blismedia
BlisMedia 
32 Percy Street,
London W1T 2DE
www.blismedia.com


Follow on TwitterBlis Website

This communication is from BlisMedia, which is a trading name of Breeze Tech (UK) Ltd, a company registered in England and Wales with registered number 06455773. Its registered office is 32 Percy Street, London W1T 2DE, United Kingdom.

 

This communication contains information that is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please (1) notify info@blismedia.com by forwarding this email and delete all copies from your system and (2) note that disclosure, distribution, copying or use of this communication is strictly prohibited. Email communications cannot be guaranteed to be secure or free from error or viruses. All emails sent to or from a Blismobile email account are securely archived and stored by an external supplier. This email does not constitute a contractual agreement; such agreements are in specified contractual or Insertion Order (IO) form only and exclusively contain all the terms to which Breeze Tech )UK) Ltd will be bound. To the extent permitted by law, Breeze Tech (UK) Ltd does not accept any liability for use of or reliance on the contents of this email by any person save by the intended recipient(s) to the extent agreed in a contract or Insertion Order.

 

Opinions, conclusions and other information in this email which have not been delivered by way of the business of Breeze Tech (UK) Ltd are neither given nor endorsed by it.