Comments (5)
Ok, problem is that I don't use Mingw under Windows.
Solution should be apply in the first lines of CMakeLists.txt. Could you
look at it?
Le 9 janv. 2014 15:17, "Prisacariu Alexandru" [email protected] a
écrit :
Switched to Windows to compile the app for Windows but I have some errors:
mingw32-make
:: warning: cppcheck: Cppcheck cannot find all the include files (use
--check-co
nfig for details) [information/missingInclude]
[ 0%] Built target cppcheck
Scanning dependencies of target SQLiteCpp
[ 20%] Building CXX object src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj
G__~1.EXE: error: unrecognized command line option '-rdynamic'
src\CMakeFiles\SQLiteCpp.dir\build.make:56: recipe for target
'src/CMakeFiles/SQ
LiteCpp.dir/Column.cpp.obj' failed
mingw32-make[2]: *** [src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj] Error 1
CMakeFiles\Makefile2:147: recipe for target
'src/CMakeFiles/SQLiteCpp.dir/all' f
ailed
mingw32-make[1]: *** [src/CMakeFiles/SQLiteCpp.dir/all] Error 2
Makefile:84: recipe for target 'all' failed
mingw32-make: *** [all] Error 2—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12
.
from sqlitecpp.
Where should I modify? I tryed to remove -rdynamic but I got errors to the same file but reffering to #include <sqlite3.h>.
from sqlitecpp.
Managed to create .a file, but from what I know I need .dll for Windows. I will come back with more information about my progress.
from sqlitecpp.
Yes, I am sorry, I know nothing about this tool chain and lack the time to
learn, try and investigate your problem...
But I will take into account your needs and merge the fixes needed!
Le 10 janv. 2014 19:23, "Prisacariu Alexandru" [email protected] a
écrit :
Managed to create .a file, but from what I know I need .dll for Windows. I
will come back with more information about my progress.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-32051857
.
from sqlitecpp.
I resolved the problem... Well, was pretty hard to resolve but in a final I resolved the problem... If you want I can fork and send the cmake files( in 2-3 days because now that I resolved the problem need to finish the project), but I want to say that I created shared libraries, so would be nice if you can add an option in cmake for creating shared libraries, especially for users of MinGW.
from sqlitecpp.
Related Issues (20)
- Private members to Protected to enable inheritance
- loop inert and delete, the Active(file) of memory will Abnormal increase
- MinGW cannot find library HOT 2
- Build Error HOT 2
- MSVC: Unresolved symbol SQLite::assertion_failed for example1
- On ORIN: Example1 run error.
- cannot bind to long long (64 bit signed integer)? HOT 4
- it can be shared library? HOT 2
- Issue regarding the overloading of SQLite::Statement::bind
- If the provided filename contains directories or path segments, the database will not be created. HOT 1
- can we add bindBlob(int, const std::string &)? HOT 1
- Is math function possible? HOT 1
- Adding std::optional to bind
- When will the .db-journal file be generated when I don't have any operational database in my project? HOT 1
- LNK2001: unresolved external symbol "SQLite::OPEN_READONLY" HOT 3
- cmake build warning: `cmake --help-policy CMP0148` HOT 1
- c
- (vcpkg) `LNK2019: unresolved external symbol` on Windows 11 for `Database` `std::filesystem::path` constructor HOT 2
- 23 tests fail HOT 7
- macOS builtin: Undefined symbols for architecture arm64: _sqlite3_load_extension HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlitecpp.