Debian Programming :: Cannot Get OpenGL Version
Feb 28, 2014
Running under Debian oldstable:
#include<stdio.h>
#include<stdlib.h>
#include <GL/glew.h>
#include <GL/glext.h>
#include <GL/glut.h>
void init(){
const GLubyte* version = glGetString(GL_VERSION); // line 2338
printf("version = %s
", version);
...
The gcc compiler gives me:
code.c: In function ‘init’:
code.c:2338: error: stray ‘342’ in program
code.c:2338: error: stray ‘200’ in program
code.c:2338: error: stray ‘213’ in program
code.c:2338: error: stray ‘342’ in program
code.c:2338: error: stray ‘200’ in program
code.c:2338: error: stray ‘213’ in program
Do I need an additional header?
View 4 Replies
ADVERTISEMENT
Feb 5, 2015
I have moved from MS directX to OpenGL on Linux Debian. My computer is running Jessie version with Gimp. I am trying to use several of the gl 4.0 functions but getting compiler error. I check for OpenGL version and appears to be version 1.5 .... How can I verify the correct openGL version and how can I upgrade to a moder version of at least 4.0?
View 4 Replies
View Related
Jun 4, 2011
I have the HD4850 and, I wanted to know if it is possible to use the CLI to see which version of OpenGL is the latest version I can use according to my driver. If it's not possible via the CLI then, what's the next best way? (I can't find a website for the radeon driver listing the latest OpenGL support per supported card).
View 6 Replies
View Related
Jun 22, 2011
The system has driver for intel, but the opengl version is 2.1. How to update opengl version to 4.1. (intel 945). For ATI just download driver version 11.5 and install it. All is OK.
View 1 Replies
View Related
Aug 27, 2010
I am interested in learning 3D programming. The thing is, I would hate to put too much effort to learn something that doesn't have future and is dying. My favorite language at the time is Java. My goal is professional programming.
So I have several questions:
1. Should I learn JOGL or start learning C++ and do C++ openGL programming?
2. Is there a big difference between JOGL and C++ openGL programming?
3. Is it worth to learn openGL? Does it have a future?
4. Is it a big difference between openGL and directX coding?
5. If choosing Java, then JOGL or LWJGL?
Why and what is the main difference between them?
View 4 Replies
View Related
Oct 19, 2009
I just upgraded from FC8 (32-bit) to FC11 (64-bit). In doing so, I backed up my entire World of Warcraft folder so I could try to avoid having to download and install it all over again. However, I've now reinstalled wine (64-bit now), and the nvidia drivers from the rpmfusion repos (also 64-bit), and when I try to start WoW, it says it cannot load OpenGL. I'm wondering if anyone knows what's up, and if there's a solution that doesn't involve reinstalling WoW.
View 7 Replies
View Related
May 30, 2010
I am writing a program that needs to display graphs. Right now I am using Cairo which works well except it is really slow. Drawing 1200 lines locks up my computer (i7 CPU and gtx285 graphics card). I only found examples to use Cairo with GTK DrawingArea can I use OpenGL instead or is there a way to cairo to run faster?
View 1 Replies
View Related
Jul 25, 2011
I'm looking for some sample C++ code that uses OpenGL on XCode 4.1 for OSX Lion. All I have found so far are GLUT and/or Objective-C samples. Has anyone come across something similar to what I'm after? I really just need something simple that allows me to open a window, or start in fullscreen.
View 1 Replies
View Related
Dec 6, 2008
I am starting to learn Linux graphical programming. Most of codes in my hands were written based on xlib, which is a kind of old graphic lib. I see some developers more interested in openGL. Then what's the difference between xlib and openGL? And which one is more popular used in which industry area?
View 2 Replies
View Related
Sep 1, 2010
I want to start progrmming in opengl. I am using Ubuntu. do I need just to install a GLUT package.if yes how to do it
View 5 Replies
View Related
Oct 8, 2014
Suppose I have the library code in library.cpp. I found that to include the version information in the .so library, I had to use these command forms:
Code: Select allg++ -Wall -fPIC -c library.cpp
g++ -shared -Wl,-soname,library.so.0 -o liblibrary.so.0.1
The howto then continued to recommend creating symbolic links pointing at the newly compiled library. [URL] ....
The result is, during the booting sequence, I am receiving this error:
Code: Select alllibsystemd-login.so.1: no version information available (required by /usr/bin/dbus-daemon).
The library is the one I am working on.
View 5 Replies
View Related
Feb 11, 2011
I have made a game for Linux and want to release it soon (on linux & windows). Since its SDL/OpenGL and I dont do any special things it shouldn't be much porting to windows. Problem: Maintaining I have the game in code::blocks SDL project on Linux. So I got wine and installed wined Code::Blocks with MingW so I can cross compile on Linux. For another game I made, I used a Makefile which has "if" statements to set up compile variables. And everything else is totally identical to windows & linux (code, source files and etc...)
With codeblocks I got used to not having to worry about makefiles and it did well and I better focused on making the game rather than everytime a new file is added editing the makefile and etc... Is there some nice ways to have a cross platform environment to make it easy to make games for Linux and windows. I'm thinking of making my own system of auto-generating a makefile (essentially upgrading the setup I have for my previous game to auto add entry's to the makefile & some other stuff).
View 2 Replies
View Related
Mar 15, 2010
I have verified using yum that I have the most uptodate glut, freeglut, freeglut-devel etc., yet when I compile Example 2-6 from the Red Book at http://www.glprogramming.com/red/chapter02.html#name16, I get a window that is too small for the program output, includes display from other windows, and will not redraw after being resized.
I get slightly better behavior with the SGI sample program mentioned in the same book, 'checkers.c'. Again, the initial size is too small, but at least it will resize and redraw the checkerboards entirely inside the resized window. What is going on here? Is this some bug in glut? I can't see anything obviously wrong in their glut initialization, which looks like:
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize (350, 150);
[code]...
Then again, since I am such a newbie to glut, I am not sure I would recognize what, if anything, they did wrong. what ARE the valid and useful command line parameters I could have passed to the main() above?
View 12 Replies
View Related
Jan 4, 2016
I have a tightvnc server running on my computer and have my IPAD using a vnc client to connect to it. Everything works fine except for apps that require openGL (eg: minetest,steam). I was wondering how I could use said apps over vnc.
View 11 Replies
View Related
Jul 10, 2009
I've made a linux app that I'm porting to win32 winth MinGW and MSYS. It's a ticker app that reads then renders a text file to a pixmap (a tall single-line image), then it kind of scrolls the pixmap by drawing a part of it to a drawing_area, using gdk_draw_drawable() within a timeout handler set by g_timeout_add().
The problem is it works fine on linux (the scrolling is really smooth and that's the goal) but the win version is choppy and uses at least 90% of cpu resources (vs 15% with linux) like there is a big performance problem. And I'm not even sure that double buffering is set. Is it related to some mingw config or drawing_area stuff or gtk for win?
View 5 Replies
View Related
Aug 31, 2015
I have Intel HD Graphics video card on my laptop using OpenGL 3.0 with Mesa 10.3.2, but I need OpenGL 3.3.
Can I upgrade/enable OpenGL >=3.3 on Mesa for my GPU for Debian 8.1 Jessie? How can I do that?
Output of glxinfo | grep OpenGL:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
[Code] .....
View 2 Replies
View Related
Aug 29, 2014
I am enjoying spontaneous reboots. Here is my config:
Code: Select allroot@notosh:/home/ckosloff# inxi -bmxxx
System: Host: notosh Kernel: 3.16-0.towo-siduction-amd64 x86_64 (64 bit gcc: 4.9.1)
Desktop: KDE 4.14.0 (Qt 4.8.6) info: plasma-desktop dm: kdm
Distro: Debian GNU/Linux jessie/sid
Machine: System: TOSHIBA product: Satellite C75D-B v: PSCLEU-003002 serial: 6E028973U
Mobo: TOSHIBA model: Portable PC v: MP serial: 1 Bios: Insyde v: 1.10 date: 04/30/2014
[Code] ....
I am now using OpenGL 3.1 and Native, any changes I should make there?
View 13 Replies
View Related
Jul 28, 2015
I have some serious input lag (using gamepad through USB) when using mednafen together with opengl. I am using a ATI HD3000, (built in to motherboard) and debian jessie together with FOSS drivers. If I use overlay instead, the input lag is acceptable, but not as good as it could be. I've tried all the things in the [URL]... mednafen documentation[/url] like turning off vsync, filters and whatnot but it doesn't really make any difference. There is also something about turning off "flip queue size" and Triple buffering but I have not found any way to change these settings for the FOSS driver.
I can use the overlay, but I would prefer to lower the input lag even further and use the opengl driver. I understand that there will always be *some* input lag on a HDTV but why is opengl so slow for me?
View 0 Replies
View Related
Feb 13, 2011
After finally figuring out how exactly how to compile something from source, I did it with Wine. However, there's a problem, when I'm trying to play a game on Steam (Half-Life) on a TNT2 graphics card (With NVIDIA drivers 71.86 installed as well as all of the packages needed to compile Wine from source), everything either lags or has an error.
One of these errors is that OpenGL32 isn't being initialized after attempting to start the game in that mode. Another error (or I should say problem) is that in Direct3D mode, it just.. crashes lol. Also, in Software mode, it LAGS horribly and I don't think it has to do with the hardware limitations I have on this machine. I did however install the glx and gl drivers AFTER I compiled Wine, do I have to do yet another install?
Debian Lenny 5.0.8
667MHz Celeron Coppermine
NVIDIA TNT2 32mb VRAM card
View 3 Replies
View Related
Jul 11, 2010
I'm running Debian Lenny with GNOME on a ThinkPad T43. Some OpenGL apps like the game Trigger run great, while others like Stellarium crash my system beyond recovery. I get a black screen, I can see the mouse cursor and move it at a very slow speed, but nothing else. I can't switch to a different terminal or restart X with ctrl-alt-bksp.
I assume that the problematic apps do not like the laptop's integrated graphics chip? Is there a way to know ahead of time what apps might be troublesome, before actually running them? I hate hard resets.
View 6 Replies
View Related
Dec 19, 2010
When using the very nice opengl screensavers, rss-glx, etc. the screensavers are very choppy.I tried modifying my xorg.conf but still no go.Anyway to get the rss-glx screensavers to run at normal speed?I read online that Intel disable the hardware acceleration.This is a work laptop but I just wanted to see if I could get it going.
View 11 Replies
View Related
Apr 1, 2014
I'm using Debian Jessie. All the firmware packages are properly installed, and so are the radeon free driver packages.
However, Gallium falls back to llvmpipe, which from what I understand is a software rasterizer and not actually hardware rendering.
Everything works fine except some specific things like KDE's cube animation, which says it can't be enabled because it requires OpenGL.
How do I get Debian to run Gallium properly?
I attached some relevant info...
glxinfo | grep -i opengl
View 14 Replies
View Related
Feb 25, 2011
I installed debian squeeze on an old computer that I found. (Pentium 4 3.2GHz HT) I installed from the i386 version, but now the uname command shows that its an i686. I don't find many packages that I need using apt-get. Do I need to compile each package I need from source or use dpkg to install the deb of an i386 version?
Can I use the i386 version on this computer rather than the i686 version? Will it cause a signifncant performance decreaes? (I use this computer to mostly do some reading and writing and file storage, no gaming etc.) How do I force the installer to use the i386 version?
[Code]...
View 3 Replies
View Related
Mar 8, 2011
Sometimes a kernel image seems to have the same version as the backported kernel image, for example:
linux-image-2.6.32-bpo.5-amd64
linux-image-2.6.32-5-amd64
What are the differences between the two?
View 5 Replies
View Related
Oct 21, 2010
How do the version numbers compare? Are they identical? I have Iceweasel 3.5.13, does that mean I essentially have Firefox 3.5.13?
View 11 Replies
View Related
Nov 7, 2010
is there a way / instruction I can use to find the version / build of uclibc a board is running. I can't seem to find it anywhere.
View 2 Replies
View Related
May 26, 2010
I've just install debian squeeze version, or the testing one, but I am not really happy with it. Is not listening me all the time. If I install the debian stable I don't have internet connection. Is it possible to update the kernel somehow using the testing version?
View 12 Replies
View Related
Dec 4, 2010
I am currently following the instructions from the Linux From Scratch book and have made it to the downloading of the patches.There are links to all of the needed patches but when you click them, instead of downloading a file like I expected, it takes you to an html page displaying (I'm guessing) some sort of programming or scripting language. Link to the page with the all the patch download links. From there instead of downloading the file it displays its contents.
- www
- (period)linuxfromscratch
- (period)org
- /lfs/view/stable/chapter03/patches
- (period)html
(had to break it up because the forum won't allow me to post links yet ) My question is: What do I need to do with this text? Do I copy and paste it into a text file? Are there certain extensions that I need to append to the text files?
View 3 Replies
View Related
Mar 2, 2010
when compiling a c++ program in g++ on Linux, how can I add version information to that executable and if possible is there a Linux utility to read the version information?
View 2 Replies
View Related
Jul 28, 2010
I'm currently installing GTK+ under Fedora Core 13. Before you install GTK+ you have to install GLIB, Pango and ATK. When installing ATK it goes wrong. After giving the "./configure" I get following error:
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.25.8, but GLIB (2.24.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system
[Code]...
Apparently there is an old version of GLIB on my system bugging my installation process. Does anybody know how to get rid of this old version?
View 2 Replies
View Related