Experimental Physics and Industrial Control System
Yes, that fixes the problem, thanks.
I think it is a bug in the OSX C++ include files, but the workaround is simple and harmless.
Mark
-----Original Message-----
From: Henrique Almeida [mailto:[email protected]]
Sent: Tuesday, January 06, 2015 2:08 PM
To: Mark Rivers
Cc: [email protected] Talk
Subject: Re: Problem building asyn R4-25 on Mac OSX Yosemite
Include <string> ?
2015-01-06 17:37 GMT-02:00 Mark Rivers <[email protected]>:
> Folks,
>
>
>
> Diego Omitto from BNL has reported the following errors when building asyn
> R4-25 on Max OSX Yosemite.
>
>
>
> It builds fine on Linux, Windows, vxWorks, and earlier versions of OSX.
>
>
>
> c++ -c -DUNIX -Ddarwin -O3 -g -Wall -arch x86_64
> -fno-common -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../asyn/asynDriver
> -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces
> -I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions
> -I../../asyn/asynPortDriver -I../../asyn/asynPortClient
> -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11
> -I../../asyn/gsIP488 -I../../asyn/ni1014 -I../../asyn/devGpib
> -I../../include/os/Darwin -I../../include
> -I/Users/diego/epics/synApps_5_7/support/ipac-2-12/include
> -I/Users/diego/epics/synApps_5_7/support/seq-2-1-13/include
> -I/Users/diego/epics/base/include/os/Darwin
> -I/Users/diego/epics/base/include
> ../../asyn/asynPortClient/asynPortClient.cpp
>
> In file included from ../../asyn/asynPortClient/asynPortClient.cpp:18:
>
> ../../asyn/asynPortClient/asynPortClient.h:75:38: error: implicit
> instantiation of undefined template 'std::__1::basic_string<char,
> std::__1::char_traits<char>,
>
> std::__1::allocator<char> >'
>
> throw std::runtime_error(std::string("pasynInt32SyncIO->connect
> failed"));
>
> ^
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:188:33:
> note: template is declared here
>
> class _LIBCPP_TYPE_VIS_ONLY basic_string;
>
> ^
>
>
>
> Can anyone suggest what needs to be changed to eliminate this error?
>
>
>
> Thanks,
>
> Mark
>
>
- Replies:
- Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- References:
- Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- Navigate by Date:
- Prev:
Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- Next:
Re: Installing CaLab "V.1.2.1.5" on SL6.1 Jani Hakala
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- Next:
Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024