Programming :: Getting Error In CodeBlocks / Solution For This?
Mar 16, 2011
I just installed codeblocks 8.02.
And I want to run some data structure program.
When I click run it gives me error as
Code:
sh: /home/sujit/Documents/2nd Sem/ds: Permission Denied.
Press ENTER to continue.
What should be done?
View 2 Replies
ADVERTISEMENT
Jan 9, 2011
I want to install CodeBlocks 10.05 using the Codeblocks Debian binary package from [URL], which requires upgrading to a newer version of wxwidgets than Ubuntu provides. So I followed the instructions at wxpython.org adding their gpg key and adding their repositories to my sources.list. But when I ask Synaptic to Mark All Upgrades, it warns:
Quote:
You are about to install software that can't be authenticated! etc., etc...
In Settings/Repositories/Authentication Robin Dunn's (the xwPython creator) key is listed, and if I simply run sudo apt-get -s upgrade in a terminal, apt doesn't complain at all. It gives:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
[Code].....
View 1 Replies
View Related
Dec 2, 2009
I am using ubuntu ultimate edition 2.4(karmic). I installed codeblocks a few weeks ago.It was working fine.But today i installed updates and now it doesnt run.When i click it to start then it says starting codeblocks for sometimes and then nothing happens.I tried to open it from terminal and i found this message
/usr/share/themes/Cylon Eye '72/gtk-2.0/gtkrc:79: Unable to locate image file in pixmap_path: "Others/focus.png"
/usr/share/themes/Cylon Eye '72/gtk-2.0/gtkrc:82: Background image options specified without filename
codeblocks: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8.2 not defined in file libwx_baseu-2.8.so.0 with link time reference
View 2 Replies
View Related
Jan 29, 2010
I installed Codeblocks and build some programs, but I have two questions:1. Where are my header files placed, since I don't know where codeblocks is installed. Soemetimes I have to remove header file extension (.h) to be able to compile some source. I use gcc as setting for codeblocks to compile and build programs.2. Plugins for Codeblocks can be installed, but when browse codeblocks's wiki I can't find download links neither developer pages
View 3 Replies
View Related
Dec 30, 2010
I partitioned my drive to dual boot with XP, and I also added in a fat32 partition so both Windows and Linux can read/write to there to share files. I now have a problem with permissions (I know that fat32/vfat does not support permissions.) I can as my normal user read/write to this partition, but I want to set-up a CodeBlocks project on there and this is where I run into my permissions error.I can create it and the .cbp file is there ect. but I can not save any work, it will complain ('could not write', or sometimes with 'maybe this drive is write protected'.) I have something like
UUID=1234-1A23 /repo vfat defaults,umask=000 0 0
in my /etc/fstab
View 5 Replies
View Related
Jul 27, 2010
Rather than get in hot (or even slightly-above-comfortable temperature) water for reviving a closed (ca. 2007) thread without moderator permission or acquaintance of the OP personally or by proxy, I'll post this alternate solution (approach?) along with one positive real-world example illustrating how mine is easier to write and is equally reliable, if not altogether better. The thread is here. Their solution:
Code:
if [ "$myfilesize" eq "0" ];then echo "$file: the file size is zero"; else echo "$file: the file size is NOT zero"; fi (and this hangs on the output of a stat -c %s command). "Hangs" is probably a most appropriate word. The two outputs, using two different stat options, the same file, and three marginally-different command-line syntaxes I just tried gave me these: First, using their approach, I got this:
Code:
tjsfa070929-094.jpg.error: the file size is NOT zero
Even though stat gave me this
Code:
>> stat -c %s $file
[Code]...
From where I sit, getting the file type string instead of an integer, which can be equally (if not often more) accurate, makes for an easier time of setting the conditional and, maybe only in terms of a few ticks, a faster script from start to finish. I think my method is better, and proven so to the limits of my knowledge and ability here in this OP.
View 1 Replies
View Related
May 20, 2010
I want to migrate my Debian server to CenOS. The Debian server has the following partition layout code...
When I try to map Logical Volume 'home' to '/home' en choose the 'Leave unchanged (preserve data)' option I get the following error:
The current requested size ( 947904.00 MB) is larger than maximum logical volume size ( 262144.00 MB).
To increase this limit you can create more Physical Volumes from unpartitioned disk space and add them to this Volume Group.
View 4 Replies
View Related
Jan 2, 2010
I currently have two hard drives. One of them is a dedicated Windows 7 x64 500gb drive. The other, is a 152gb drive that I plan to install Fedora in. When I booted from the live CD, I chose the option to use the entire 152gb disk and to boot from the 152gb disk. I'm not sure if I did something wrong there, but now, GRUB won't detect Windows 7 or Fedora 12.
I would also like to leave the Windows 7 hdd untouched.
I previously had a non-working OpenSUSE installation on the 152gb drive
View 5 Replies
View Related
Nov 20, 2008
When I am in run level 5, I attempt to delete some 'trash' that has accumulated in the 'Trash' icon on my Desktop/.
When I right click the icon and select the 'empty trash' option, I get a permissions error so I just press the 'cancel' option however the contents of the 'Trash' have been purged anyways. It is working basically but I don't understand why I am getting a permissions error.
[cwilliams@tunafish ~]$ id cwilliams
uid=500(cwilliams) gid=500(it) groups=500(it),100(users)
View 6 Replies
View Related
Mar 25, 2010
is it possible to run two different projects at the same time from codeblocks?
View 9 Replies
View Related
Mar 2, 2011
Looking for an open source solution to convert pdf file to excel document.
View 1 Replies
View Related
Dec 15, 2009
I am unable to install CentOS V5.4 on my work station.
After collecting the config info (root password, etc.) the installation immediately gets disk write errors while doing PVCREATE.
I'm installing from the DVD to the 136GB SCSI drive. The drive is known to be good and is writable as a Windows
volume.
The scsi drive is the only drive selected for installation.
I've selected to delete all partitions on the volume and install default configuration however the new partition is not created. code...
View 6 Replies
View Related
Jan 6, 2016
I am running Debian jessie 64-bit with GNOME 3.14.1. I would like to install the CODE::BLOCKS IDE, described here: [URL] ..... I follow the tutorial for Debian, but having added
Code: Select alldeb [arch=amd64,i386] https://apt.jenslody.de/stable jessie main
deb-src https://apt.jenslody.de/stable jessie main
to Code: Select all/etc/apt/sources.list, I then run "sudo apt-get update". This gives me the error
Code: Select allE: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
Is it safe to go ahead and install apt-transport-https? I really don't want to ruin my Debian-installation...
View 5 Replies
View Related
Jun 18, 2010
After I downloaded the source for lua, I followed the install instructions, doing...
make linux install
make generic install
I've also done the make test and it passes, printing out Hello World, from Lua 5.1. However, I can't link to the lua libraries in CodeBlocks. I know where lualib.a is (usr/local/lib) which I set in my Search Directories for the linker. I still get error messages like...
undefined reference to lua_isstring
P.S. I had this running on Windows via Visual Studio.
View 1 Replies
View Related
Feb 22, 2011
I am using ubuntu 10.10. when I am using Codeblocks IDE it says that, permission :access is denied. When I try to run e .cpp code it occures. I think permission is denied on my HDD. How to make all of my HDD permitted when in Ubuntu....
View 4 Replies
View Related
Dec 31, 2009
I can not get many things to work as I have no way to access root priveledges in Fedora 10. I tried before to install fedora 11, then 12 and hit roadblocks. The problem was both went through long installation times and then simply said not enough space in boot file. I then tried to remove images as it said and could not boot at all as I received an error saying something like file missing and it returned me to the boot screen. I then reloaded fedora 10, went through the over 700 ! security upgrades and set it all up. My problem is several things I try to set up I need root priveledges to setup. I can not save files in codeblocks IDE nor can I get Eric IDE to function either, also the same with a neat looking game sauerbraten.
I am happy with Fedora 10, everything works on the hardware side, my cdma sprint net connection works flawlessly, even my wirless works most times. I can not get to root at all, when I try to use the sudo ed it asks me for a password for ed then returns ed is not in sudoers file this incident will be reported. I tried sudo root and it asks me for root password and I give it correctly three times and then it says 3 incorrect attempts and exits. I can not get into sudoers file to edit as I have no permissions. I set up another user and group with id 101 (lowest I could use) and included all the groups in root - halt, shutdown, root etc and when I switched users and tried to access root as Edward no permissions again. I then tried sudo Edward and it asked for my password again, I used the proper one and still got the message Edward is not in sudoers file this incident will be reported. Also it seems to me I should be able to get into root through the switch users, I tried typing in root then the correct root password and that just returns to the prompt again. I know the root password is correct as I use it access the Aunthentication app and the users and groups app and it allows me access to these as root?.
View 3 Replies
View Related
Dec 4, 2009
I download the xxxx.tar.bz2 file
extracted it,
when i run ./configure under the directory i get the following error code...
i even followed the link http://wiki.winehq.org/WineOn64bit
also http://forum.winehq.org/viewtopic.php?p=28622&sid=17383eb0b922b2c230238f9ab50b265a. and several googling.
i think the architect of the OS and the wine is not matching.
So guide me to solve the above problem.
the output i get on "uname -i"
x86_64
View 3 Replies
View Related
Jun 17, 2011
I'm trying to get the solution for this equation using a linux one-liner (maybe with awk?)(1/2)*[ln(1+x) - ln(1-x)]ln is the "natural logarithm" (sometimes also written as "log e")
x is a value (e.g. 0.75) stored in a text file. I know that the answer when x = 0.75 must be 0.972955075 (IF excel is correct).For those interested: this formula is Fisher's r to z transformation. If someone has a one-liner for arctanh(x) (which is the inverse hyperbolic function of x) that would also work.I've searched Google with keywords and I've searched the awk manual but can't find it
View 14 Replies
View Related
Nov 11, 2010
We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??
View 2 Replies
View Related
Apr 12, 2011
how to rectify these errors..
RCC: Error in 'appchooser.qrc': Cannot find file 'accessories-dictionary.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'akregator.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'digikam.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'k3b.png'
RCC: Warning: No resources in 'appchooser.qrc'.
and my .qrc file is like this
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>accessories-dictionary.png</file>
<file>akregator.png</file>
<file>digikam.png</file>
code....
View 3 Replies
View Related
Jun 14, 2011
Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with
<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>
View 1 Replies
View Related
Dec 29, 2010
i have Ubuntu10.10 (kernel-2.6.35-22-generic) installed. struct stat StatBuff;
[Code]...
I have mounted a windows share folder on /mnt. When i gave any directory within /mnt/ to stat function it fails with errorno 75. perror shows "Value too large for defined data type". Example 1 is fail but Example 2 works fine.
View 7 Replies
View Related
Jun 16, 2010
I have installed it++ on suse11.2 I have downloaded an example project and everytime i try to "make"..error "/bin/sh: line 1: .dependencies: Permission denied" comes up.I have tried to run as root but this hangs on "checking dependencies" and gives no action.
View 2 Replies
View Related
Jul 23, 2011
I am a newbie in unix shell script programming . After I have tried to execute this code , I found the problem said that "syntax error near unexpected token done" . I don't know that where is the mistake in my code . Could anyone help me out this problem ?, PS* : I executed it in Redhat Enterprise Linux 4 and this is my code :
#!/bin/ksh
# Purge Script
# Input:
# 1. path (absolute path)
# 2. filename (does not apply to empty folder name)
# 3. retention policy (in day)
[Code]...
View 6 Replies
View Related
Aug 30, 2010
I have fedora 13. Is there online based automatic backup solution that satisfy these requirements.Any file that I modify or create new in /home is automatically backup online and also encrypted on regular intervals such as 5 times a day. The backup system only uploads what was changed and not the whole file again. Any other folders that I specify are backed up in the same way as /home. /home also contains disk images of virtual operating systems. When I startup those VM and create or edit some files within VM, these should also become part of the online backup. Since these disk images are typically 20 GB in size so the online backup simply cannot upload the whole disk image over the wire on a regular basis.
View 3 Replies
View Related
Apr 8, 2010
I have had problems with Skype and on Mandriva 2008 spring and I think the best solution is to use a different distro.
View 12 Replies
View Related
Jul 12, 2009
Ive installed X Window System and GNOME Desktop Environment on my server. I am running CentOS 5.3 btw. Ive installed and tried running it but i get error no display specified. GRRRR. I cant seem to find the file where i can specify a display. Im trying to setup a gui so i access my server via vnc cause im kinda a linux noob.
View 1 Replies
View Related
Jun 15, 2009
Just installed fedora 11 and found that I need to unrar some stuff, then I realised I did not have the unrar util so I typed in as root
"yum install unrar"
and I got package not found. Is there a better util to do this now or is there just no support for unrar util anymore
View 4 Replies
View Related
Feb 14, 2011
I recently installed Fedora 14. Yesterday, the update tool found 367 packages to update.
Before the update, Firefox worked fine.
After the update, firefox fails on startup with a series of python errors, apparently ultimately due to the error:
ImportError: /usr/lib64/python2.7/lib-dynload/selectmodule.so: undefined symbol: _Py_ZeroStruct
Any solutions to this short of reinstalling everything?
View 4 Replies
View Related
Jul 25, 2011
Can anybody please suggest a backup-image solution for Fedora 14?I made some tests with Clonezilla: it works fine but, please correct if I am wrong, it requires booting from a Clonezilla CD and cannot be used to take an image backup while the computer is running.
View 4 Replies
View Related