Programming :: Codeblocks Plugins And Header Files Location?
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
While setup of vmware on CentOS5.4 i am facing the below error.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
I am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
I am running VMware inside windows 7 64bit.I have installed ubuntu 2.8 ultimate edition on a 20gb partition and used 1gb of ram....everything is updated etc and running good. I checked in the VMware tools bar the entity tab,and says tools is not installed.
So when i run the install everything goes well untill it reaches the point where it says "What is the location of the directory of C header files that match your running kernel?
I have tried everything,different tutorials,installed a build package etc and it still asks for the directory. here is the uname r output : uname r : 2.6.35-24-generic
I am trying to install VMware on my machine. I have downloaded VMware and I am now trying to configure it. After accepting the EULA, the program states;
Code:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] y Then;
Code:
Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/bin/gcc The path "/usr/bin/gcc" is not an existing directory. What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include] How do i find where the C header files are?
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:
When is it good to use separate translation units and object files and link them into the main C program, and when is it good to include the header files in the main C program? I don't understand if most people include header files or if most people just link in object files and use their contents in the main program. It's sort of a simple question, but it's confusing to me and that's why I need help with it. I sort of don't understand the difference, or if there's really no difference other than the way the final result is achieved, which way is better or preferred, etc...
For example:
Code:
or:
Code:
Simple explanation of the difference? or which one is preferred or better? I've read a little on the ELF format... so is there no difference in the end result? It's just a matter of preference or necessity, and where the information is to begin with?
I want to use kmalloc() to allocate contiguous memory on ram. But I can not seem to find the required header file(s) like linux/slab.h. I suppose I do not have the required library and I certainly do not know what and where to look.
I have been a predominant Windows user for a long time but shifted to Ubuntu recently. I was just trying out a few basic C functions when i realized that the "conio.h" header file isn't included in the libraries and therefore i was unable to use the "clrscr()" function.
I downloaded a tarball which contained the necessary library and header files including conio.h. Once extracted, i specified the location and included in the program as " #include "path to the header file" ".
I still didn't call the "clrscr()" function, and it compiled successfully. Next i edited the program to call that function and it gave the following error...
I have written a simple library and ended up with a .so file. I have a header file from writing the code that describes how to use the functions in the source code I have written. I think this .h files needs to be available to other programs that access this code.
I have seen lots of tutorials on how to copy the .so file to the relevant directories and make links with the version number. What I can't find is where to put the header file so that any programs I write to use my new library can access the header.
Hope this makes sense. For example, I might use <stdio.h> normally, I will need to access <mylibrary.h> once mylibrary.so is loaded (as far as I understand!)
It's weird, I've been using C compilers for embedded processors over ten years now and never given a second thought to how libraries and headers work behind the scenes!
I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:
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
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?.
I have 2 external hdd in wich I have all my files. yesterday, I have copied all the files from hdd2 to hdd1 and I want to eliminate duplicates so I used FSLint to find them,now I want to make a shell script to delete all the files/entries (read from the log file) that begin with.
I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd2 to hdd1 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this:
Code: /media/My Book/!!!MIS DOCUMENTOS/Documentos/2 sep2003-jun2009 USB/!TESIS/TESIS/TESIS CVT LABVIEW Y CODEWARRIOR/LabVIEW85RuntimeEngineFull.exe /media/My Book/HDD_Toshiba/Borrable/Pen_Drive_4GB/Tesis/Super CD de la tesis/LabView/LabVIEW85RuntimeEngineFull.exe multiplied by millions of entries...
now I want to make a shell script to delete all the files/entries (read from the log file) that begin with:
Code:
/media/My Book/HDD_Toshiba/**** Since HDD_Toshiba is the folder in hdd1 (MyBook) that contains all the files from hdd2
I tried to update the header files manually in the include folder, because I thought that I needed to have windows.h etc, but now nothing compiles and I get a good 80 errors for even hello world. I have tried removing g++ and all related packages, deleting the header files folder and reinstalling, but it reinstalls the broken files. Any way of restoring the originals without reinstalling ubuntu?
I am trying to write a program that will send a packet to a server as a different IP address so I can test my firewall rules as I only have access to a couple of machines:
I've installed Fedora 12 (KDE version) on VMware workstation running under Windows 7.
I've been able to configure the VMware tools fine up until this point:
Code:
What is the location of the directory of C header files that match your running kernel? After some searching online I deduced I should install all of the latest updates and kernel-devel.
I then nuked the previous VMware tools install and started over with it again, but alas, no directory I try works (i.e. /usr/src/kernels/, /usr/src/kernels/2.6.31.5-127.fc12.i686/ and so forth).
I am new to linux. I want to use a header file asm/msr.h. But the /usr/include does not contain the header file that I want. Can I just copy the whole asm directory into the directory /usr/include, and overwrite the old one?
I've started using the huge.s kernel and when i try to compile packages slackware complains about kernel headers but all i see is the smp header files on the slackware discs ?
i was trying to install iftop using make installso when i ran /configureit told me that some header files are missing and some modules aaare also missingis there a way to search for the missing header files on the internet and missing modules n the internet
I need to install some module which needs to be interated into OS's.
It asks me: "What is the location of the directory of C header files that match your running kernel? "
I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/
Now when I run configuration it does not work
Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?
I've tried many times to get Qt plugins to work, but I just couldn't figure it out. I've written a small test application, how to write a plugin for it?