Code::Blocks Forums

User forums => Help => Topic started by: emes93 on December 24, 2017, 10:03:19 pm

Title: Code::Blocks compiles and runs files that exist only on my desktop
Post by: emes93 on December 24, 2017, 10:03:19 pm
Simply,if a file is saved on my desktop,it compiles and runs it successfully with the gnu gcc compiler.
If it is saved inside a folder on the desktop,or anywhere else,it fails to build and prints " It seems that this file has not been built yet.
Do you want to build it now?".

I'm using Code::Blocks 16.01 and my distro is parrot security os 3.10
Title: Re: Code::Blocks compiles and runs files that exist only on my desktop
Post by: BlueHazzard on December 25, 2017, 12:00:43 pm
Quote
I'm using Code::Blocks 16.01 and my distro is parrot security os 3.10

This sounds like some heavy duty security thing. Are you sure you have write permission in the folder you create? Are you sure codeblocks/the compiler (not the same!!!) has write permission in this folder? Are you sure applications are allowed to create runnable files? Are you sure not some kind of anti virus, anti spam blocks any write process of a compiler?

To start with create a folder and look at the permissions with
Code
ls -l
Title: Re: Code::Blocks compiles and runs files that exist only on my desktop
Post by: Jenna on December 25, 2017, 05:24:46 pm
I just installed Parrot in vm and don't see any issues, when creating projects below the Desktop-folder.
Title: Re: Code::Blocks compiles and runs files that exist only on my desktop
Post by: emes93 on January 20, 2018, 03:12:31 am
I have changed distro now,i didn't find a solution.