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 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....
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'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 tried to compiling a code on 32-bit OpenSuSe 11.1, but it was terminated with following error: # ***No rule to make target '/usr/lib/libGLU.a', needed by 'DXA_debug'. Stop Then I installed the freeglut-2.6.0, but there were only libGLU.so and libGLU.so.1 in /usr/lib folder. And the compiling process was terminated with the same error. Will you give me some instruction to solve this problem?
I can compile an old fortran program on my macbook using the Absoft fortran compiler and the command:f90 'W132 C SOURCECODE.flU77lV77
Unfortunately I cannot find f90 for linux. I can, however, find gfortran. However, gfortran does not recognize the flag -W132 and when I remove -W132 the compiler thinks all lines end after a certain number of characters. Does anyone know what flags call the equivalent type of compilation using gfortran? Is it possible I need to use f90? If so, is there a free version of f90 for linux?
Keep receiving the following error message when i try to compile any code: Code: checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check logs test out some code with the C preprocessor and fail, thereby failing the "sanity check" I reinstalled cpp, but to no avail.
Basically, I'm trying to compile program A, which depends on LibA and LibB. LibA would not build with my version of G++ 4.4.3 due to a bug, so I've compiled the latest G++ 4.5 (installed in /opt directory) and built that library successfully (also installed in /opt).
I have LibB on my system already, but it was built with the 4.4.3 version. When compiling my final program, am I going to have issues because the .so files were built with different versions of gcc/g++? Or should I just rebuild a special version of LibB with the later version of the compiler just for that program? I can proceed and just see what happens, but I'm a little confused about how things work in a situation like this.
When I compile evince from its source code, I am able to run ./configure properly, but when I run make the following output is displayed.
Code: make all-recursive make[1]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0' Making all in cut-n-paste make[2]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0/cut-n-paste' Making all in zoom-control make[3]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0/cut-n-paste/zoom-control' ..... make[3]: *** [libevview.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I am not able to ascertain the source of this error, even though I seem to have the file in question-libevdocument.la. What do I do now to remove this error?
whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated
Here is my problem: I have a Vala program that includes classes with nested classes. When I try to initialize classes (using the variable type and the variable, followed by the class's arguments [three unsigned 8-bit integers] in parentheses) and try to compile the Vala code to C code what I tried to AVOID doing, as I really wanted to create a shared object file, but now I know I have to use C code as a middleman, the compiler tells me it expects a semicolon between the class variable name and its members.
What?! A semicolon in a bad place, that's for sure! Why would I want to put a semicolon *BETWEEN* the class initialization and its members? Isn't the whole point of a class to *HAVE* different members? Here is my class:
Code: public class Gtk.rgba : GLib.Object { public class fg_color : GLib.Object { private uint8 red; private uint8 green; private uint8 blue; //Constructor public fg_color(uint8 r, uint8 g, uint8 b) { [Code].....
Just switched over to Ubuntu 11.04 32bit. I have spent the day configuring it to my likings, and am content with Ubuntu. I have zero experience with coding, and bare minimum knowledge. Anyways, I have gotten some tar.gz files, that I have extracted them into folders, and then in terminal I run ./configure, and then I get the error "You need intltool 0.40.0 or later".
After messing up with grub, I reformatted my hdd and installed opensuse 11.4 (gnome+kde) from the dvd and also included the java sdk while installing, now the problem is that whenever i compile a java program, I get this error Code: /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
I am running Ubuntu 10.04. But since it seems like future versions after 11.04 will be Unity desktop only, I have been exploring other versions. The one I prefer is Mint. But it will not load on my desktop computer and here is the problem: I downloaded and burned the program 4 times (!) suspecting that there could be a bad disk. But since there were no problems using it on another computer, I thought it could be the video on my machine, but putting in another video card made no difference.
But last night I woke up realizing what could be the key. When I try to boot up the disk I get the following text: ISO LINUX 3.36 2007-02-10 copyright 1994-2007 H Peter Arvin. What I suspect is that the computer reads this file from the hard disk before turning to the CD, and that file is the problem. In other words, something in my Ubuntu installation blocks the Mint Cd from loading.
Part way through the installation of Fedora 13 the installation stops with 510 square blocks displayed. The blocks are arranged in a 17 by 30 pattern and have two different colors. This happens with 3 different versions of Fedora 13. The 32 bit live CD version, the 32 bit version and the 64 bit version. I am able to start a live CD version of Fedora 10 but not the live CD version of Fedora 13 on this computer. The computer has an Asus P6X58D Premium mother board, an Intel i7-950 CPU and an EVGA GeForce GT 240 display.
This happened when I was trying to install Ubuntu 11.04 from a disc, when I boot from the USB or CD I create of Ubuntu it gets past the selection menu and then I get stuck at this screen, keyboard is completely frozen, no HDD activity light or anything. This happened the same way when trying to install Ubuntu 10.10 This is an ASUS g60jx laptop, I would have assumed this was fixed by now, is their a special graphic mode I have to enter when installing?
I have a problem, so I boot in recovery mode. The Recovery Mode menu comes up, but when I press a cursor key, the purple Ubuntu screen comes up. I cannot get to the menu items that I need!
The recovery mode is supposed to provide a failsafe text-only environment.
Does anyone know what app puts up the purple screen?
I would really like to remove it. I tried to install xdm, which I prefer, but keep running into the purple screen. - With XDM installed, the purple screen comes up and blocks you from seeing anything. Fortunately, remote login by RDP still works. - If you switch console (CTRL+ALT+Fn) back and forth a few times, the purple screen appears again. You have to go to a new console (F8 or even F9 instead of F7) and begin a new Gnome session. Eventually you run out of function keys...
Perhaps I'm using the wrong distribution. Ubuntu is friendly, but you pretty much have to use it exactly as it installs. Can someone recommend a distribution that puts more emphasis on stability?
I've just upgraded to 9.10 and found that the menus in Open Office are unintelligible gray blocks.
Many apps are fine, like Firefox, gimp and thunderbird, but OO is scrogged up. I also noticed that Quanta has unintelligible sub menus although the top level menus are readable. The lists of files in Quanta are gray blocks, but if you click on a folder, the file names appear, then chaneg back to gray blocks if you click the folder again. Tried reinstalling Quanta but no success.
Im having problems when compiling abgx360gui. I compiled the abgx360 and it work but I want to compile the gui now, because otherwise it is very difficult to use it.
And when I try to compile it, the following happens.
I'm trying to get an nginx/php-fpm/mysql stack setup on Ubuntu Server 10.04 LTS 32 bit version.
I have pretty much got everything going fine, except PHP extensions. For whatever reason when I compile php it is seeming to not compile any extensions with it ?