Comments (10)
Indeed it should. I added a dependency on the xi
package. Thank you!
from glfw.
did you commit you changes?
after pulling I still see linking error for the following libs
Xxf86vm Xrandr Xi
when using
pkg-config...
from glfw.
from glfw.
sorry markdown is broken if you reply by mail... see next comment
from glfw.
it doesn't seem to be working...here is what I did...
~/development/glfw $ git pull Already up-to-date. ~/development/glfw $ make clean ~/development/glfw $ cmake . -DGLFW_USE_EGL=true -DGLFW_CLIENT_LIBRARY=glesv2 -- NOTE: Examples and tests require OpenGL -- Using X11 for window creation -- Using EGL for context creation -- Configuring done -- Generating done -- Build files have been written to: /home/chris/development/glfw ~/development/glfw $ make [ 5%] Building C object src/CMakeFiles/glfw.dir/clipboard.c.o [ 94%] Building C object src/CMakeFiles/glfw.dir/egl_context.c.o Linking C static library libglfw3.a [ 94%] Built target glfw [100%] Generating HTML documentation warning: ignoring unsupported tag `AUTOLINK_SUPPORT =' at line 260, file Doxyfile warning: ignoring unsupported tag `EXTRA_SEARCH_MAPPINGS =' at line 1287, file Doxyfile [100%] Built target docs ~/development/glfw $ sudo make install [sudo] password for chris: [ 94%] Built target glfw [100%] Generating HTML documentation warning: ignoring unsupported tag `AUTOLINK_SUPPORT =' at line 260, file Doxyfile warning: ignoring unsupported tag `EXTRA_SEARCH_MAPPINGS =' at line 1287, file Doxyfile [100%] Built target docs Install the project... -- Install configuration: "" -- Installing: /usr/local/include/GL -- Up-to-date: /usr/local/include/GL/glfw3.h -- Up-to-date: /usr/local/include/GL/glfw3native.h -- Up-to-date: /usr/local/lib/cmake/glfw/glfwConfig.cmake -- Up-to-date: /usr/local/lib/cmake/glfw/glfwConfigVersion.cmake -- Up-to-date: /usr/local/lib/cmake/glfw/glfwTargets.cmake -- Installing: /usr/local/lib/cmake/glfw/glfwTargets-noconfig.cmake -- Up-to-date: /usr/local/lib/pkgconfig/glfw3.pc -- Installing: /usr/local/lib/libglfw3.a ~/development/glfw $ pkg-config glfw3 --libs -L/usr/local/lib -lglfw3
from glfw.
ah I see the problem, requires.private means you only get the libs when
compiling statically, would be nice to have the dependencies when compiling
shared too...
On 22 May 2013 00:14, Chris Camacho [email protected] wrote:
it doesn't seem to be working...here is what I did...
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ git pull
Already up-to-date.
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ make clean
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ cmake .
-DGLFW_USE_EGL=true -DGLFW_CLIENT_LIBRARY=glesv2
-- NOTE: Examples and tests require OpenGL
-- Using X11 for window creation
-- Using EGL for context creation
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chris/development/glfw
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ make
[ 5%] Building C object src/CMakeFiles/glfw.dir/clipboard.c.o
[ 94%] Building C object src/CMakeFiles/glfw.dir/egl_context.c.o
Linking C static library libglfw3.a
[ 94%] Built target glfw
[100%] Generating HTML documentation
warning: ignoring unsupported tagAUTOLINK_SUPPORT =' at line 260, file Doxyfile <snip> warning: ignoring unsupported tag
EXTRA_SEARCH_MAPPINGS =' at line 1287,
file Doxyfile
[100%] Built target docs
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ sudo make install
[sudo] password for chris:
[ 94%] Built target glfw
[100%] Generating HTML documentation
warning: ignoring unsupported tagAUTOLINK_SUPPORT =' at line 260, file Doxyfile <snip> warning: ignoring unsupported tag
EXTRA_SEARCH_MAPPINGS =' at line 1287,
file Doxyfile
[100%] Built target docs
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/include/GL
-- Up-to-date: /usr/local/include/GL/glfw3.h
-- Up-to-date: /usr/local/include/GL/glfw3native.h
-- Up-to-date: /usr/local/lib/cmake/glfw/glfwConfig.cmake
-- Up-to-date: /usr/local/lib/cmake/glfw/glfwConfigVersion.cmake
-- Up-to-date: /usr/local/lib/cmake/glfw/glfwTargets.cmake
-- Installing: /usr/local/lib/cmake/glfw/glfwTargets-noconfig.cmake
-- Up-to-date: /usr/local/lib/pkgconfig/glfw3.pc
-- Installing: /usr/local/lib/libglfw3.a
chris@chris-LIFEBOOK-AH532 ~/development/glfw $ pkg-config glfw3 --libs
*-L/usr/local/lib -lglfw3 *On 22 May 2013 00:04, Camilla Berglund [email protected] wrote:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-18247466
.Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:
- I am by definition, "the intended recipient"
- All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please.
- I may take the contents as representing the views of your company.
- This overrides any disclaimer or statement of confidentiality that may be included on your message.
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:
- I am by definition, "the intended recipient"
- All information in the email is mine to do with as I see fit and
make such financial profit, political mileage, or good joke as it
lends itself to. In particular, I may quote it where I please. - I may take the contents as representing the views of your company.
- This overrides any disclaimer or statement of confidentiality
that may be included on your message.
from glfw.
You don't need to link against libXi when using GLFW as a shared library, unless you're calling XInput directly. That's why it's in the private section.
from glfw.
It complains about not being able to link xranr Xi etc that I'm not
directly using (but glfw is) ...
On 22 May 2013 12:35, "Camilla Berglund" [email protected] wrote:
You don't need to link against libXi when using GLFW as a shared library,
unless you're calling XInput directly. That's why it's in the private
section.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-18272608
.
from glfw.
You're linking only against the GLFW shared library?
from glfw.
Yes but being as glfw's shared dependencies are different on different
platforms I was looking to pkg-config to provide a platform independent
method of specifying the correct libs needed for glfw on that platform
rather than needing a makefile with conditional clauses
On 22 May 2013 12:52, "Camilla Berglund" [email protected] wrote:
You're linking only against the GLFW shared library?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-18273239
.
from glfw.
Related Issues (20)
- Raise a window? HOT 1
- Getting the mouse position in screen coordinates? Why not framebuffer coordinates instead? HOT 2
- Compression of pending same-type events? HOT 1
- Support for _GLFW_X11 on MacOS with XQuartz HOT 2
- Viewport Position after Resize HOT 4
- glfwSetKeyCallback Documentation Appears to be Incorrect HOT 1
- Segfault on thread destruction with Wayland but not X11. HOT 7
- Input Not Getting Picked up HOT 4
- Compilation issues manylinux HOT 3
- Remove support for the original MinGW distribution
- Update the minimum CMake version to 3.16
- Question: Potential issue with error mutex? HOT 1
- Can't link glfw application on mac HOT 9
- Likely memory leaks HOT 1
- allow creation on remote (X11) displays
- glfwWindowHint(GLFW_DOUBLEBUFFER, GL_FALSE); on Ubuntu22.04.4's libnvidia-egl-wayland1
- Documentation doesn't fully specify the expected GLFWreallocatefun behavior
- compile error version 3.4
- wctype.h file not found | required in glfw/src/win32_platform.h
- VkWin32SurfaceCreateInfoKHR not found nor is the function prototype PFN_vkCreateWin32SurfaceKHR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glfw.