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

Specify build dependencies #1

Open
totchi-lagawi opened this issue Dec 8, 2024 · 6 comments
Open

Specify build dependencies #1

totchi-lagawi opened this issue Dec 8, 2024 · 6 comments

Comments

@totchi-lagawi
Copy link

Sokol depends on local libraries, which are listed below :

System Installation method
Debian/Ubuntu based sudo apt install libxi-dev libxcursor-dev libgl-dev libasound2-dev
Fedora/RH/CentOS sudo dnf install libXcursor-devel libXi-devel libX11-devel libglvnd-devel
NixOS add xorg.libX11.dev xorg.libXcursor.dev xorg.libXi.dev libGL.dev to environment.systemPackages

Not having them cause C compilation errors, and V doesn't say that Sokol depends on those...

@Eliyaan
Copy link
Owner

Eliyaan commented Dec 8, 2024

They do say it on the V readme : https://github.com/vlang/v?tab=readme-ov-file#testing-and-running-the-examples but I guess that's where the list comes from.
When you compile doesn't it say something like: libxcursor... missing ?

@totchi-lagawi
Copy link
Author

No, there's only a message saying that it's a V compiler bug that should be reported, while it's not. It would be great to add it to the README.md, to not confuse beginners trying your project.

@Eliyaan
Copy link
Owner

Eliyaan commented Dec 8, 2024

I'll ask in the V server if they can do something about it. Because it is a problem for all gg projects and it is the main graphics module.

@totchi-lagawi
Copy link
Author

Yeah, if they want to create a beginner-friendly language it's better to have beginner-friendly error messages...
(I'm not criticising V, don't punch me lmao)

@Eliyaan
Copy link
Owner

Eliyaan commented Dec 8, 2024

Yes I agree, I asked. They will see if it is possible
(dont worry, it is nice to find new ways to help begginers and I dont punch anyone)

@totchi-lagawi
Copy link
Author

It was just a joke... Whatever, I hope they'll add the message.

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

2 participants