User forums > Using Code::Blocks
Problems with .exe
brainspoon:
The file does not accept the execute attribute.
(The warning is in german)
[andreas@rendersklave Release]$ ./wxTest.exe
bash: ./wxTest.exe: Keine Berechtigung
[andreas@rendersklave Release]# chmod +x wxTest.exe
[andreas@rendersklave Release]# ls -l
insgesamt 184
-rw-rw-rw- 1 andreas root 859 4. Mai 02:50 stdwx.o
-rw-rw-rw- 1 andreas root 90348 4. Mai 02:50 wxTest.exe
-rw-rw-rw- 1 andreas root 96140 4. Mai 02:50 wxTest.o
David Perfors:
Could you try chmod with numbers? (chmod 755 wxTest.exe) perhaps that wil work
brainspoon:
That made no difference.
Are there project settings that I am missing?
Maybe someone might give me a standard wxGtk Code::Blocks project and workspace that I can see if I am making something wrong
Profic:
what filesystem do you use? seems some sort of fat/ntfs, if so just use real POSIX fs such as ext2(3), reiserfs, xfs, jfs
mandrav:
I agree with Profic. It probably is a FAT32 filesystem which is mounted with the noexec flag. Remove this flag and remount the filesystem...
Yiannis.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version