CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

i need this header file sys/time.h

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2010, 16:19
Default i need this header file sys/time.h
  #1
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 8
gholamghar is on a distinguished road
Hello
I need this header file for c++ : sys/time.h
can anybody send it to me?
Halgir3@yahoo.com
Thanks in advance
gholamghar is offline   Reply With Quote

Old   July 21, 2010, 19:43
Default
  #2
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 10
DoHander is on a distinguished road
Hmmm, seems like you are trying to compile a Linux code on Windows. This header file won't be of any use, you will need the complete source code of the compiler in order to do something with this.

If you can describe your problem maybe I can help.

Do
Attached Files
File Type: h time.h (2.4 KB, 8 views)
DoHander is offline   Reply With Quote

Old   July 22, 2010, 00:36
Default
  #3
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 8
gholamghar is on a distinguished road
I didn't know this header is for linux, i think you are right i have a code which uses sys/time.h and i am running it in windows and if sys/time.h is for linux i should run the code in linux. is there any header file similar sys/time.h for windows?
gholamghar is offline   Reply With Quote

Old   July 22, 2010, 09:56
Default
  #4
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 10
DoHander is on a distinguished road
1. Your code already runs on Windows ?
2. In principle you can recompile a Linux code on Windows (if you have the sources) using Cygwin or Mingw.

Do
DoHander is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 19:53.