473,769 Members | 6,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiling OpenGL code with MinGW

Hi im trying to compile some code im developing that uses opengl and
glut on mingw(using eclipse as the IDE) but im having linker errors
like:

g++ -o(OUTPUT).exe (.o files here) -lopengl32 -lglu32 -lglaux -lglut32
Warning: resolving __imp__glEnable by linking to __imp__glEnable @4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving __imp__glBlendF unc by linking to
__imp__glBlendF unc@8

.... undefined reference to `_imp__glAlphaF unc'
.... undefined reference to `_imp__glAlphaF unc'
.... undefined reference to `_imp__glGenTex tures'
.... undefined reference to `_imp__glBindTe xture'
.... undefined reference to `_imp__glTexPar ameteri'
.... undefined reference to `_imp__glTexPar ameteri'
.... undefined reference to `_imp__glTexPar ameteri'
.... undefined reference to `_imp__glTexPar ameteri'
.... undefined reference to `_imp__glTexEnv f'
.... undefined reference to `_imp__glTexIma ge2D'
.... undefined reference to `_imp__glBindTe xture'

I ommited the filename and the lines where the functions are being
used the important is the error itself.
As you can see I'm linking with openl32 etc so what am I missing?
Nov 2 '08 #1
1 4361
On Nov 3, 4:56*am, LoneWolf <lonewo...@gmai l.comwrote:
On 3 Nov, 12:04, Zeppe <ze...@remove.a ll.this.long.co mment.yahoo.it>
Sorry for being offtopic but I didn't found a better group to ask.
If you can advise me another more ontopic ill appreciate it.
gnu.g++.help
Nov 3 '08 #2

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

Similar topics

0
4931
by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are the occurrences of FilterType that may be relevant: ------- C:\sketch\sketch-0.7.12\Filter\filterobj.c: 949: PyTypeObject FilterType = {
1
1528
by: sid | last post by:
Can someone give me some pointers on compiling IO under Mingw? Basically what packages i would require other than the mingw base package. And any changes that may be required within the setup scripts. It would be great if someone could point me to the necessary resources. Thanks
1
2535
by: A. B., Khalid | last post by:
Hello all. After a search on Google it would seem that the users of Mingw have not had good results in compiling the python sources natively. See at least: http://uucode.com/texts/python-mingw/python-mingw.html Having said that, kindly allow me to report that Mingw32 can
0
1706
by: A. B., Khalid | last post by:
Hello all. After the effort of getting most of Python 2.3.4 Final compiled in MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, and get the patch and read more about it here: http://jove.prohosting.com/iwave/ipython/pyMinGW.html), allow me to report that it is now also possible to compile and build most of python24a3 in MinGW as well.
4
2502
by: John Smith | last post by:
Which command do I have to use to compile cgicc on Windows using MinGW?
8
2298
by: rays | last post by:
Hi, I am trying to port a C++ program which is supposed to be standards compliant. It works fine on Linux with GCC (4.x). But as I try to compile it on Windows, all hell breaks loose. I have been struggling with several free (as beer) compilers on windows, but none of them does the job. I am not sure how much of the blame goes to our code and how much to the compilers. By the way the platform is Windows XP and all the softwares mentioned...
1
2154
by: boriq | last post by:
Hi, I'm trying to compile sip 4.6 on windows vista. I have Python 2.5 installed in c:\Python25. I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c: \MinGW. I have environment variable PATH set to c:\Qt\4.3.0\bin;c:\MinGW\bin And here is what I did: C:\sip-4.6>configure.py -p win32-g++ This is SIP 4.6 for Python 2.5 on win32.
81
11771
by: =?utf-8?B?4piG4piG4piG4piG4piGIFPDvCBLZWl0aCBDaGFr | last post by:
Installed this compiler on Vista; a simple "hello world" after compiled and run would pop-up a window "source file not compiled" I've seen this question asked a few times on Internet groups and noone seems to have figure it out. What is going on?
2
3598
by: eliben | last post by:
On Jun 27, 3:10 pm, eliben <eli...@gmail.comwrote: Problem solved: http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9863
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.