Winelib project
Hans Christian Studt
hcstudt at post10.tele.dk
Wed Jan 29 15:33:16 CST 2003
Hi,
I am trying to compile some sourceforge windows projects under
winelib and need some guidance regarding how to fix these errors.
bb4win
===========================================
g++ -c -I. -I/usr/local/wine/include -g -O2 -fpermissive
-fno-for-scope -D_REENTRANT -o BB
Api.o BBApi.cpp
In file included from
BBApi.cpp:34:
Menu/MenuMaker.h:53:16: io.h: Ingen sådan fil eller filkatalog
BBApi.cpp: In function `const
CHAR* GetBBVersion()':
BBApi.cpp:80: warning: passing NULL used for non-pointer
argument passing 2 of `BOOL
GetFileVersionInfoA(const CHAR*, long unsigned int, long
unsigned int,
void*)'
BBApi.cpp:80: warning:
argument to non-pointer type `long unsigned int' from
NULL
BBApi.cpp: In function
`CHAR* ReadValue(const CHAR*, const CHAR*, long int*)':
BBApi.cpp:458: `stricmp' undeclared (first use this function)
BBApi.cpp:458: (Each
undeclared identifier is reported only once for each
function it appears in.)
BBApi.cpp: In function
`void Log(const CHAR*, const CHAR*)':
BBApi.cpp:611: `_strtime' undeclared (first use this function)
BBApi.cpp: In function
`COLORREF ParseLiteralColor(const CHAR*)':
BBApi.cpp:891: `strnicmp' undeclared (first use this function)
BBApi.cpp: In function
`HINSTANCE__* BBExecute(HWND__*, const CHAR*, const
CHAR*, const CHAR*, const CHAR*, int, bool)':
BBApi.cpp:1409:
`SHELLEXECUTEINFO' undeclared (first use this function)
BBApi.cpp:1409: parse error before `;' token
BBApi.cpp:1419: `si' undeclared (first use this function)
BBApi.cpp:1429: `SEE_MASK_DOENVSUBST' undeclared (first use
this function)
BBApi.cpp:1429: `SEE_MASK_FLAG_NO_UI' undeclared (first use
this function)
BBApi.cpp:1430: `ShellExecuteEx' undeclared (first use this
function)
BBApi.cpp: In function `bool IsInString(const CHAR*, const
CHAR*)':
BBApi.cpp:1573: `strlwr' undeclared (first use this function)
make[1]: *** [BBApi.o] Error 1
make[1]: Leaving directory
`/user/home/hcs/Wine/winelib/compile/bb4win/blackbox'
make: *** [blackbox] Error 2
===========================================
NSIS/Source
===========================================
gcc -c -I. -I/usr/local/wine/include -g -O2 -fPIC
-D_REENTRANT -o Ui.o Ui.c
Ui.c: In function `set_language':
Ui.c:275: warning: comparison is always false due to limited
range of data type
gcc -c -I. -I/usr/local/wine/include -g -O2 -fPIC
-D_REENTRANT -o bgbg.o bgbg.c
gcc -c -I. -I/usr/local/wine/include -g -O2 -fPIC
-D_REENTRANT -o bin2h.o bin2h.c
gcc -c -I. -I/usr/local/wine/include -g -O2 -fPIC
-D_REENTRANT -o exec.o exec.c
exec.c: In function `ExecuteEntry':
exec.c:1006: `IShellLink' undeclared (first use in this function)
exec.c:1006: (Each undeclared identifier is reported only once
exec.c:1006: for each function it appears in.)
exec.c:1006: `psl' undeclared (first use in this function)
exec.c:1014: `CLSID_ShellLink' undeclared (first use in this
function)
exec.c:1015: `IID_IShellLink' undeclared (first use in this
function)
make[1]: *** [exec.o] Error 1
make[1]: Leaving directory
`/user/home/hcs/Wine/winelib/compile/NSIS/Source/exehead'
make: *** [exehead] Error 2
===========================================
wnsr/wnsrtool
===========================================
g++ -c -I. -I/usr/local/wine/include -g -O2 -fpermissive
-fno-for-scope -D_REENTRANT -o logfileCode.o logfileCode.cpp
logfileCode.cpp: In function `void writelogline(FILE*, char,
char*, char*, int,
long unsigned int)':
logfileCode.cpp:40: `_strtime' undeclared (first use this
function)
logfileCode.cpp:40: (Each undeclared identifier is reported
only once for each
function it appears in.)
logfileCode.cpp:41: `_strdate' undeclared (first use this
function)
make: *** [logfileCode.o] Error 1
===========================================
--
Hans Christian Studt : http://hc.studt.dk mailto:hc at studt.dk
.dk og W3C standarder : http://w3c.studt.dk
More information about the wine-devel
mailing list