From: Paul F. <pau...@al...> - 2012-09-25 20:34:10
|
Hi Stéphane, I recently added the call to gettimeofday in ACESemaphoreImpl.h, so this is my fault. I'm not having any luck replicating your error. However gettimeofday has been called in libYARP_OS/src/Time.cpp for a long time without trouble. So I've added two time-related header files that Time.cpp includes into ACESemaphoreImpl.h. They don't seem necessary in any of the VS+ACE combinations I've tried, but it is the only difference I can see between working-Time.cpp and broken-ACESemaphoreImpl.h. Let me know if YARP from svn works any better for you now, or if it is the same. Best, Paul On 09/25/2012 05:56 PM, Stéphane Lallée wrote: > I'm using the one furnished by the latest binaries distribution of yarp. > It seems to be ACE 6.0.1 > > > 2012/9/25 Lorenzo Natale <Lor...@ii... > <mailto:Lor...@ii...>> > > Hi Stephane, > > can you report the version of ACE you are using? > > Lorenzo > > *From:*Stéphane Lallée [mailto:ste...@gm... > <mailto:ste...@gm...>] > *Sent:* martedì 25 settembre 2012 11:07 > > > *To:* Robotcub-hackers > *Subject:* [rc-hackers] gettimeoftheday() not part of ACE_OS ? > > Hi ! > > I'm installing yarp on a new win7 machine with the dependencies in > the binaries form (VS2010) and the yarp sources from the svn. > > I have no problem to compile in Release, however in Debug I'm > getting an error about ACE : > > /error C2039: 'gettimeofday' : n'est pas membre de > 'ACE_OS'R:\Libraries\yarp2\src\libYARP_OS\include\yarp\os\impl\ACESemaphoreImpl.h491YARP_OS/ > > (repeated for all the places where this function is called) > > I downloaded the binaries last week and the svn repo this morning. > > Any idea before I start reinstalling from scratch ? > > Cheers, > > Stephane > > |