Debian Programming :: OpenGL Version Verification - Compiler Error
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
ADVERTISEMENT
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
View Related
Sep 27, 2010
Im trying to do a remote execution of scripts through SSH in PHP. What im doing:
-Use PHP in conjunction with nagios' check_by_ssh script to execute the script.
-I used
[code]...
-It gives me a 'Host key verification failed' error even though i enabled it to ssh from my server to server01 without password. My Qn: How do i get it to work?
View 3 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 11, 2010
I am using a arm compiler to build my program but getting following compiler error at the end -
init.c.text+0x2c): undefined reference to '__libc_csu_fini'
init.c.text+0x34): undefined reference to '__libc_csu_init'
View 1 Replies
View Related
May 26, 2010
I am using the C++ compiler G++ to compile my programs on Linux Mint 8 - Gnome.
I recently installed QT and when I tried to compile a simple "Hello World!" program it gave me this error:
Quote:
This is the code in HelloWorldQt.cpp:
Code:
I have tried using GTK instead but I get a similar error.
View 7 Replies
View Related
Mar 5, 2010
As a result, I want to know what this error means, and how to correct it.Here is my code:
Code:
#include <iostream>
#include <cmath>
#include <cstring>
using namespace std;
[code]....
It is once I use the 'try_crack' function inside of main that I get this error.
View 6 Replies
View Related
Mar 20, 2010
I wrote a code for login verification..I got output with GET. But I need output with POST since it is more secure. Any error in my code.
javascript code:
var xml;
function verifyusernamepasswd(pass)
{ //pass is password that will be passed as parameter
xml=new XMLHttpRequest();
var url="http://localhost/loginvalidate.php";
var para="q="+username+"&p="+pass;//username is global
xml.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xml.setRequestHeader("Content-length", para.length);
xml.setRequestHeader("Connection", "close");
xml.open("POST",url,true);
xml.onreadystatechange=statechanged1;
xml.send(para);
} .....
The verification does not return anything, cos my alert is not displayed at all.
View 1 Replies
View Related
Aug 22, 2009
I installed centos 5.3. gcc and g++ versions are 4.1.2 20080704 (Red Hat 4.1.2-44).How to install a second compiler gcc and g++ of version 4.2 or higher so that both versions of gcc and g++ are available?
View 2 Replies
View Related
Apr 17, 2010
seems im getting this error when i update.I searched the forums for similar errors but i found no solution that worked for me. this is the error>>>>>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: [URL]: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch [URL]
W: Some index files failed to download, they have been ignored, or old ones used instead
How do i get the correct key?
View 5 Replies
View Related
Feb 8, 2011
Every time I try to update Ubuntu via the Update manager, I get the following error messages.
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: [URL] stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2019EA84E7532C8
W: Failed to fetch [URL]
W: Some index files failed to download, they have been ignored, or old ones used instead.
I already tried sudo apt-get update:
Code:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: [URL] stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2019EA84E7532C8
W: Failed to fetch [URL]
W: Some index files failed to download, they have been ignored, or old ones used instead.
sudo apt-get upgrade
Code:
Err [URL] opera 11.00.1176
404 Not Found
Failed to fetch [URL] 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
and sudo apt-get upgrade --fix-missing
Code:
Err [URL] opera 11.00.1176
404 Not Found
Failed to fetch [URL] 404 Not Found
I also tried changing my software sources server from United States to Main Server, but it didn't make any difference.
View 4 Replies
View Related
Mar 16, 2011
Recently, after upgrading from FC11 to FC14 I checked my bluray burner (relevant lines from dmesg):
[code]...
got empty output, which means: all files are identical. I can set the post-write verification to "off" but I prefer it "on" when backing up important data. Does this error familiar? how to solve it or, at least, where to look for messages that might have a hint as to what's wrong
View 3 Replies
View Related
Mar 16, 2010
currently i am trying to downgrade my version of g++ compiler in my ubuntu 9.10using synaptic, deselecting current 4.4.1 version and adding desired 4.1.2 version will result in g++ not being recognized in terminal anymore :(also sudo apt-get g++will only get me the latest 4.4.1
View 1 Replies
View Related
Jan 19, 2011
when i was updating my ubuntu 10.04 using update manager i got the error"W.A error occurred during the signature verification.the post is not updated and teh previous index files are used .GPG error: http://deb.playonlinux.com lucid release.
View 2 Replies
View Related
May 19, 2010
I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.
This is a part of the error message when choosing either:
Is there a possibility to link the program to the newer compiler version?
I'm using Centos 5.4.
View 5 Replies
View Related
Dec 9, 2008
I got the below copied error while the openSUSE Updater wanted to make 2 security updates today.
[code]...
What should be the correct URL. My system has taken the URL from the YAST/Software/Add-On-Product/Community Repository and now it looks like it is not valid anylonger.
View 9 Replies
View Related
Feb 7, 2010
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: url karmic Release: The following signatures were invalid: NODATA 1 NODATA 2
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: url karmic-updates Release: The following signatures were invalid: NODATA 1 NODATA 2
W: GPG error: url karmic-backports Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch url...karmic/Release
W: Failed to fetch url/ubuntu/...pdates/Release
W: Failed to fetch url/ubuntu/...6/Packages.bz2 Sub-process /bin/bzip2 returned an error code (2)
code....
W: Some index files failed to download, they have been ignored, or old ones used instead.
View 3 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
Mar 20, 2011
I've had a problem doing updates to Ubuntu 9.10 Karmic for months. I'd like to upgrade, but figure I should solve the update issue first. The output of "apt-get update" is:
[Code]....
View 2 Replies
View Related
Nov 5, 2014
I just bought a recently-released Toshiba CB35-B3340 Chromebook, and I'm trying to install Debian on it (I want to wipe out CrOS and give all harddrive space to Debian). However, I'm having problems booting from USB. When I press Ctrl+U at boot, the screen flashes back, the computer beeps, and I'm brought back to the same "OS Verification is Off" screen. If I press Ctrl+L to get to what is supposed to be the SeaBios screen, the computer beeps twice and nothing else happens.
I followed steps 1-4 and 8 of this guide: [URL] .... and I just downloaded the amd64 netinstall image from the Debian website and dd'd it to the USB stick.
I've tried two different USB sticks and successfully booted another computer from them, but neither work on the Chromebook. I've also tried both USB ports, since I've heard some Chromebooks can only boot from one, but to no avail.
I have looked into things like ChrUbuntu and crouton, but they look like they just set up a dual-boot or chroot system. I want neither of these, my goal being to have a normal Linux laptop at the end.
View 4 Replies
View Related
Jan 24, 2016
I upgraded my server yesterday via apt-get and my Perl scripts are not able to make HTTPS connections due to certificate verification problems.
This seems to be a problem for EVERY HTTPS site.
CURL gives the following error:
Code: Select allSSL certificate problem: unable to get local issuer certificate
I know that this has something to do with root certificate updates, but if I sound ignorant about it, it's because I am.
using CURL with the -k option allows the connection to be made.
I'm running OpenSSl 1.0.1k-3+deb8u2 on Jessie 8.2.
I would obviously prefer to not disable certificate verification on my server.
View 6 Replies
View Related
Dec 22, 2009
I have been trying to install MATLAB 2008b as a standalone version; however, every time when the process runs to 18% it shows an error as follows: "There was an error extracting the archives for MATLAB compiler. Chceck that you have enough disk space and rerun the installer."
I did have checked the disk space which is much more than enough. I have also changed few different disks that are way more than enough as well, about 5GB at least, but this error still popped out when it runs to 18%.
View 9 Replies
View Related
Sep 9, 2010
i tried to install gcc-4.5.0 on opensuse 11.2 I gave ./configure but it gave the error couldn't find the c compiler.. the message was
[Code]....
View 2 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