473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

kevelop

Hi
While trying to compile a C++ prog with OpenGL/SDL I get
errors about not found/declared glfunctions.
Thanks
Michael

Jul 22 '05 #1
2 1077
Michael Sgier wrote:
Hi
While trying to compile a C++ prog with OpenGL/SDL I get
errors about not found/declared glfunctions.
Thanks
Michael


You will probably be better served by directing questions about KDevelop to
the KDevelop forum or mailing list. Your problem, however, doesn't seem
like a KDevelop problem. It is probably a problem with your environment.
Either the development rpms (I assume you are using Linux) are not
installed, or you do not have the correct LIBRARY_PATH, or
-I<path/to/openGL>. The one place KDevelop may be involved is that it will
allow you to set the arguments passed to the linker. But is doesn't always
work correctly!

Project->Options->Configure Options->Linker Flags (LDFLAGS):

try putting -lGL in there. I did a `locate libGL' and found these on my SuSE
9.1 OS. You should have something similar.
/usr/i486-linux-libc5/lib/libGL.so
/usr/i486-linux-libc5/lib/libGLU.so
/usr/lib/fglrx/lib/libGL.so.1
/usr/lib/fglrx/lib/libGL.so.1.2
/usr/lib/GL/libGL.so.1
/usr/lib/GL/libGL.so.1.2
/usr/lib/libGL.a
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/lib/libGLcore.so.1
/usr/lib/libGLU.a
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3
/usr/X11R6/lib/libGLw.a
/usr/X11R6/lib/libGLw.so.1
/usr/X11R6/lib/libGLw.so.1.0
/usr/X11R6/lib/modules/extensions/libGLcore.a

Also try `pin mesa'.

This newsgroup is really for questions about the C++ language, and not about
using KDevelop, or OpenGL. You would likely get more help by posting to a
linux development mailing list or newsgroup.

Good luck!

--
STH
Hatton's Law: "There is only One inviolable Law"
KDevelop: http://www.kdevelop.org SuSE: http://www.suse.com
Mozilla: http://www.mozilla.org
Jul 22 '05 #2
On Sat, 14 Aug 2004 23:26:13 +0200, Michael Sgier <sg***@dplanet.ch>
wrote in comp.lang.c++:
Hi
While trying to compile a C++ prog with OpenGL/SDL I get
errors about not found/declared glfunctions.
Thanks
Michael


You need to ask in a group that supports OpenGL/DSL. You have
compiler specific and third party issues. Neither of these are C++
language issues.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sonoman | last post by:
Hi all: I just installed suse linux on my laptop and I would like to use a visual C++ compiler (if available), which ones do you recomend?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.