GLBasic forum

Main forum => GLBasic - en => Topic started by: XaMMaX on 2008-Jan-02

Title: Error
Post by: XaMMaX on 2008-Jan-02
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
Title: Error
Post by: AndyH on 2008-Jan-03
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 :)
Title: Error
Post by: XaMMaX on 2008-Jan-03
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 =(
Title: Error
Post by: Kitty Hello on 2008-Jan-04
Even a hello world?
Code (glbasic) Select
PRINT "HW",0,0
SHOWSCREEN
MOUSEWAIT
Title: Error
Post by: XaMMaX on 2008-Jan-04
Yes. And i was wrong it shows not game for a second, but just "loading...". What can it be?
Title: Error
Post by: XaMMaX on 2008-Jan-04
Here is what i am doing
(http://img170.imageshack.us/img170/5199/83976399bf2.th.jpg) (http://img170.imageshack.us/my.php?image=83976399bf2.jpg)
(http://img171.imageshack.us/img171/4779/49627494uk8.th.jpg) (http://img171.imageshack.us/my.php?image=49627494uk8.jpg)
(http://img260.imageshack.us/img260/2738/24844778fw9.th.jpg) (http://img260.imageshack.us/my.php?image=24844778fw9.jpg)
(http://img260.imageshack.us/img260/4945/27969091zp3.th.jpg) (http://img260.imageshack.us/my.php?image=27969091zp3.jpg)
(http://img260.imageshack.us/img260/7214/90276085lr5.th.jpg) (http://img260.imageshack.us/my.php?image=90276085lr5.jpg)
btw sorry for my english =)
Title: Error
Post by: Kitty Hello on 2008-Jan-04
That's a great tutorial you made here. Everything is correct. But the output is not.
What version?
Title: Error
Post by: XaMMaX on 2008-Jan-04
5.110 laterst i think. GLBasic have logs to see what happening?
Title: Error
Post by: XaMMaX on 2008-Jan-05
_______________________________________
*** 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
Title: Error
Post by: XaMMaX on 2008-Jan-05
Ok , i fix the problem =)  Just reinstall all and select other folders. Thanks for help!