[Boost-bugs] [Boost C++ Libraries] #7887: Boost & Eclipse

Subject: [Boost-bugs] [Boost C++ Libraries] #7887: Boost & Eclipse
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-12 00:19:03


#7887: Boost & Eclipse
------------------------------------------------------+---------------------
 Reporter: Barnabé Faliu <barnabe.faliu@…> | Owner: anthonyw
     Type: Support Requests | Status: new
Milestone: | Component: thread
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
 Hello everyone, I need your help with a problem in relation with Boost
 1-52-0 and Eclipse for C++ developpers.
 First, i use Cygwin 1.7.17-1 as compiler and my boost library is well
 compiled (boostrap.sh and b2 executed). My OS is Windows 8 Pro 64bits.

 Here is the simple program I try to execute :

 {{{
 #include <iostream>
 #include <boost/thread/thread.hpp>
 using namespace std;


 int main() {

         cout << "hello";
         return 0;
 }
 }}}

 This code is compiling without any problem but, when i want to execute it,
 nothing appears. I noticed that if I set "#include
 <boost/thread/thread.hpp>" as comment, the word "hello" appears, then I
 concluded that boost library was the problem, but I absolutly don't know
 why..

 Here are my project linkers :
     Includes (Cygwin C++ Compiler) : '''C:/boost'''

     Libraries : '''boost_thread'''
                 '''boost_system'''

     Librairies search path : '''C:/boost/stage/lib'''

 I as well want to precise that I defined the system variable
 "'''CYGWIN'''" with "'''nodosfilewarning'''" value because I had an error
 like that when compiling :
 "'''cygwin warning:
 MS-DOS style path detected: c:/
 Preferred POSIX equivalent is: /cygdrive/c
 CYGWIN environment variable option "nodosfilewarning" turns off this
 warning.
 Consult the user's guide for more details about POSIX paths:
 cygwin.com/cygwin-ug-net/usin...sing-pathnames'''"

 Hope you'll help me, thanks !

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7887>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC