Giter Site home page Giter Site logo

ofxgl3renderer's People

Contributors

tgfrerer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kalwalt

ofxgl3renderer's Issues

issue in linux64 with x11

hi @tgfrerer i'm testing your code in Ubuntu 12.004 64bit, but i have some issue with x11 libs. glfw3 works good outside OpenFrameworks. with your settings i got this error:

/usr/bin/ld: ../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_clipboard.c.o): undefined reference to symbol 'XConvertSelection'
/usr/bin/ld: note: 'XConvertSelection' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libX11.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libX11.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [bin/testGL3] Errore 1

if i add to the linker the path suggested i solve that error but got others similar. Changed to the path suggested,

USER_LDFLAGS = -L/usr/lib/x86_64-linux-gnu/libX11.so -L/usr/lib/x86_64-linux-gnu/libXi.so -L/usr/lib/x86_64-linux-gnu/libXrandr.so -lrt -lm ../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a

i reach at the end this error:

../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_gamma.c.o): In function _glfwInitGammaRamp': x11_gamma.c:(.text+0x49): undefined reference toXRRGetScreenResources'
x11_gamma.c:(.text+0x6a): undefined reference to XRRGetCrtcGammaSize' x11_gamma.c:(.text+0x81): undefined reference toXRRFreeScreenResources'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_gamma.c.o): In function _glfwPlatformGetGammaRamp': x11_gamma.c:(.text+0xd6): undefined reference toXRRGetCrtcGammaSize'
x11_gamma.c:(.text+0x113): undefined reference to XRRGetCrtcGamma' x11_gamma.c:(.text+0x192): undefined reference toXRRFreeGamma'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_gamma.c.o): In function _glfwPlatformSetGammaRamp': x11_gamma.c:(.text+0x26f): undefined reference toXRRGetCrtcGammaSize'
x11_gamma.c:(.text+0x299): undefined reference to XRRAllocGamma' x11_gamma.c:(.text+0x32d): undefined reference toXRRSetCrtcGamma'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_init.c.o): In function initDisplay': x11_init.c:(.text+0x1a80): undefined reference toXRRQueryExtension'
x11_init.c:(.text+0x1aaa): undefined reference to XRRQueryVersion' x11_init.c:(.text+0x1b3e): undefined reference toXIQueryVersion'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function _glfwSetVideoMode': x11_monitor.c:(.text+0x44): undefined reference toXRRGetScreenResources'
x11_monitor.c:(.text+0x69): undefined reference to XRRGetCrtcInfo' x11_monitor.c:(.text+0xda): undefined reference toXRRGetOutputInfo'
x11_monitor.c:(.text+0x13a): undefined reference to XRRFreeOutputInfo' x11_monitor.c:(.text+0x26c): undefined reference toXRRSetCrtcConfig'
x11_monitor.c:(.text+0x278): undefined reference to XRRFreeCrtcInfo' x11_monitor.c:(.text+0x284): undefined reference toXRRFreeScreenResources'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function _glfwRestoreVideoMode': x11_monitor.c:(.text+0x2bf): undefined reference toXRRGetScreenResources'
x11_monitor.c:(.text+0x2e4): undefined reference to XRRGetCrtcInfo' x11_monitor.c:(.text+0x359): undefined reference toXRRSetCrtcConfig'
x11_monitor.c:(.text+0x365): undefined reference to XRRFreeCrtcInfo' x11_monitor.c:(.text+0x371): undefined reference toXRRFreeScreenResources'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function _glfwPlatformGetMonitors': x11_monitor.c:(.text+0x3ba): undefined reference toXRRGetScreenResources'
x11_monitor.c:(.text+0x3d7): undefined reference to XRRGetOutputPrimary' x11_monitor.c:(.text+0x408): undefined reference toXRRFreeScreenResources'
x11_monitor.c:(.text+0x460): undefined reference to XRRGetCrtcInfo' x11_monitor.c:(.text+0x4ce): undefined reference toXRRGetOutputInfo'
x11_monitor.c:(.text+0x4eb): undefined reference to XRRFreeOutputInfo' x11_monitor.c:(.text+0x4f7): undefined reference toXRRFreeCrtcInfo'
x11_monitor.c:(.text+0x584): undefined reference to XRRFreeOutputInfo' x11_monitor.c:(.text+0x590): undefined reference toXRRFreeCrtcInfo'
x11_monitor.c:(.text+0x5bf): undefined reference to XRRFreeScreenResources' ../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function_glfwPlatformGetMonitorPos':
x11_monitor.c:(.text+0x710): undefined reference to XRRGetScreenResources' x11_monitor.c:(.text+0x735): undefined reference toXRRGetCrtcInfo'
x11_monitor.c:(.text+0x76d): undefined reference to XRRFreeCrtcInfo' x11_monitor.c:(.text+0x779): undefined reference toXRRFreeScreenResources'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function _glfwPlatformGetVideoModes': x11_monitor.c:(.text+0x81b): undefined reference toXRRGetScreenResources'
x11_monitor.c:(.text+0x840): undefined reference to XRRGetOutputInfo' x11_monitor.c:(.text+0xa09): undefined reference toXRRFreeOutputInfo'
x11_monitor.c:(.text+0xa15): undefined reference to XRRFreeScreenResources' ../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_monitor.c.o): In function_glfwPlatformGetVideoMode':
x11_monitor.c:(.text+0xad9): undefined reference to XRRGetScreenResources' x11_monitor.c:(.text+0xafe): undefined reference toXRRGetCrtcInfo'
x11_monitor.c:(.text+0xb2d): undefined reference to XRRFreeCrtcInfo' x11_monitor.c:(.text+0xb39): undefined reference toXRRFreeScreenResources'
../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_window.c.o): In function createWindow': x11_window.c:(.text+0x484): undefined reference toXISelectEvents'
x11_window.c:(.text+0x4c6): undefined reference to XRRSelectInput' ../../../addons/ofxGL3Renderer/libs/glfw/lib/linux64/libglfw3.a(x11_window.c.o): In functionprocessEvent':
x11_window.c:(.text+0x155b): undefined reference to `XRRUpdateConfiguration'
collect2: ld returned 1 exit status
make: *** [bin/testGL3] Errore 1

Have you had this issue before? which linux Os are you using?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.