Comments (12)
Hello @KaungZawHtet ,
Building package oatpp[core]:x64-uwp... done
Installing package oatpp[core]:x64-uwp...
Installing package oatpp[core]:x64-uwp... done
Elapsed time for package oatpp:x64-uwp: 1.876 s
Starting package 2/2: oatpp-sqlite:x64-uwp
Building package oatpp-sqlite[core]:x64-uwp...
Could not locate cached archive: W:\03\035daae6548f205131ee6271bd1db9e3f279e03f.zip
-- Note: oatpp-sqlite only supports static library linkage. Building static library.
-- Downloading https://github.com/oatpp/oatpp-sqlite/archive/932a79f1db5a0dfd6955c8fd84dc7bd2e5962be1.tar.gz...
-- Extracting source D:/downloads/oatpp-oatpp-sqlite-932a79f1db5a0dfd6955c8fd84dc7bd2e5962be1.tar.gz
-- Using source at D:/buildtrees/oatpp-sqlite/src/d2e5962be1-146fcc8dbb.clean
-- Configuring x64-uwp
-- Building x64-uwp-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:141 (message):
Command failed: D:/downloads/tools/cmake-3.17.2-windows/cmake-3.17.2-win32-x86/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /m
Working Directory: D:/buildtrees/oatpp-sqlite/x64-uwp-dbg
See logs for more information:
D:\buildtrees\oatpp-sqlite\install-x64-uwp-dbg-out.log
I don't know what this error message means.
If you know where to find some meaningful logs please post them here.
Regards,
Leonid
from oatpp-sqlite.
@lganzzzo they replied at microsoft/vcpkg#14107 now . You can directly communicate with them too if needed
from oatpp-sqlite.
Yes, now it should be ok.
Just take the latest master - it will use external SQLite by default.
from oatpp-sqlite.
CMake Error at D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY)
Call Stack (most recent call first):
D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/share/cmake-3.18/Modules/FindSQLite3.cmake:52 (find_package_handle_standard_args)
C:/a/1/s/scripts/buildsystems/vcpkg.cmake:536 (_find_package)
CMakeLists.txt:108 (find_package)
Ok, now the SQLite package is not found.
I'm not familiar with vcpkg packages, but I think it should be specified somewhere that oatpp-sqlite
depends on SQLite
- to install sqlite first.
from oatpp-sqlite.
Hey @KaungZawHtet ,
The build is in success now after experimenting with forked oatpp-sqlite.
Nice, Great work!
If you wish, I will make PR at master.
Sounds good!
The only thing I would ask you is to fix indents please like this:
if(NOT OATPP_SQLITE_AMALGAMATION)
#In case of vcpkg, specific finding is required because of unofficiality
if(VCPKG_TOOLCHAIN )
message("\nvcpkg is on\n")
find_package(unofficial-sqlite3 CONFIG REQUIRED)
else()
find_package(SQLite3 REQUIRED)
endif()
message("SQLite3_INCLUDE_DIRS=${SQLite3_INCLUDE_DIRS}")
message("SQLite3_LIBRARIES=${SQLite3_LIBRARIES}")
message("SQLite3_VERSION=${SQLite3_VERSION}")
endif()
from oatpp-sqlite.
Is build ok at you now after the commits ?
from oatpp-sqlite.
I m in the progress of oatpp-sqlite PR. Check other db adapters, eg. Oatpp-PostgreSQL, too if they have same nature with oatpp-sqlite. If not so complex, those should be added into the vcpkg port pool too.
from oatpp-sqlite.
build failed. This time, even on linux
from oatpp-sqlite.
Are any logs available?
Logs in the vcpkg CI tells me nothing.
from oatpp-sqlite.
Check the link. They replied with log
from oatpp-sqlite.
The build is in success now after experimenting with forked oatpp-sqlite. Build failed because of naming :
find_package(unofficial-sqlite3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::sqlite3::sqlite3)
check some improvement here
If you wish, I will make PR at master.
from oatpp-sqlite.
Fixed in #8
from oatpp-sqlite.
Related Issues (13)
- [TODO] - reuse prepared statements
- How to insert string literals? HOT 11
- Build Failed with oat++ v1.3.0 HOT 1
- [oatpp::sqlite::Executor::getConnection()]: Error. Can't connect HOT 3
- Error cmake build
- beginTransaction/rollback/committ do not work HOT 5
- foreign_keys not work. HOT 1
- Full text search support HOT 1
- query param use array: SELECT...in ( array)
- Add an option to link external SQLite library instead of using SQLite amalgamation HOT 1
- Link external SQLite library by default
- How to implement aggregate queries? HOT 2
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 oatpp-sqlite.