Author Topic: Code::Blocks compiles and runs files that exist only on my desktop  (Read 628 times)

Offline emes93

  • Single posting newcomer
  • *
  • Posts: 2
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

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 2025
Re: Code::Blocks compiles and runs files that exist only on my desktop
« Reply #1 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: [Select]
ls -l

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7264
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Code::Blocks compiles and runs files that exist only on my desktop
« Reply #2 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.

Offline emes93

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code::Blocks compiles and runs files that exist only on my desktop
« Reply #3 on: January 20, 2018, 03:12:31 am »
I have changed distro now,i didn't find a solution.