[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling glob with MSVC
From: |
Ole Jacob Hagen |
Subject: |
Compiling glob with MSVC |
Date: |
Sat, 21 Jul 2007 16:26:36 +0200 (CEST) |
Hi,
I am unable to compile glob (downloaded from david bateman's site
)with MSVC.
I would really like to have it fixed....I've also tried to use cc-msvc,
but with same result.
Cheers.
Ole J.
The following errors are:
1. Missing header file pwd.h, which means that the configure script
failed in some way?
2. When I add -DWINDOWS32 as compiler flags, I get the following error
message:
cl -I. -I. -c \
-DHAVE_CONFIG_H -DWINDOWS32 glob.c -o glob.o
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762
for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9035 : option 'o' has been deprecated and
will be removed in a future release
glob.c
glob.c(1320) : error C2065: 'DIR' : undeclared identifier
glob.c(1320) : error C2059: syntax error : ')'
glob.c(1334) : error C2037: left of 'd_name' specifies undefined
struct/union 'direct'
glob.c(1336) : warning C4090: 'function' : different 'const' qualifiers
glob.c(1336) : warning C4090: 'function' : different 'const' qualifiers
glob.c(1340) : error C2037: left of 'd_namlen' specifies undefined
struct/union 'direct'
glob.c(1405) : error C2059: syntax error : ')'
glob.c(1417) : error C2059: syntax error : ')'
make: *** [glob.o] Error 2
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com
- Compiling glob with MSVC,
Ole Jacob Hagen <=