Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #1343

Open
myhaquanwen opened this issue Aug 12, 2024 · 6 comments
Open

build error #1343

myhaquanwen opened this issue Aug 12, 2024 · 6 comments

Comments

@myhaquanwen
Copy link

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

@fnc12
Copy link
Owner

fnc12 commented Aug 12, 2024

what's your compiler version and build steps?

@myhaquanwen
Copy link
Author

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

@fnc12
Copy link
Owner

fnc12 commented Aug 24, 2024

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
Copy link
Owner

fnc12 commented Oct 10, 2024

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

@KochabStar
Copy link

@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
Copy link

Single use sqlite_orm is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants