GLBasic forum

Main forum => GLBasic - en => Topic started by: dmaz on 2010-Feb-03

Title: Fatal Error
Post by: dmaz on 2010-Feb-03
Hello,
I'm a new user and I've just installed GLBasic on my 64 bit vista machine.  I can't seem to get anything to compile... all I get is the following error.  any help is appreciated, thanks.


_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.6.837 SN:93daa4c9 - 3D, NET
Wordcount:3 commands
compiling:

linking:
C:\Program Files (x86)\GLBasic\Compiler\platform\Win32\Bin\ld.exe: crtbegin.o: No such file: No such file or directory
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 1.6 sec. Time: 22:05
Build: 0 succeeded.
*** 1 FAILED ***

Title: Re: Fatal Error
Post by: Schranz0r on 2010-Feb-03
Update to the new version (v 7.250)
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-03
Through "internet update" under the "web" menu?  I've done that.... is there someplace else to go and get the download because that menu command tells me "Your version is up to date"?
Title: Re: Fatal Error
Post by: Schranz0r on 2010-Feb-03
Download this : http://www.glbasic.com/files/glbasic_sdk.exe , and then update.
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-04
that's the same file I originally installed... I'll try it again.
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-04
no difference, same problem...

now when I first installed I did not get the error mentioned for 64bit vista in the faq section, my guess would be that I already had the package installed.  this time though, I did go ahead and install that as well anyway and no difference.

any other ideas?
thanks for the help.
Title: Re: Fatal Error
Post by: MrTAToad on 2010-Feb-04
The only thing I can think of is to check %PATH% and make there is nothing recursive.

The other cause could be the UAC preventing the compiler from accessing the files for some reason.  However, I've had no problems with Vista x64 or Windows 7 x64

Are you compiling for the console?

Title: Re: Fatal Error
Post by: Kitty Hello on 2010-Feb-04
What version does it show now? Are you using a link to an older version? (parallel install?)

Also, do you have mingw installed, maybe?
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-04
yes I do have ming installed... I'm not at home right now so this will have to wait a few hours but I'll take a look at the path when I get home.  hmmm, I do want to keep that installation operational too though... so glbasic uses the env path when looking for it's ming tools?
Title: Re: Fatal Error
Post by: Kitty Hello on 2010-Feb-04
try renaming the c.\mingw to c:\xxmingw and try again. Just to test. Should be no problem, though.
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-05
now it breaks on crt2.o...  I did rename c:\mingw and took it out of the path.  but the version is still V.6.837 but "internet update" is telling me the version is up to date?


_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.6.837 SN:93daa4c9 - 3D, NET
Wordcount:3 commands
compiling:

linking:
C:\Program Files (x86)\GLBasic\Compiler\platform\Win32\Bin\ld.exe: crt2.o: No such file: No such file or directory
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 1.3 sec. Time: 18:36
Build: 0 succeeded.
*** 1 FAILED ***



Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-05
got it!  I also have a user env var "mingw" pointing to the c:\mingw.  removing that allowed the build to succeed. 

what about the precompiler version noted above... is that right or wrong?

anybody have any ideas how to keep both installs operational?

[edit] I'm going to try a custom user env for glbasic using a bat...
Title: Re: Fatal Error
Post by: dmaz on 2010-Feb-05
yep, that works fine... I just created a bat file that removes those env var and alters the path and then starts the glbasic editor.  thanks everybody for your help.  the only thing left is the version?
Title: Re: Fatal Error
Post by: MrTAToad on 2010-Feb-05
The pre-compiler version is : "Precompiler V.6.837"