Ubuntu :: Code: Blocks Error When Try To Run Program
Nov 30, 2010
I installed Code:Blocks (8.02 from ubuntu software center) and try to run sample program (at first I tried some program related to OpenCV and configure the project for it).
The Build went OK but I cant Run the program. So I tried the simplest progrma of hello World and still I get the same error even on a clean new project.
The Error: "error while loading shared libraries: cv.so can not open shared object file : No such file or directory"
i have installed ubuntu 10.10 marverick, and on it i have installed code: blocks 10.05 and i want to run a program using opencv 2.1.0 in code: blocks.. when i build the program it builds properly without any warning but when i run it it does not show any output....
so I just installed code blocks after clear installing ubuntu 64 everything went fine but when I try to compile and run my .cpp files code::blocks wont do anything I dont get any messages on the build log so I dont understand whats happening I tried looking on the forums and checking other pages such as the one bellow but no luck at all. [URL]
I'd been using Code::Block IDE for quite a while, but now it won't open. When I try to run it, it says in the panel "Starting Code::Blocks IDE", but no window opens and it disappears from the panel a few seconds later. I've tried reinstalling a few times with no luck.
I just downloaded code::blocks for my c++ class, and I'm not very familiar with the program. I was trying to open a new project, but when it asks me to select a template there are none available. Is there some update or plugin I need to download?
I installed code blocks from .deb files, icon of CB was created but when I click on it to start it, it shows only logo of CB and end, please wehe is error?
I have created an application that has a executable program that loads in a shared object
the shared object loads in another shared object
both of these shared object I have created
For debugging I have been printf'in data to determine what is going on
I now have some odd memory issue, and need a bit more control over debugging...
I have one workspace set up and under my exectuable(will call maintest from now on) I have two items in my link libraries under project build options being soA and soB (so A is the shared object that maintest uses, soB is the SO that soA uses) I also have linker options pthread and ldl
At the beginning of my maintest I do my dlsym and load in each function that I will be using
I always run my program using maintest, because when I have one of the SO as the startup project(turns bold) and try to run it gives me "You must select a host application to run a library"
I tried to set up this host library, i Go to Menu->Project->SetProgramArguments and change the Host Application to the debug version of my maintest
I then hit OK and try to run again but I get the same error: "You must select a host application to run a library"
If I get this part working - which I need help doing, is tehre other steps that need to be taken to debug the so's? or will this make it so when i hit f8 it will run.
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is : Quote: undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem: Quote: gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is :
Quote:
undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem:
Quote:
gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
I'm new to fedora and I'm looking for a program that blocks ips from iplists is there anyone like that for fedora 15? and if it's not in yum how do i install it?
If I have a hard-disk with Ubuntu fully installed on it and I want to - all of a sudden - use Windows XP, is it mandatory that I firstly format the hard-disk first? So far, I have used two versions of Windows XP; one of them is from a few years before the other. Both copies of Windows XP when in start-up from booting from CD are causing errors. One of them is a BSOD error (0x0000007B) and the next Windows CD is stopping and giving me an error with setupdd.sys (error code 4). Is it required that the hard-disk is formatted before you even put a Windows boot CD in?
I am wonder if somebody could take the time to teach me to install or compile a program from source.I have downloaded ZSNES from sourceforge but cannot figure out how to install it from the command prompt or using the package manager.
I'm a noob in Ubuntu. I need the program which will help me to learn different ubuntu commands. I often forget them and after reinstall I don't want to search them in Google. Now I write them in the standard text editor and my code looks like this:
I've read the threads here and on other forums and searched the web but haven't found a program to fit my desires.
I want to take some existing C source code that is both undocumented and uncommented (definitely not mine)and convert it into a flowchart or other format that is more easily understood.
I've run across many programs of this type for winblows but I don't want that OS on my system regardless of price!
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
So, I usually write/find a test case generator for any code that I write. This type of code generally leads to some file output. To be thorough, I try and generate many different files to test my code on.
Say the command is like this:
Is there a way to automate this for many different values of the parameters and generate many different files?
I tried:
I wasn't able to use the $i in the filename, and without it the command gave me no errors, but did nothing else either. I know the Unix command line is very powerful, and I have a feeling that this should be possible, but I just don't know how to do it.
I had Ubuntu for awhile, now I installed Fedora12, I'm trying to follow directions to install a program from source code (tar.gz file) I have the February 2010 issue of Linux Format, and am trying to follow it step by step. I copied gnurobbo off their disk to my desk top, which copied it. Then I did the cd command, then I did the ls command and it didn't show me anything but a line saying desktop and a few other things like pictures movies etc. so I did cd gnurobbo-0.64 and it says no such file. I have been trying this for a few times and I think I'm going crazy.
I'm trying to sync a folder between my Windows install and my PCLinux install. Same machine, Windows 7 on the C drive and Linux on an external USB hard drive.
Using the Grsync GUI, I searched for the source and destination folders, and then executed the command. Here is the output:
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.; ?>
I would like to know when usb inserted, its showing cant mount when i clicked details its showing bad blocks in beginning , and smething in /dev/sd6. Can i knw why usb drive cant be mounted automatically , even if its set to do so, and to cope the error mentioned above