Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > openwatcom.users.c_cpp > #3505
| From | norimaki <67edbb3078678ddc726c50ee95b338f6@e.2chmail.net> |
|---|---|
| Newsgroups | openwatcom.users.c_cpp |
| Subject | Re: sqlite3 compile failed |
| Date | 2017-08-16 22:19 +0900 |
| Organization | OpenWatcom |
| Message-ID | <op.y42fa0fbu543ij@pvu4xv05toqifrh.setup> (permalink) |
| References | <op.y4xa3uteu543ij@pvu4xv05toqifrh.setup> <omrm8h$uqq$1@www.openwatcom.org> <op.y4ysv9xju543ij@pvu4xv05toqifrh.setup> <omur45$8jr$1@www.openwatcom.org> |
Hello. The cause was found out. If sqlite3 version is 3_6_23_1, it works normally. Version 3.7 or later will succeed in compiling, but will fail due to a memory reading violation. When generating a dll, the following are required as macro definitions. #define SQLITE_API __declspec (dllexport) When using dll, the following macro definitions are required. #define SQLITE_API __declspec (dllimport) I'd like to hear if there is a method that can be successfully generated in version 3.7 or later, but this thread is closed by solving it. On Tue, 15 Aug 2017 21:57:55 +0900, Frank Beythien <fbeythien@gmx.de> wrote: > Am 14.08.2017 um 16:22 schrieb norimaki: > > Hi, > > once again, if you don't show the error messages you get and the > compiler options which produced them, noboday can help you. > > >> Thank you for your response. >> I tried using the question and answer about the dll-export-import-macro >> definition that became a topic in the past. >> I also tried the description about the dll that exists in the open - >> watcom - wiki. >> I also tried writing export-import-directive by referring also to the >> attached help. >> I tried to compile link by changing parameters, rewriting >> directive-file, setting macros based on these. >> However, I have not been able to compile SQLITE 3 for nearly a week. >> I am already exhausted and I do not remember exactly what I did and what >> was there. >> There is only a set of files that have been set up so that I am >> overwriting too much and not being usable. >> Tell me how to answer correctly. >> There is no other way to compare the way to succeed and my way of >> failing to find out what I am doing wrong. >> I think that it is in a state where it is only necessary to stepping up >> my knowledge shortage and understanding shortage with that. >> Command options that will succeed in compiling SQLite 3 - Macro >> definition - export - import - directive, etc ... >> Please tell me the setting. >> Also, since I am using machine translation, it is difficult to convey >> and understand detailed nuances. >> >> >> On Mon, 14 Aug 2017 17:16:29 +0900, Frank Beythien <fbeythien@gmx.de> >> wrote: >> >>> Am 13.08.2017 um 21:00 schrieb norimaki: >>>> I compiled sqlite 3 with watcom 1.9 but failed. >>>> I can not do the setup to make DLL well. >>>> I saw "create DLL" of watcom - wiki, "linker" of help, past question >>>> etc >>>> of newgroup, but eventually errer did not disappear and I could not >>>> understand. >>>> Will not you show me the settings that succeeded in compiling version >>>> 3.20 of sqlite 3? >>>> (I would appreciate it if you can give me a set of successful project >>>> files if possible.) >>>> The OS is Windows XP. >>>> >>>> This sentence is translated using a machine translation system. >>> >>> It would be helpful if you supplied the commands and parameters for >>> wcc386 and wlink and the error messages you get. Or the logfile from >>> the >>> IDE. >> >>
Back to openwatcom.users.c_cpp | Previous | Next — Previous in thread | Next in thread | Find similar
sqlite3 compile failed norimaki <67edbb3078678ddc726c50ee95b338f6@e.2chmail.net> - 2017-08-14 04:00 +0900
Re: sqlite3 compile failed Frank Beythien <fbeythien@gmx.de> - 2017-08-14 10:16 +0200
Re: sqlite3 compile failed norimaki <67edbb3078678ddc726c50ee95b338f6@e.2chmail.net> - 2017-08-14 23:22 +0900
Re: sqlite3 compile failed Frank Beythien <fbeythien@gmx.de> - 2017-08-15 14:57 +0200
Re: sqlite3 compile failed norimaki <67edbb3078678ddc726c50ee95b338f6@e.2chmail.net> - 2017-08-16 22:19 +0900
Re: sqlite3 compile failed d3x0r <d3ck0r@gmail.com> - 2017-11-20 02:37 -0800
csiph-web