Author Topic: Win8.1Pro64Bit-Can't Save, Build, Or Execute?  (Read 2361 times)

Offline JeZ-l-Lee

  • Single posting newcomer
  • *
  • Posts: 9
Win8.1Pro64Bit-Can't Save, Build, Or Execute?
« on: March 14, 2015, 07:55:26 pm »
Hi,

I just installed a Genuine copy of Windows 8.1 Pro 64Bit and fully updated it.
Then I installed current Code::Blocks v.13.12 and loaded a previous project.
Problem now is I can't save the project & can't build the project & can't execute the project from within Code::Blocks?

When I try to save the project, I get the following error message:
Code
Couldn't save project
C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\TC4-SDL2.cbp
(Maybe the file is write protected?)

When I try to build the project, I get the following error message:
Code
-------------- Clean: Release in TC4-SDL2 (compiler: GNU GCC Compiler)---------------

Cleaned "TC4-SDL2 - Release"

-------------- Build: Release in TC4-SDL2 (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -fomit-frame-pointer -fexpensive-optimizations -Os -Wextra -Wall -O2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2-2.0.3\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_image-2.0.0\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_mixer-2.0.0\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_ttf-2.0.12\i686-w64-mingw32\include\SDL2 -c C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\src\audio.cpp -o obj\Release\src\audio.o
Execution of 'mingw32-g++.exe -fomit-frame-pointer -fexpensive-optimizations -Os -Wextra -Wall -O2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2-2.0.3\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_image-2.0.0\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_mixer-2.0.0\i686-w64-mingw32\include\SDL2 -I..\..\..\..\..\SDL2-Game_Engine\SDL2_ttf-2.0.12\i686-w64-mingw32\include\SDL2 -c C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\src\audio.cpp -o obj\Release\src\audio.o' in 'C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1' failed.

When I try to run the project, I get the following error message:
Code
-------------- Run: Release in TC4-SDL2 (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\TC4-SDL2.exe
Executing: "C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\TC4-SDL2.exe"  (in C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\.)
Execution of '"C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1\TC4-SDL2.exe" ' in 'C:\Users\JeZxLee\Desktop\TC4T-WinLinux-Retail1' failed.

Anyone know why I can't save, build, or execute my project in Code::Blocks v.13.12 on Microsoft Windows 8.1 Pro 64Bit?
Everything else on the desktop seems to be working properly and this is a fresh install of O.S. and Code::Blocks v.13.12.
Any help would be greatly appreciated, thanks...

Jesse



Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Win8.1Pro64Bit-Can't Save, Build, Or Execute?
« Reply #1 on: March 14, 2015, 10:52:19 pm »
It seems that you have no writing rights on this path... maybe you can try to create a project in your home folder (documents)....