Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Unable to compile with Irrlicht
Unable to compile with Irrlicht [message #9529] Mon, 14 May 2007 19:23
juenvalj is currently offline  juenvalj
Messages: 2
Registered: February 2007
Junior Member
Hi,

I'm not sure where to put this message so I put it here.

The problem is that when I try to compile hello world example from here http://irrlicht.sourceforge.net/tut_devcpp.html
I get this error message:

----- RallyGame ( MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 )
Linking...
(option '-O 2' ignored)
___main: duplicate
-> used:      libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
1 undefined symbol(s):
__imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc (referenced from c:\upp\out\
	rallygame\mingw.debug_full.main\helloworld.o:1; _main; __static_initialization_and_destruction_0(int, int); __static_initialization_an
	d_destruction_0(int, int); ...)
linking aborted due to fatal errors
collect2: ld returned 1 exit status

There were errors. (0:02.38)


I added E:\irrlicht-1.3\include to include and E:\irrlicht-1.3\lib\Win32-gcc to lib, there already is mingw\lib and \include.

Is the solution to use libgcc.a instead of libmingw32.a and how to accomplish this?
Previous Topic: Experimental support for the upcoming ISO C++ standard in GCC 4.3.0
Next Topic: Constructor with parameter
Goto Forum:
  


Current Time: Tue Mar 19 03:16:51 CET 2024

Total time taken to generate the page: 0.00705 seconds