time.h and sys/time.h are different. sys/time.h is only included by runtime/core/src/commonj/sdo/export.h in the sdo code and on Linux only. The test in export.h is
#if defined(WIN32) || defined (_WINDOWS) So... if either of these is set sys/time.h will not be included. Can you paste the command line for your compilation here? Cheers, On 08/03/07, Adriano Crestani <[EMAIL PROTECTED]> wrote:
I found the time.h, but it was not in a sys folder, it is in C:\Program Files\Microsoft Visual Studio 8\VC\include\ What can I do now? The sdo code tries to a type.h that is in a sys folder. I tried to move time.h to the C:\Program Files\Microsoft Visual Studio 8\VC\include\sys folder, but I obviously got other error, cause the time.hprobably shouldn't moved. Adriano Crestani On 3/8/07, Adriano Crestani <[EMAIL PROTECTED]> wrote: > > Pete, > > On the sdo code it tries to include the file <sys/time.h>, so I found the > folder sys inside the folder C:\Program Files\Microsoft Visual Studio > 8\VC\include\, but there is no time.h in it. I just found timeb.h and > utime.h, but no time.h :s > > Adriano Crestani > > On 3/8/07, Pete Robbins <[EMAIL PROTECTED] > wrote: > > > > Adriano, > > > > On Linux this should be in the standard include path the comiler uses in > > > > /usr/include. > > > > On Windows this will be in the standard compiler include path: > > C:\Program > > Files\Microsoft Visual Studio 8\VC\include. This should be set up in the > > environment by running the vcvars32.bat script found in C:\Program > > Files\Microsoft Visual Studio 8\VC\bin > > > > Cheers, > > > > > > On 08/03/07, Adriano Crestani <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I was trying to build a project that uses sdo c++, but it fails cause > > it`s > > > not finding the time.h file. Where do I find this header? > > > > > > Adriano Crestani > > > > > > > > > > > -- > > Pete > > > >
-- Pete
