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
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?
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).
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.
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?
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.
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?
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.
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?
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).
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:
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?
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.
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?
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?
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?
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.
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.
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?
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
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?
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.
(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?
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?
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?