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
View 3 Replies
ADVERTISEMENT
Jan 30, 2011
I'm trying to install vmware tools in mint.
All goes well until I get to this -
What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]
When installing the vmware tools it says to just hit enter and the default will be used.
Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.
View 14 Replies
View Related
Jan 5, 2010
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]
View 5 Replies
View Related
Dec 24, 2009
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?
View 2 Replies
View Related
Jan 4, 2011
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
View 7 Replies
View Related
Oct 13, 2009
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?
View 14 Replies
View Related
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
Sep 18, 2010
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?
View 9 Replies
View Related
Jun 16, 2010
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.
View 14 Replies
View Related
Mar 10, 2010
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...
How i can add new libraries in the future?
View 14 Replies
View Related
Feb 14, 2011
New to programming having issues reference header files.
Not sure how to put the fomula in headers below:
Program
using namespace std;
View 7 Replies
View Related
Feb 26, 2010
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!
View 6 Replies
View Related
Nov 1, 2010
Say I have a directory structure:
And other.c has:
How do I setup the CMakeFiles.txt files in each directory, so the executable "program" (from program.c) is created.
Currently I get the error:
View 1 Replies
View Related
Apr 3, 2011
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:
Code:
#include <some.h>
#include <another.h>
[code]...
View 3 Replies
View Related
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
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
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
Jul 25, 2011
The rpm command to get all the list of all installed file location after rpm installation is rpm -ql <rpm file-name>
View 7 Replies
View Related
Jun 26, 2010
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.
View 14 Replies
View Related
Jul 16, 2011
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
View 1 Replies
View Related
Apr 12, 2011
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?
View 1 Replies
View Related
Jul 25, 2011
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:
Code:
int my_socket;
struct sockaddr_in sin;
[code]....
View 2 Replies
View Related
Dec 28, 2009
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).
View 8 Replies
View Related
Aug 27, 2010
I'm trying to add a header to many .cpp files in a directory (or directory tree).
My attempt was:
Code:
If I put part of the command inside quotes the substitution occurs, but then I get other errors like:
Code:
cat:
No such file or directory
I could just write a small program to do it.
View 3 Replies
View Related
Jan 26, 2010
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?
View 2 Replies
View Related
Feb 12, 2011
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 ?
View 2 Replies
View Related
Jan 10, 2010
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
View 1 Replies
View Related
Jan 13, 2011
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?
View 4 Replies
View Related
Feb 13, 2010
I am using Ubuntu 9.04 with kernel version 2.6.28-11-generic.I want to compile the foll. file but i get <linux/slab.h> no such file or directory.
The kernel headers are installed in my system at /usr/src/linux-headers-2.6.28-11-generic/ directory. During compilation i specified as follows:
Why gcc is unable to find the linux/slab.h header file?
View 1 Replies
View Related
Mar 21, 2011
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?
View 14 Replies
View Related