Staffan
Have you done this
Changes needed for compilation of SQLITE amalgation to oosqlite
-------------------------
Last in sqlite3.c module ADD
#ifdef OOSQLITE_BUILD
SQLITE_API const sqlite3_api_routines* oosqlite3_get_routines(void){
return &sqlite3Apis;
}
#endif
--------------
Last in sqlite3.h ADD
#ifdef OOSQLITE_BUILD
#ifdef __cplusplus
extern "C" {
#endif
typedef struct sqlite3_api_routines sqlite3_api_routines;
extern SQLITE_API const sqlite3_api_routines *oosqlite3_get_routines(void);
#ifdef __cplusplus
} /* end of the 'extern "C"' block */
#endif
#endif /* end if OOSQLITE_BUILD */
Från: Staffan Tylen
Skickat: tisdag den 30 september 2014 21:42
Till: Open Object Rexx Users
Hi Mike, I'm trying to compile the latest available source for ooSQLite but am
receiving loads of error messages. I've updated my makefile to include recent
changes in makefile.win. Below are the messages I receive.
Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
D:\ooRexx\ooSQLite\src
cl /nologo /EHsc /O2 /Gs /Gy /FAs /Fabuild\release\ /MT /W3
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DOOSQLITE_VER_MAJOR=1
/DOO
SQLITE_VER_MINOR=0 /DOOSQLITE_VER_LEVEL=0 /DOOSQLITE_VER_BUILD=10584
/DOOSQLITE_VER_STRING=\""1.0.0.10584"\"
/DOOSQLITE_COPYRIGHT_YEAR=\""2012-2013"\"
/I src\sqlite /I src\platform\windows /I
..\ooRexx.4.1\extensions\platform\windows\oodialog
/DSQLITE_ENABLE_COLUMN_METADATA /DSQLITE_ENABLE_MEMORY_MA
NAGEMENT /DSQLITE_ENABLE_FTS3 /DSQLITE_ENABLE_FTS3_PARENTHESIS
/DSQLITE_DEFAULT_FOREIGN_KEYS=1 /DSQLITE_CORE /DSQLITE_HAS_CODEC
/DSQLITE_MAX_COLUMN=32
767 /DHAVE_STDINT_H /D:_X86_ /DWIN32 /DNDEBUG /DNULL=0 /c /DOOSQLITE_BUILD
/Fo.\build\release\ src\sqlite\sqlite3_with_codec.c
sqlite3_with_codec.c
cl /nologo /EHsc /O2 /Gs /Gy /FAs /Fabuild\release\ /MT /W3
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DOOSQLITE_VER_MAJOR=1
/DOO
SQLITE_VER_MINOR=0 /DOOSQLITE_VER_LEVEL=0 /DOOSQLITE_VER_BUILD=10584
/DOOSQLITE_VER_STRING=\""1.0.0.10584"\"
/DOOSQLITE_COPYRIGHT_YEAR=\""2012-2013"\"
/I src\sqlite /I src\platform\windows /I
..\ooRexx.4.1\extensions\platform\windows\oodialog
/DSQLITE_ENABLE_COLUMN_METADATA /DSQLITE_ENABLE_MEMORY_MA
NAGEMENT /DSQLITE_ENABLE_FTS3 /DSQLITE_ENABLE_FTS3_PARENTHESIS
/DSQLITE_DEFAULT_FOREIGN_KEYS=1 /DSQLITE_CORE /DSQLITE_HAS_CODEC
/DSQLITE_MAX_COLUMN=32
767 /DHAVE_STDINT_H /D:_X86_ /DWIN32 /DNDEBUG /DNULL=0 /c /DOOSQLITE_BUILD
/Fo.\build\release\ src\ooSQLite.cpp
ooSQLite.cpp
src\ooSQLite.cpp(89) : error C3861: 'packageLoadHelper': identifier not found
src\ooSQLite.cpp(94) : error C2065: 'TheDotLocalObj' : undeclared identifier
src\ooSQLite.cpp(159) : error C2065: 'TheDotLocalObj' : undeclared identifier
src\ooSQLite.cpp(164) : error C2065: 'TheDotLocalObj' : undeclared identifier
src\ooSQLite.cpp(443) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(574) : error C2664: 'stringTooLongException' : cannot convert
parameter 2 from 'const char [8]' to 'size_t'
There is no context in which this conversion is possible
src\ooSQLite.cpp(819) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(870) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(1371) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1443) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1503) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1582) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1586) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1664) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1735) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1796) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1863) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(1932) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2007) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2074) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2174) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2195) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2254) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2304) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2602) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2670) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2751) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2773) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(2782) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3331) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3406) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3608) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3640) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3653) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(3687) : error C2065: 'TheZeroPointerObj' : undeclared
identifier
src\ooSQLite.cpp(3962) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(4118) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(4201) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(4269) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(4376) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(4884) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(5141) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5335) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(5362) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5375) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5496) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5511) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(5541) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(5601) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5812) : error C2065: 'TheZeroPointerObj' : undeclared
identifier
src\ooSQLite.cpp(5847) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5849) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(5999) : error C2065: 'TheZeroPointerObj' : undeclared
identifier
src\ooSQLite.cpp(6038) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6040) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6218) : error C2065: 'TheZeroPointerObj' : undeclared
identifier
src\ooSQLite.cpp(6223) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6607) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(6844) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6863) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6867) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(6892) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7114) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7445) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7460) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7741) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7761) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7776) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7791) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(7819) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8062) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8072) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8175) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8177) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8236) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(8245) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(8949) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(9709) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(9747) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(9952) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10164) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10166) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10177) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10179) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10190) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10192) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10447) : error C2665: 'wrongArgKeywordException' : none of the
2 overloads could convert all the argument types
..\ooRexx.4.1\extensions\platform\windows\oodialog\APICommon.hpp(101):
could be 'RexxObjectPtr wrongArgKeywordException(RexxMethodContext *,si
ze_t,CSTRING,CSTRING)'
..\ooRexx.4.1\extensions\platform\windows\oodialog\APICommon.hpp(280):
or 'RexxObjectPtr wrongArgKeywordException(RexxMethodContext *,si
ze_t,CSTRING,RexxObjectPtr)'
while trying to match the argument list '(RexxThreadContext *, int,
const char [79], CSTRING)'
src\ooSQLite.cpp(10508) : error C2665: 'wrongArgKeywordException' : none of the
2 overloads could convert all the argument types
..\ooRexx.4.1\extensions\platform\windows\oodialog\APICommon.hpp(101):
could be 'RexxObjectPtr wrongArgKeywordException(RexxMethodContext *,si
ze_t,CSTRING,CSTRING)'
..\ooRexx.4.1\extensions\platform\windows\oodialog\APICommon.hpp(280):
or 'RexxObjectPtr wrongArgKeywordException(RexxMethodContext *,si
ze_t,CSTRING,RexxObjectPtr)'
while trying to match the argument list '(RexxThreadContext *, int,
const char [79], CSTRING)'
src\ooSQLite.cpp(10594) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10631) : error C2065: 'TheZeroObj' : undeclared identifier
src\ooSQLite.cpp(10793) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(10835) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(10883) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(11046) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(11048) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11052) : error C2065: 'TheNilObj' : undeclared identifier
src\ooSQLite.cpp(11060) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11070) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11077) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11087) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11113) : error C2065: 'TheFalseObj' : undeclared identifier
src\ooSQLite.cpp(11113) : fatal error C1003: error count exceeds 100; stopping
compilation
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
Grateful for some assistance.
Staffan
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users