8000 fatal error: C:\Paths\v\thirdparty\sqlite\sqlite3.cpp: No such file or directory · Issue #540 · vlang/vscode-vlang · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ 10000
Skip to content
fatal error: C:\Paths\v\thirdparty\sqlite\sqlite3.cpp: No such file or directory #540
Open
@tocha699

Description

@tocha699

I downloaded Sqlite and put it in C:\Paths\v\thirdparty\sqlite, but I still can't run it successfully.
Because there is no sqlite3.cpp file.
I am a novice and I don't know how to deal with this problem.
I am using Windows system.
Please help me.

PS C:\Codes\v\demo1\test2> v run .
src/main.v:21:10: warning: `nonull` attribute is deprecated; non-optional fields are always "NOT NULL", use Option fields where they can be NULL
   19 |
   20 |     sql db {
   21 |         create table User
      |                ~~~~~~~~~~
   22 |         create table Product
   23 |     } or { panic('error on create table: ${err}') }
src/main.v:22:10: warning: `nonull` attribute is deprecated; non-optional fields are always "NOT NULL", use Option fields where they can be NULL
   20 |     sql db {
   21 |         create table User
   22 |         create table Product
      |                ~~~~~~~~~~~~~
   23 |     } or { panic('error on create table: ${err}') }
   24 |
src/product_service.v:20:10: warning: `nonull` attribute is deprecated; non-optional fields are always "NOT NULL", use Option fields where they can be NULL
   18 |
   19 |     sql db {
   20 |         insert product_model into Product
      |                ~~~~~~~~~~~~~
   21 |     } or { insert_error = err.msg() }
   22 |
src/user_services.v:26:10: warning: `nonull` attribute is deprecated; non-optional fields are always "NOT NULL", use Option fields where they can be NULL
   24 |     mut insert_error := ''
   25 |     sql db {
   26 |         insert user_model into User
      |                ~~~~~~~~~~
   27 |     } or { insert_error = err.msg() }
   28 |     if insert_error != '' {
failed thirdparty object build cmd:
c++ -std=c++17 -D_DEFAULT_SOURCE   -fwrapv  -I "C:\Paths\v\thirdparty\sqlite" -L "C:\Paths\v\thirdparty\sqlite" -o "C:\Users\Administrator\.vmodules\.cache\ae\ae3b8e35bf328460220cad449866cb41.module.db.sqlite.o" -c "C:\Paths\v\thirdparty\sqlite\sqlite3.cpp"
builder error: cc1plus.exe: fatal error: C:\Paths\v\thirdparty\sqlite\sqlite3.cpp: No such file or directory
compilation terminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0