Sqlite_orm: Cannot find the package installed by vcpkg

Created on 19 Feb 2020  路  7Comments  路  Source: fnc12/sqlite_orm

Most helpful comment

is it ok if we rename sqlite_orm to sqlite-orm in 'README' file in this lib?

All 7 comments

Hi. Probably you need to write ./vcpkg install sqlite_orm instead.

I run ./vcpkg install sqlite_orm on my laptop but I got this error:

Error: <unknown>:1:7: invalid character in package name (must be lowercase, digits, '-')
   on expression: "sqlite_orm"
                         ^
Example:
  vcpkg install zlib zlib:x64-windows curl boost

Is your issue related to https://github.com/fnc12/sqlite_orm/issues/443 and duplicates it or not?

I've read both https://github.com/fnc12/sqlite_orm/issues/443 and https://github.com/microsoft/vcpkg/issues/9482. It seams like vcpkg team won't bother to rename sqlite-orm as sqlite_orm. My issue isn't about the naming of the package though. It's about not being able to find the package installed by vcpkg.

Hi there are couple of ways you can install pkg for visual studio

vcpkg integrate install

Make installed packages available user-wide. Requires admin privileges on first use

vcpkg integrate project

generate individual nuget package for vs project you have to install from nuget pkg manager afterwards.

try vcpkg integrate install
vcpkg install sqlite-orm

on the further note installation directiory for user-wide installation will be

path-to-installed/vcpkg/install/ platfrom-type[x86/x64]/include/sqlite-orm

This worked for me so hope it helps you as well

is it ok if we rename sqlite_orm to sqlite-orm in 'README' file in this lib?

Fixed in readme. Everyone please excuse me for long waiting.

Was this page helpful?
0 / 5 - 0 ratings