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

glfw git clone is borked (Permission denied) #18

Closed
Tcll opened this issue May 27, 2015 · 12 comments
Closed

glfw git clone is borked (Permission denied) #18

Tcll opened this issue May 27, 2015 · 12 comments

Comments

@Tcll
Copy link

Tcll commented May 27, 2015

root@tcll-AY589AAR-ABA-a4317c:~# git clone git@github.com:glfw/glfw.git
Cloning into 'glfw'...
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

why not simply:

sudo apt-get install glslViewer
@patriciogonzalezvivo
Copy link
Owner

I think you are confuse between glfw and glslViewer

@Tcll
Copy link
Author

Tcll commented May 27, 2015

no, I suggested apt-get because it would auto-install everything needed with no issues.

it's better than having to build.

@Tcll
Copy link
Author

Tcll commented May 27, 2015

also, please don't close an issue until it is resolved, your installation instructions still provides a broken git clone:

git clone git@github.com:glfw/glfw.git

@patriciogonzalezvivo
Copy link
Owner

try with https://github.com/glfw/glfw.git

@patriciogonzalezvivo
Copy link
Owner

adding glslViewer to repository manager will not solve the fact that you need to compile glfw libraries

@Tcll
Copy link
Author

Tcll commented May 27, 2015

ok, the URL you provided works, however:

root@tcll-AY589AAR-ABA-a4317c:~# cd glfw
root@tcll-AY589AAR-ABA-a4317c:~/glfw# make
make: *** No targets specified and no makefile found.  Stop.

adding glslViewer to repository manager will not solve the fact that you need to compile glfw libraries

maybe, maybe not... other applications seem to install all requirements automatically.

obtw, +1 for using GLFW over SDL ;)

@patriciogonzalezvivo
Copy link
Owner

Please read and follow the GLFW install tutorial link ( http://www.glfw.org/docs/latest/compile.html#compile_deps_x11 ). You need to have cmake and other things first. Because this is not glslViewer specific I will close this issue

@Tcll
Copy link
Author

Tcll commented May 27, 2015

... you're basically asking me to become a developer to install a simple application...

why don't you distribute a pre-built DEB package installer or add the automated build system to the repository, that way you prevent issues such as this.

@Tcll
Copy link
Author

Tcll commented May 27, 2015

so I've done what you said and the source still fails to build:

g++ -o glslViewer -Wl,--whole-archive include/tinyobjloader/tiny_obj_loader.cc src/app.o src/main.o src/utils.o src/3d/camera.o src/3d/node.o src/gl/shader.o src/gl/texture.o src/gl/vbo.o src/gl/vertexLayout.o src/types/mesh.o src/types/polarPoint.o src/types/polyline.o src/types/rectangle.o src/types/shapes.o src/ui/cursor.o -L/usr/local/lib -lglfw3 -lGLU -lGL -lXrandr -lXi -lXxf86vm -lXcursor -lXinerama -lXrender -lX11 -lXext -lXdamage -lXfixes   -lpthread  -Wl,--no-whole-archive -rdynamic
/usr/bin/ld: /usr/local/lib/libglfw3.a(glx_context.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

the full console output is too long to simply copy, so this is just the error.

might I suggest just building x86 binaries (since those run on everything) and distribute a DEB or MSI/EXE.
(I don't believe you really need to worry about x86/x64 when it comes to GLSL)

@patriciogonzalezvivo
Copy link
Owner

GLFW is not installed or compiled correctly (the error is on /usr/local/lib/libglfw3.a) . You should ask this questions in GLFW forum.

While you are there ask them to make a .deb of GLFW.

Please use the issue page of this repository for questions regarding glslViewer

@Tcll
Copy link
Author

Tcll commented May 27, 2015

While you are there ask them to make a .deb of GLFW.

I've had GLFW installed already, and working, I just didn't have the src headers and apparently glfw library required for glslViewer.

import pyglfw.pyglfw as GLFW # requires a working glfw library

Please use the issue page of this repository for questions regarding glslViewer

I'm asking for a .deb of glslViewer

@Tcll
Copy link
Author

Tcll commented May 27, 2015

While you are there ask them to make a .deb of GLFW.

are you asking me to request this for you??

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