Closed lucasemmoreira closed 1 year ago
@lucasemmoreira
I get a similar error on an Ubuntu system.
Doing the following seems to take care of the situation here:
sudo apt-get install libglfw3-dev
Is Artix Arch based? If so, may be one of the packages listed here will help.
May be for a while no additional dependencies were necessary and now they are (again?)...
Thanks to @saikyun for documenting the dependency here.
@sogaiu thank you! it worked! (yes, Artix is Arch based)
Since it worked, I think this should be closed. But if I may, I have a question: is this the behavior expected? I thought that because raylib was supposed to be self sufficient (ie, no external dependency)
@lucasemmoreira I don't know if it's expected.
I'm also curious as I do see a similar claim in the features section of the Raylib repository README, but I also see what seems like not-so-consistent information at various points in the wiki.
I removed the libglfw3-dev
package and tried changing project.janet
as follows as an experiment:
diff --git a/project.janet b/project.janet
index cf60476..b5a6c25 100644
--- a/project.janet
+++ b/project.janet
@@ -11,7 +11,7 @@
:macos '["-Iraylib/src" "-ObjC" "-Iraylib/src/external/glfw/include"]
:windows ["-Iraylib/src" "-Iraylib/src/external/glfw/include" ]
#default
- '["-Iraylib/src"]))
+ '["-Iraylib/src" "-Iraylib/src/external/glfw/include"]))
(def lflags
(case o
Now jpm clean && jpm build
succeeds without visible errors.
If that's correct may be project.janet
could use an update.
My current issue is when I try to install:
I checked and the file is there:
I also tried to clone the repository and and install with jpm directly from there as suggested in the README. However I got no luck.
I also tried to install another package (jtbox) to see if it was a jpm issue but this install was successful. That's why I am submitting the issue here.
Not sure if I am doing something wrong... Can anyone give me some direction on where to go from here?
Some versions info: OS: Artix Linux janet: Janet 1.26.0-75179de8 linux/x64 - '(doc)' for help jpm: not sure how to check the version but I tried through the aur install and then I got the latest version from the repository