Error

Previous topic - Next topic

XaMMaX

I can't run\comp. anything. Get this error:

Code (glbasic) Select
linking:
/mingw/lib/crt2.o:crt1.c:(.text+0x167): undefined reference to `__cpu_features_init'
*** FATAL ERROR - Please post this output in the forum
Sry for my english

AndyH

I had this error and in my case it was because I had MinGW installed.  If you have this installed too, just rename it (eg: MinGW.renamed) and hopefully will do the trick for you too :)

XaMMaX

Ok that help, thanks, but here is another problem. Then i run any program(in samples for example) game shows for a second and disappears.
If i compile it and run exe it has same effect =(
Sry for my english

Kitty Hello

Even a hello world?
Code (glbasic) Select
PRINT "HW",0,0
SHOWSCREEN
MOUSEWAIT

XaMMaX

Yes. And i was wrong it shows not game for a second, but just "loading...". What can it be?
Sry for my english

XaMMaX

Here is what i am doing





btw sorry for my english =)
Sry for my english

Kitty Hello

That's a great tutorial you made here. Everything is correct. But the output is not.
What version?

XaMMaX

5.110 laterst i think. GLBasic have logs to see what happening?
Sry for my english

XaMMaX

_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2007.348 - 2D, WIN32
Hello_World.gbas (failed to open)
Wordcount:0 commands

compiling:

linking:
success
_______________________________________
*** Finished ***
Time: 5.6 sec
Build: 1 succeeded
Sry for my english

XaMMaX

Ok , i fix the problem =)  Just reinstall all and select other folders. Thanks for help!
Sry for my english