Linker Problem [Fixed]

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Dr.Bunshin
Posts: 34
Joined: Sat Mar 31, 2007 8:38 pm

Linker Problem [Fixed]

Post by Dr.Bunshin »

Hello everyone

Alright, I have tried for a couple hours now to get Irrlicht to compile anything. the first time it did not work I just put in the usual.

Code: Select all

int main() { return 0; }
under the usual headers. I am using dev++ for compiler and I get this error:

Code: Select all

[Linker error] undefined reference to `__cpu_features_init' 
As far as I know, it is linked to everything it should have. This may be a preemptive post in that i am downloading the devpak for irrlicht from devpaks.com right now. But if that does not work, Help please?
Last edited by Dr.Bunshin on Sun Apr 01, 2007 5:49 pm, edited 1 time in total.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

This is not a problem of Irrlicht. Maybe you did not use the dev-c++ beta? The "official" but years old versions of dev-c++ do not compile properly.
Marek
Posts: 12
Joined: Sat Mar 31, 2007 7:34 pm

Post by Marek »

FYI, the dev-paks that are available for dev-c++ do have a problem with the Irrlicht.dll, not containing certain symbols, but that only occures when you try running. As for your issue, I am not entirely sure what the cause is, perhaps your installation was corrupted and there was a missing file with that definition in it.. Or you didn't link to the .a or .lib files respectivly..
-- Marc
Chaos Studios: Lead Programmer
Dr.Bunshin
Posts: 34
Joined: Sat Mar 31, 2007 8:38 pm

fixed

Post by Dr.Bunshin »

Hey all

Yes, I have most recent dev++ and I got the devpak and it all works now. ^^ yay! :D
Post Reply