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

win11 build error #123

Open
abccyz opened this issue Jul 6, 2021 · 2 comments
Open

win11 build error #123

abccyz opened this issue Jul 6, 2021 · 2 comments

Comments

@abccyz
Copy link

abccyz commented Jul 6, 2021

v -gc boehm -d use_freetype . builder error: 'gc.h' not found

image

@SurmanPP
Copy link

SurmanPP commented Aug 3, 2021

You need to install the headers for libgc. If you are using wsl you can install the libgc-dev package. But you can also compile it without whitout garbage collector(the -gc boehm flag). That can change the memory usage.

@chaseSpace
Copy link

PS D:\develop\v\ved> v setup-freetype
Setup freetype...
Thirdparty "freetype" is already installed.
PS D:\develop\v\ved> v -gc boehm -d use_freetype .
builder error: 'gc.h' not found
PS D:\develop\v\ved> v  -d use_freetype .
==================
C:/Users/ADMINI~1/AppData/Local/Temp/v_0/ved.5642773299282415512.tmp.c:22625: warning: assignment discards qualifiers from pointer target type
tcc: error: library 'freetype' not found
...
==================
(Use `v -cg` to print the entire error message)

builder error:
==================
C error. This should never happen.

This is a compiler bug, please report it using `v bug file.v`.

https://github.com/vlang/v/issues/new/choose

You can also use #help on Discord: https://discord.gg/vlang

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

No branches or pull requests

3 participants