Library not found on compilation #21638
Labels
Bug
This tag is applied to issues which reports bugs.
Compiler: TCC
Bugs/feature requests, that are related to compiling V programs with TCC.
Modules: db
Bugs/feature requests, that are related to the `db.*` modules.
OS: Windows
Bugs/feature requests, that are specific to Windows OS.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Describe the bug
Encountering a
TCC
error that "Library 'm' not found". There is many warnings before the error appears which may be leading to it.My project has two files currently,
database.v
which handles interactions with the database andmain.v
which holds the endpoints and handles the requests/responses. I have attached the database code below and the repository is linked below too to see the full project.I was having previous troubles getting it to compile but I was given support in the V Discord server which removed that error (could not find C compiler) and since I have gotten able to run using TCC, I am now encountering this problem.
https://github.com/BreathXV/ReforgerWhitelistAPI/tree/v
Reproduction Steps
Expected Behavior
For the server to initiate and starting listening for requests.
Current Behavior
Possible Solution
N/A
Additional Information/Context
Previous error and fix shown below:
V version
V 0.4.6 cc92dbc
Environment details (OS name and version, etc.)
V full version: V 0.4.6 8c24936.cc92dbc
OS: windows, Microsoft Windows 11 Home v22631 64-bit
Processor: 16 cpus, 64bit, little endian,
getwd: D:\repos\ReforgerWhitelistAPI
vexe: D:\v\v.exe
vexe mtime: 2024-06-03 19:41:18
vroot: OK, value: D:\v
VMODULES: OK, value: C:\Users\kiera.vmodules
VTMP: OK, value: C:\Users\kiera\AppData\Local\Temp\v_0
Git version: git version 2.45.1.windows.1
Git vroot status: weekly.2024.22-34-gcc92dbc8
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command,
operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b425ac82
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: