sqlite_orm icon indicating copy to clipboard operation
sqlite_orm copied to clipboard

build error

Open myhaquanwen opened this issue 1 year ago • 6 comments

when i build ,get blower error: tests/is_column_with_insertable_primary_key.cpp:11:104: error: template argument 3 is invalid

how fix it

myhaquanwen avatar Aug 12 '24 08:08 myhaquanwen

what's your compiler version and build steps?

fnc12 avatar Aug 12 '24 09:08 fnc12

i import sqlite_orm.h in qt pro ,my compiler info is: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~18.04)

myhaquanwen avatar Aug 14 '24 11:08 myhaquanwen

looks like you have a typo somewhere in make_storage call. Please show your make_storage call and also show this line tests/is_column_with_insertable_primary_key.cpp:11:104: error: template argument 3 is invalid to get more context

fnc12 avatar Aug 24 '24 19:08 fnc12

@myhaquanwen did it work? It you still facing this issue please share make_storage code

fnc12 avatar Oct 10 '24 04:10 fnc12

@myhaquanwen did it work? It you still facing this issue please share make_storage code Qt SDK version 6.7.2 Microsoft C/C++ Compiler (x64) version 19.36.32546 When I upgraded to the latest version of Visual Studio, I can't compile anymore. Error C2653: 'cte_mapper_type' is not a class or namespace name

KochabStar avatar Oct 11 '24 05:10 KochabStar

Single use sqlite_orm is fine

KochabStar avatar Oct 11 '24 05:10 KochabStar

still need more details cause we are unable to repro it. Closing due to inactivity. Please feel free to reopen if somebody still facing this issue and provides new details for repro this

fnc12 avatar Jan 25 '25 15:01 fnc12