Compiler Problem?

BlitzMax Forums/BlitzMax Beginners Area/Compiler Problem?

Hotshot2005(Posted 2009) [#1]
Building breakout
Compiling:breakout.bmx
flat assembler version 1.67.36 (1496033 kilobytes memory)
4 passes, 36324 bytes.
Linking:breakout.debug.exe
C:/Program Files/BlitzMax/bin/ld.exe: cannot open output file C:/Program Files/BlitzMax/samples/breakout/breakout.debug.exe: Permission denied
Build Error: Failed to link C:/Program Files/BlitzMax/samples/breakout/breakout.debug.exe
Process complete


Why is this?


degac(Posted 2009) [#2]
CTRL+ALT+DEL and check if another breakout.debug.exe is running in background


Hotshot2005(Posted 2009) [#3]
I have try that but nothing in the background as vista force me to close the BlitzMax!


klepto2(Posted 2009) [#4]
UAC disabled? if not disable UAC or install BMax in another folder and not in Program Files eg: C:\blitzmax .


Hotshot2005(Posted 2009) [#5]
Building _shooter_main
Compiling:_shooter_main.bmx
flat assembler version 1.67.36 (1472753 kilobytes memory)
4 passes, 81724 bytes.
Linking:_shooter_main.debug.exe
C:/BlitzMax/bin/ld.exe: cannot find C:/BlitzMax/mod/pub.mod/luascript.mod/luascript.debug.win32.x86.a
Build Error: Failed to link C:/BlitzMax/samples/shooter/_shooter_main.debug.exe
Process complete

what is UAC ?


Perturbatio(Posted 2009) [#6]
UAC
http://www.windowsvistauserguide.com/how_to_disable_uac_in_windows_vista.htm


xlsior(Posted 2009) [#7]
What is UAC ?


User Access Control. It's the mechanism in Vista that enforces that programs don't do anything they're not supposed to, which includes adding .exe's in the program files folder after a program has already been installed.

(Good for system security in general, except if you havea compiler installed that's actively creating .exe's. Like stated above, either disable UAC, install Blitzmax in a different folder, or change the permissions of the blitzmax install folder to allow the creation of .exe's.


ImaginaryHuman(Posted 2009) [#8]
Yeah or else run MaxIDE as an administrator program - right click it, go to properties, change it to run as admin.


Dreamora(Posted 2009) [#9]
also ensure that DEP is either not set to agressive or that your app is set to be an exclusion