OpenSUSE :: When Open Project In Code Blocks And Click Build And Run, It Pop Out Debug Report And Exit After That?

Sep 3, 2011

When i open project in code blocks and click build and run, it pop out debug report and exit after that

View 3 Replies


OpenSUSE :: Couldn't Find A Code::Blocks Download For 64 Bit On Their Site?

Feb 21, 2011

I couldn't find a Code::Blocks download for openSUSE 64 bit on their site, does it exist or should I just go with another C++ compiler?

View 5 Replies View Related

Hardware :: Should Use Disk With Report Of Bad Blocks

Feb 4, 2010

I'm setting up a mysql replication system. I usually maximize what's left on my stock before I buy. I do badblocks first to all 2nd hand hard drive to make sure it is in good condition before I install an Operating System.

I pick up a 200GB sata hard disk in the stock room and test it using badblocks. I left it in the office doing the test and just check it tomorrow. When I return to check, the report says it found 30 bad blocks.

View 2 Replies View Related

Programming :: How To Debug Large Project Using 'GDB'

Jun 21, 2010

I'm using ubuntu 9.04;I want to debug my project that comprises mutiple files.When I cd to the project folder and run the command "gdb rawusb_test",Once I tried the flag -g and changed the line "$(CC) -o $(PROG) $(OBJS) $(LIBS)" to "$(CC) -g -o $(PROG) $(OBJS) $(LIBS)", it didn't work!I want to trace the program "rawusb_test" line by line and see the parameters' values!Could you help me how I should debug this project or how the Makefile should be changed?

View 8 Replies View Related

Programming :: Debug Big C Language Project With GDB?

Nov 11, 2009

Now I have a project which include three directories /bin, /inc and /src. All of header files (*.h) are included in /inc and all of source(*.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin. after compling with makefile, all of obj files will be generated in /src/obj like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the /bin directory. Now if I want to debug it with GDB, how can I do it?

View 1 Replies View Related

Ubuntu :: 10.04 - "report Incorrect Urgency \ GUI Seems To Be Stuck In Some Sort Of Debug Mode?

Sep 4, 2010

My GUI seems to be stuck in some sort of debug mode. If a battery or network notification pops up in the upper right hand corner of my screen...there are lines thru the popup (sort of looks like nine slicing), and what looks like a debug message...."<urgencyLevel> - report incorrect urgency?". I'm not sure what might have been done in the system to turn these on....I know they weren't always there.

View 3 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

Ubuntu :: Collect2: Ld Returned 1 Exit Status In Cpp Project?

Apr 4, 2010

I am making a project learning about inheritance and polymorphism

it consists of


View 2 Replies View Related

OpenSUSE :: Why Taskjuggler Is Not Included - Open Source Project Management

Mar 2, 2011

Is there any reason why taskjuggler is not included in openSUSE? I can see a version available in openSUSE Factory but it is not built with latest libs. I have several of my friends asking for Project Management software under openSUSE and I don't know what to advise them.

View 9 Replies View Related

Software :: Set Up Eclipse To Build And Debug PHP/PECL?

Apr 17, 2011

It's been a very long time since I did much C development and I'm trying to contribute to a PECL extension for PHP. PHP and the PECL extensions are written in C and I'd like to set up my dev environment so that I can use a nice IDE (like Eclipse) and debug my code, stepping through it within a nice GUI. I'm hoping to develop on a linux box (Ubuntu 10) rather than Windows.

The main issue I have is that I don't know how to configure Eclipse (with CDT) so that it runs the entire process: configure/make/make install and then allows me to step through my code within the Eclipse GUI IDE. I have managed to edit files and then build from the command line and then use GDB to step through the code, but that's *REALLY* tedious.

Also, the PHP source codebase is quite large and takes several minutes to build. I'm hoping I might be able to limit the build to just one particular extension rather than rebuilding the whole things. Lastly, I'd like to avoid installing the new, possibly broken, code in order to run it. Unless I'm mistaken, the build process results in a binary being constructed in the source directory and I'd like to debug using that new binary before I bother to install it on my system. Sorry if these questions seem really basic. Like I said, it's been awhile and I'm hoping to get back on the horse quickly.

View 4 Replies View Related

OpenSUSE Hardware :: Mount / Unmount USB / Mount Exited With Exit Code 1: Failed?

Jun 6, 2010

It seems I cannot mount and unmount a USB Drive, it gives me the following error:

Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/DAVE-1

I have changed FSTAB, and now it looks like this:

usbfs /proc/bus/usb usbfs auto,user 00

View 2 Replies View Related

Slackware :: Gimp Blocks When Click On Rulers - 13.37

May 12, 2011

I am really happy with my Slackware installation but I encountered a problem using Gimp, I would like to know if it's just me or really the problem can be reproduced by others, here is my problem:

When I open an image or create new one if a click on the rulers and drag the mouse to create a new guide the mouse clicks seems to doesn't work, I cannot move any window but if I choose the toolbox window and press shortcut keys they select the tools, when I change to another workspace and turn back to the gimp's workspace everything works again but I couldn't create a new guide.

I am using XFCE as desktop and the proprietary NVIDIA drivers (just in case it may be a problem). The Gimp error console doesn't show anything.

View 5 Replies View Related

Software :: How To Debug Ns-2 Code For Segfault

Jun 14, 2010

$ cat segfault.c
int main(void)
char *s = "hello world";
*s = 'H';


So, now we know where exactly the problem occures. I know only these three commands to debug using gdb. But in case of ns-2 code, I don't know how to use gdb.

I changed a routing protocol's C++ code in ns-2 and successfully recompiled ns-2 but when I run any tcl script with that particular protocol, I get 'segmentation fault'. Now I want to trace what part of the code is causing this. I have tried using 'printf's at suspectable places. Is this possible to debug ns-2 code with gdb just like the segfault.c above? I am useing fedora 9.

View 14 Replies View Related

Ubuntu :: Run A Program In Code : Blocks

Apr 3, 2011

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....

View 1 Replies View Related

Software :: Install Code - Blocks ?

Jan 24, 2010

I'm using ubuntu 9.10 and I would like to install code::blocks.

Here is what I did so far :

View 14 Replies View Related

Programming :: Tell Makefile Not To Compile Debug Code?

Mar 4, 2010

I've been trying to work out a way to stop chunks of code being compiled using a variable in my makefile but can't work it out. What I mean is for example in my code I might have.

/****output comms portdata********/
debug comms port %d",ReadPort("ttys1);

I only wish this code to be compiled when I'm debugging. What I've tried is using #ifdef with

debug comms port %d",ReadPort("ttys1);

Then in my make file I set COMM_PORT_DEBUG to 1 so


I then thought I could put it into my in my link line


but this gives a

gcc: COMM_PORT_DEBUG=1: No such file or directory

is there a way to do this sort of thing? Or am I barking up the wrong tree?

View 1 Replies View Related

General :: Build A Fortran Project In Kdevelop?

Apr 20, 2011

I have installed gfortran,cmake,etc,but there is no fortran project to chose.What should I do ?

View 2 Replies View Related

Ubuntu Installation :: Code: Blocks Not Compiling

Jan 25, 2010

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]

View 1 Replies View Related

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: can not open shared object file : No such file or directory"

View 1 Replies View Related

Ubuntu :: Code::Blocks IDE Stopped Working?

Dec 13, 2010

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.

View 6 Replies View Related

Programming :: Attach Source Code To A Remote Debug?

May 25, 2011

running a java application in a remote site,and I would like to debug the application. I'm using jdb, and, due to network architecture, I can only use jdb do debug in text-mode. To debug in text-mode I use the command: jdb -attach remotesite: port. At this point this is ok. Now I would like to attach the source code to the jdb. I tried the command

jdb -attach remotesite: port ~/src/org/path/

to attach the source code to the remote debug to. But it doesn't work. In jdb, I try the command use ~/src/org/path/ but it doesn't work either. How can I attach the source code to the remote debug?

View 1 Replies View Related

Programming :: Build An Accounts System Database For A Project?

Apr 21, 2010

I have recently trying to build an Accounts system database for a project. When you run the program it goes in the main menu sort of like this.

Accounts System
Add a Customer With a Contract......1
Add a Customer Without a Contract...2
Display all Customers...............3
Find a Customer.....................4
Edit a Customer.....................5
Print a Statement...................6
Print an Invoice....................7
Load File...........................8
Save and Exit.......................9

When you add a customer with a contract, you add name, address, start contract, end contract, payment and email address. Now, is there a code I could write to get back to this menu. To not confuse anyone, all I just saying is supposing I accidentally push number 1 on the keyboard and suppose I didn't want to add a customer. In other words I need a code that can cancel (or stop) adding a customer to go back to the accounts system menu.


View 3 Replies View Related

Ubuntu :: Downloaded Code - Blocks For My C++ - Select A Template There Are None Available

Jan 22, 2010

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?

View 3 Replies View Related

Ubuntu Multimedia :: Code Blocks Starts But Not Running 10.04?

Aug 9, 2010

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?

View 1 Replies View Related

Programming :: Code - Blocks - Shared Object - Debugger ?

Jan 18, 2010

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.

View 1 Replies View Related

General :: Use Eclipse To Compile And Debug Source Code On Ns-2 Simulator?

Dec 13, 2010

I want to use eclipse to compile and debug source code on ns-2 simulator. can i configure the parameter on eclipse. can i compile the source code *.cc

View 3 Replies View Related

Debian :: Working On A Project With Unsupported Libraries (don't Ask) And Can Only Build Successfully With G++ 4.1?

Jan 20, 2011

I didn't do enough research beforehand and just discovered that while gcc 4.1 is still packaged, g++ 4.1 is not. I am working on a project with unsupported libraries (don't ask) and can only build successfully with g++ 4.1.*I see that there are packages for Lenny. Is it safe to install these under Squeeze?Being new here I am not sure where else to look for third party packages is, so if anyone could point me in the right direction that would be great. I'd very much prefer not to try to build from source as I'll almost certainly clobber my 4.4 install in the process.

View 3 Replies View Related

Software :: Build Ekiga Project In Visual Studio 2008

Apr 15, 2010

I just download source code of ekiga at address [URL]. I want to develop it, I compiled it in ubuntu successful, now I want to develop it in window platform by visual studio 2008 but I don't, can I can make environment for window and import it to visual studio 2008 to debug.

View 8 Replies View Related

Software :: Linking In A LKM To User Space In An Eclipse Project Build?

Jun 25, 2009

I have written a PCI LKM device driver that compiles and loads correctly via #insmod libfoo.ko. When # dmesg | less is run I get good results and no errors in the log. The LKM header file is visible in the eclipse do I attach (link) this loaded LKM in a eclipse project so that the LKM driver functions are visable?

View 2 Replies View Related

Programming :: Build Chain (make Or Cmake) For *nix_Movemap Project?

Jun 29, 2010

[URL]...Now it works in Windows platform. Some functions rely on win-specific code and need to cross-platform alternatives. Can some one help to build chain(make or cmake) for this awesome project? any one can compile the Linux generator and transfer the project under *nix platform.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved