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)
- [feature / suggestion] glfwSetMonitorCallback triggering on arrange displays change
- GLFW 3.3.x MacOS Crashes with Ogre3D 14 and CEF Off Screen Renderer HOT 1
- How to get 1:1 ratio of window size to frame buffer size? HOT 2
- `glfwGetWindowContentScale` can't detect the display scale factor change at runtime.
- [suggestion] glfwGetWindowRect & glfwGetMonitorRect to get position and dimensions at once HOT 1
- Keyboard Non-US Slash Bar key inconsistent across platforms HOT 1
- Issues with gamepad support HOT 1
- Error when mouse is over window corner on macOS HOT 3
- Cannot link release binaries with Xcode 13 and earlier HOT 6
- Memory corruption on joystick disconnect during iconify (FALSE ALARM, my bad) HOT 1
- X11 re-implementation HOT 1
- Crash on Wayland when switching to a virtual console HOT 2
- Resizing Wayland windows is either laggy or causes GNOME Shell to crash on AMD HOT 3
- Mouse scrolling events are sent twice on GNOME HOT 1
- Building GLFW 3.4 fails on manylinux2014 and manylinux2010
- Recommended way to use glfw with vukan hpp module? HOT 4
- About Win32 default icons(关于win32默认图标) HOT 1
- glfw 3.4 linux build doesn't run doxygen in builddir/docs/html when a builddir is set. HOT 1
- Avoid multiple static functions with the same name
- Program crashes with exit code -1073741819 (0xC0000005) HOT 16
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.