SimonDanisch/GLPlot.jl

GLFW library

Opened this issue · 8 comments

@SimonDanisch,
yesterday spent some time trying to generate the library file from the .zip file

At the beginning it seemed very easy reading the GLPlot wiki, but the glfw page wasn't very helpful, and probably my lack of experience also played some part on this. Still think that a more detailed explanation in the wiki would have been helpful.

Found very useful the help from,
https://www.youtube.com/watch?v=GHdorvcZRMg, which kind of outlines what to do, but it didn't work in my case.
https://discussions.apple.com/thread/6459606?start=30&tstart=0, also helped, specially the comment by Frank Caggiano on Jul 25, 2014 7:08 AM. It didn't solve the problem first time around, but redoing everything again three library files appeared (one library files and two direct access to it). I saw similar files in my julia library directory (library files and some direct access to them), so the three of them are currently in my julia library directory.

Please comment on the whole process and the need to have a more detailed wiki.

Can you verify, that GLFW simply works, if you have cmake installed and in
the PATH?

2014-12-09 13:44 GMT+01:00 carlosloslas notifications@github.com:

@SimonDanisch https://github.com/SimonDanisch,
yesterday spent some time trying to generate the library file from the
.zip file

At the beginning it seemed very easy reading the GLPlot wiki, but the glfw
page wasn't very helpful, and probably my lack of experience also played
some part on this. Still think that a more detailed explanation in the wiki
would have been helpful.

Found very useful the help from,
https://www.youtube.com/watch?v=GHdorvcZRMg, which kind of outlines what
to do, but it didn't work in my case.
https://discussions.apple.com/thread/6459606?start=30&tstart=0, also
helped, specially the comment by Frank Caggiano on Jul 25, 2014 7:08 AM. It
didn't solve the problem first time around, but redoing everything again
three library files appeared (one library files and two direct access to
it). I saw similar files in my julia library directory (library files and
some direct access to them), so the three of them are currently in my julia
library directory.

Please comment on the whole process and the need to have a more detailed
wiki.


Reply to this email directly or view it on GitHub
#16.

I'm not sure what you mean by that,
I have replicated what i did yesterday,
Following the video, but having everything on the same directory like Frank Caggiano suggested has worked for me.
(the directory i was working was the development/GLFWTest/... that Frank writes about, but i assume the key thing is the fact that Cmake, the zip and the extracted files are in the same directory)
Does this answer your question?

Sorry, I mean does Pkg.add("GLFW"); Pkg.build("GLFW") work for you
without following any extra instructions, if you have cmake installed
correctly?

2014-12-09 14:53 GMT+01:00 carlosloslas notifications@github.com:

I'm not sure what you mean by that,
I have replicated what i did yesterday,
Following the video, but having everything on the same directory like
Frank Caggiano suggested has worked for me.
(the directory i was working was the development/GLFWTest/... that Frank
writes about, but i assume the key thing is the fact that Cmake, the zip
and the extracted files are in the same directory)
Does this answer your question?


Reply to this email directly or view it on GitHub
#16 (comment)
.

That would have been an extremely good thing to try yesterday. From what I read yesterday the wiki suggested that GLFW would install itself together with GLPlot (but since I am spanish I could have misunderstood it). If removing and adding the package with Pkg.add("GLFW"); Pkg.build("GLFW") works I imagine that could be the straight forward option to show in the wiki. But the way I added the library worked as well, and if properly explained won't take too much time.

Yeah sorry there are no good error messages and descriptions. That's why
I'm asking if you can verify, that GLFW simply works on OSX if you have
cmake installed. If so, I can change the wiki and error messages
appropriately.

2014-12-09 15:33 GMT+01:00 carlosloslas notifications@github.com:

That would have been an extremely good thing to try yesterday. From what I
read yesterday the wiki suggested that GLFW would install itself together
with GLPlot (but since I am spanish it might not be the case). If removing
and adding the package with Pkg.add("GLFW"); Pkg.build("GLFW") works I
imagine that could be the straight forward option to show in the wiki. But
the way I added the library worked as well, and if properly explained won't
take too much time.


Reply to this email directly or view it on GitHub
#16 (comment)
.

I don't think I fancy getting rid of GLFW and trying to add it again. It took me some time to make it work. However I can help you write the wiki with both methods? The 'Pkg.add("GLFW"); Pkg.build("GLFW")' first and as an alternative the one I used.

Ah well, never mind then ;)
'Pkg.add("GLFW"); Pkg.build("GLFW")' is what happens if you do Pkg.add("GLPlot") and it should basically do what Frank suggested....

I just wanted to make sure, that the missing cmake was the reason for your problems.