Skip to content

v examples sqlite #17888

@soldate

Description

@soldate

Describe the bug

Hi,

i made
v install sqlite
and that was installed in c:\Users\my_user.vmodules
so, when i run
v run sqlite.v (in C:\v\examples\database)
terminal shows "C:\v\thirdparty\sqlite\sqlite3.c' not found"

So, to works i had to copy sqlite folder
from c:\Users\my_user.vmodules\ to c:\v\thirdparty\

By the way, im really impressive with this language.. Great job!
Please, keep this principles in this exactly order

  1. Simple, maintainable software and 2) fast
    The rest (safe, etc) is less important than these two main principles.
    Built in features (ORM and others) is a great thing.
    We need people talking the same (v) language, 1 way to do 1 thing, not a thousand ways to do one thing.

i work with old software and it is a nightmare. Each 6 months people has some "new great idea/tecnology" that 6 months latter
no ones care about. And that shit software needs to be manteinable for who?! me!

Im testing yet, but i think V is what im looking for.


PS C:\v\examples\database> v run .\sqlite.v
failed thirdparty object build cmd:
"C:\v\thirdparty\tcc\tcc.exe" -std=c99 -D_DEFAULT_SOURCE -I "C:\v\thirdparty\sqlite" -L "C:\v\thirdparty\sqlite" -o "C:\Users\solda.vmodules\cache\6c\6c7d35352bee06cef0aaa93e59c6d027.module.db.sqlite.o" -c "C:\v\thirdparty\sqlite\sqlite3.c"
builder error: tcc: error: file 'C:\v\thirdparty\sqlite\sqlite3.c' not found

Expected Behavior

i think should look for modules at c:\Users\my_user.vmodules not at C:\v\thirdparty\

Current Behavior

current v dont search modules of examples in c:\Users\my_user.vmodules

Reproduction Steps

i said all before

Possible Solution

No response

Additional Information/Context

No response

V version

V 0.3.3 467a1b4

Environment details (OS name and version, etc.)

windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis tag is applied to issues which reports bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions