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

V Translate - header files not detected, no wrapper generated #159

Open
SlashScreen opened this issue Nov 3, 2023 · 2 comments
Open

V Translate - header files not detected, no wrapper generated #159

SlashScreen opened this issue Nov 3, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@SlashScreen
Copy link

SlashScreen commented Nov 3, 2023

Describe the bug

I attempted to make a wrapper for the Playdate SDK, but v translate detected no files when passing in a directory, and translated nothing.

Reproduction Steps

In the root of the provided files, run v translate wrapper src/playdate/include.

Expected Behavior

It creates a wrapper around the playdate API.

Current Behavior

It compiles 0 files.

Possible Solution

No response

Additional Information/Context

playdate.zip

V version

0.4.2 11e67a1

Environment details (OS name and version, etc.)

Windows 11

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.

@SlashScreen SlashScreen added the Bug Something isn't working label Nov 3, 2023
@ArtemkaKun ArtemkaKun transferred this issue from vlang/v Nov 3, 2023
@BreathXV
Copy link

BreathXV commented Jun 6, 2024

You need to make a c2v.toml file that contains the header files your C file uses.

@JalonSolov
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants