![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error when compile httpd 2.2.8 on AIX 5.2 | aldowsary | AIX | 7 | 02-13-2008 03:21 PM |
| C compile error | kuampang | High Level Programming | 3 | 11-29-2006 09:30 PM |
| compile error message | putput | High Level Programming | 4 | 10-04-2006 01:43 AM |
| compile error while using dlopen | shriashishpatil | High Level Programming | 5 | 06-29-2006 12:01 AM |
| Error in compile C by gcc | zico | High Level Programming | 4 | 11-11-2003 11:45 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Compile error
Dear All
I have a program writen in C and test in Unix. Now, I am try to run this program in windows 2000. I am receiving an error [B]_getopt is not define[/b]. I will appreciate if any one can help explain to me why this problem is hapening and to slove this problem. Thank you |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Basic question... you have recompiled the code before running in Windows haven't you? Also, you may not be having the libraries that implement the 'getopt' function in Windows.
|
|
#3
|
|||
|
|||
|
#4
|
|||
|
|||
|
Hi ,
Can you please add code snippet for the same Thanks Naren |
|
#5
|
|||
|
|||
|
Dear
I do have geopt library in my window. But it seem it can not find it. When I execute the program, it will produce error that it can't find getopt in any directory. One thing I would like to know geopt class is for unix only or it can be used with windows? Thank you Quote:
|
|
#6
|
|||
|
|||
|
Dear Naren
Can you elaborate what you mean by code snippet? where I can get that code? What that code can do? Thank you Last edited by coulio; 06-24-2006 at 02:41 AM. |
|
#7
|
|||
|
|||
|
Hi coulio,
by code snippet i mean copy paste part of your code , whcih uses getopt , so that we can analyse how it is used . we can plan next can you check this link where there is link for getopt foe windows http://www.codeproject.com/cpp/xgetopt.asp Thanks naren |
|||
| Google The UNIX and Linux Forums |