Networking :: No /usr/include/usb.h Header File?
Dec 16, 2010
I was trying to install usb-modeswitch edora-14 (64 bitt saidCode:usb_modeswitch.c:56:17: fatal errr: usb.h: No such file or directoryWhen I tried to install libusb, it said that it is already installed and is the latest version. But, it still doesn't show usb.h in /usr/include directory.What shall I do to make usb-modeswitch?
View 4 Replies
ADVERTISEMENT
Mar 11, 2011
Compiling Amarok from git gives error "gdk-pixbuf/gdk-pixbuf.h: No such file or directory" it is installed in /usr/include/gtk-2.0/gdk.I just up'ed to openSuse 11.4 and KDE 4.6.1 - compiled fine last time I tried which was probably last weekend or so (March 2nd or third)Wondering if /usr/include/gtk-2.0/ is new in 11.4 because of the upcoming gtk3.0 and the problem is it's not some path and not being compiling proficient I'm a bit lost.full error
Code:
/home/smiley/MyTemp/amarok/src/core-impl/collections/ipodcollection/handler/IpodHandler.cpp:35:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
[code]....
View 1 Replies
View Related
May 21, 2011
i am a new programer in c i have write a simple app and i have a problem with combiling my program include one header file and 2 c
fun.h
#include<stdio.h>
void f();
/******EOF*******/
fun.c
#include"fun.h"
void f(){
[Code].....
View 6 Replies
View Related
Apr 22, 2011
where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?
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 1, 2011
Asuming I have two files, one large file and one small file, I want to write the smaller file to the large file without overwriting the remaining part of the larger file.
Both are binary files, and the large file can become very large, so I want to avoid copying the whole file, as that will take some time. Is there any standard Linux console utility to do this, or do I need to write it myself?
View 2 Replies
View Related
Jul 11, 2010
What is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
View 1 Replies
View Related
Jul 8, 2010
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
View 2 Replies
View Related
Jun 15, 2013
I am trying to re-write my local web pages in HTML5. My original pages used an include file so that I had a consistent set of links on the top of each page. I used - require("link_list.php");
But this does not seem to be possible in HTML5. I am guessing that there is a way to do this, searching the web suggests object or embed, but these create a new page within my original page, which is not what I want.
View 4 Replies
View Related
Jul 4, 2010
I have a CMS I have developed, which will run on several sites all hosted in sub directories on my dedicated server. I want to create symlinks for the main files of the CMS, including all config files, functions and admin sections. Then there will be a few files specific to each site.I read some tutorials on creating symlinks, although most are not very good in my opinion.
Do you have to create a symlink for every file I want to include? Or can I just create a symlink to a directory? For example:CMS is located at /www/cms/.Can I make www/domain1/ point to that directory, and if so, will all files include themselves correctly. I think I am a bit confused on how this works.
View 1 Replies
View Related
Apr 28, 2011
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files
how can i add the File Name as a comment before each file?
//FileName
Code:
system='/path/to/my/directory'
cat `find ${system} -name '*.txt'` > outputFileDirectoryName.txt
View 13 Replies
View Related
Apr 22, 2010
Is it possible to 'include' a global SSH authorized_keys file?
For example, I have user accounts user1,user2,user3 and my user name is Benjamin. I want to be able to use my ssh key to authenticate as each of these users. I can manually copy my key to each .ssh/authorized_keys file individually, but is there a way to simply include /home/Benjamin/.ssh/global_authorized_keys in each of these user's authorized_keys file without manually adding and removing?
View 2 Replies
View Related
May 30, 2011
I have installed QT on Slackware 13.37 x64 and when I create gui project it works ok, but I need OpenGL.When I add #include <QGLWidget>I get error No such file or directory there is my env
Quote:
CPLUS_INCLUDE_PATH=/usr/lib/qt/include
MANPATH=/usr/local/man:/usr/man:/usr/lib/java/man:/usr/share/texmf/man
KDE_MULTIHEAD=false
HZ=100
[code].....
View 2 Replies
View Related
Oct 15, 2010
How can I extract 5th column from a file without the header.
View 5 Replies
View Related
Jan 15, 2010
I am having trouble getting some code to work. It takes an input file (csv) and converts it to an XLS. The problem is that I can't seem to get a header to be printed first...
Code:
use Spreadsheet::WriteExcel;
my $input = $ARGV[0];
[code]...
View 5 Replies
View Related
Oct 10, 2009
I want to get files header as much as possible which are mostly used so how can i get jpeg file header using C ?
If any other headers of MS Office is possible for U.
View 7 Replies
View Related
May 8, 2010
I have 3 files: main.c, mylib.h, mylib.c Now I want to put mylib.h into : /usr/include/mydir/mylib.h And I create a static library: libmylib.a, and put into the folder: /usr/lib/mydir/libmylib.a Then I compile: $ gcc -o main main.c Then I got linking error
Code:
main.c:(.text+0x3e): undefined reference to `extract_v1'
main.c:(.text+0x7b): undefined reference to `modify_v1'
collect2: ld returned 1 exit status
So I try with -l options: $ gcc -o main main.c -lmylib I still got error
Code:
/usr/bin/ld: cannot find -lmylib
collect2: ld returned 1 exit status
Any idea about this?
Also, I want to ask about: how to create my own header and library to put into /usr/include/mylib/ and /usr/lib/mylib/, so when I use function in my program, the compiler will automatically link to library. It's like when you #include <stdio.h>, and you compile: $ gcc -o program program.c, you don't need to specify any linking folder or library.
View 4 Replies
View Related
Jan 28, 2010
i got this error im using turbo c++ 3.0.
View 1 Replies
View Related
Aug 19, 2010
I am new to ubuntu.I have done some programming in c++ under windows using graphics.h header file.I want to implement my programs in ubuntu.How can i do this?I am writing a program.
View 4 Replies
View Related
Apr 29, 2011
i got a sample.c which generate a linked list for sorting according to the number generated. then i want to split the sorting function into a header file. and it looks like the sort function in the header file could not access the linked list in the main. the error is dereferencing pointer to incomplete type
sample.c
Code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
[code]...
View 2 Replies
View Related
Feb 15, 2011
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.
View 1 Replies
View Related
Jun 29, 2011
Is it possible to rework an .avi to include hard subs from a .srt file I would really like to do this with ffmpeg but it seems that -newsubtitle doesn't work for me.
This is the command line so far ffmpeg -i infile.avi -vtag xvid -b1550k -r 23.970 -newsubtitle infile.srt -acodec libmp3lame -ac 2 -ab 128k -ar 48000 outfile.avi
View 1 Replies
View Related
Oct 31, 2010
Last night I had to re-install Ubuntu. Previously, the header of the file manager had been configured up with the three buttons on the right for icon/list/compact view (see 1st image below), whilst since re-installing, they appear with the drop-down menu instead (as per the 2nd image). How do you change between these two formats? My preference is for the first of these.
View 2 Replies
View Related
Jun 9, 2010
I need to know the header file used at 'c' to support openoffice writter at REDHAT4. I plan to write a c++ program for something like spellbee game. so instead of giving a txtfile which has a list of words as a source for the game I decided to use some header file. My assumptions are: Since the redhat4 is written through the "C" language and as well as the openoffice writter which is a supporting package at this os too might have the linker right. At openoffice writter we have the spellcheck feature which might had a source from where it checks the words whenever we type something at openoffice writer. So is it possible to use those header file or linkage source at my c++ spellbee game program instead off creating the list about few bunch of words.
View 1 Replies
View Related
Sep 1, 2011
This header file no longer appears when it is set as the "stylesheet/imags/heading banner"
Ubuntu 11.04
GnuCASH v.2.4.2 (from the ubuntu 11.04 repos)
This worked in GnuCASH Ubuntu 10.04 (gnucash 2.2.9-5) but no longer works after doing a clean install followed by copying ~/.gnucash and ~/.aqbanking back into place. The rest of the attributes of both my custom Invoice & Report stylesheet still work (ie colours, etc.) but even when creating a brand new custom stylesheet I cannot get these images to appear after adding them to a stylesheet and saving the settings. This worked fine in the previous version of the application. I have tried deleting the old stylesheet(s) and recreating from scratch and the only thing that does not work is placing the banner or logo images where they are supposed to be. I've done an strace to verify that the image is being found: it's just not appearing.
[code]...
I have asked around on IRC (irc.gnome.org #gnucash) and it was suggested that it might be a webkit issue, libwebkitgtk is verified as installed.
View 1 Replies
View Related
Apr 19, 2011
I want to know how can I use sender an receiver of the email in name of file for storing mail in procmailrc. I made one but it does not work.
Quote:
SUBJECT=`formail -xSubject:` # regular field
FROM=`formail -rt -xTo:` # special case
:0 b
* ^FROM.*
| sed -e '/^To: +?[0-9]*$/,/report/!d' > ${FROM}${SUBJECT}--`mktemp 20`date +%y-%m-%d-%S--`XXXXXX`
it works when I use :
Quote:
| sed -e '/^To: +?[0-9]*$/,/report/!d' > `mktemp 20`date +%y-%m-%d-%S--`XXXXXX`
View 1 Replies
View Related
Feb 8, 2010
I am sure this information is out there somewhere, but Googling apache access.log and hostname does not give you any good leads... so I hope someone here might be able to provide me with a quick answer...I am setting up a cluster of web servers, so I would like to name the access.log and error.log with the hostname of the individual servers to be able to distinguish one from another.
View 4 Replies
View Related
Jul 22, 2011
I'm having some problems compiling mednafen on Suse 11.4. When I run configure, things work fine until I get the following series of errors:
[Code]...
configure: error: *** OpenGL header file not found! I've seen references in a few places that these type ("Present But Cannot Be Compiled") can usually be ignored, but in this case ./configure fails and I can't make. I am unsure why this is, as I've installed mednafen on Suse 11.4 before and it runs fine. I've tried installing various OpenGL-related packages that I can find (Mesa, freeglut, glib, etc) but nothing seems to solve the problem
View 1 Replies
View Related
Jul 9, 2009
I am facing the following error while running SplitOff.exe in machine 172.24.130.245 :
Error :
ld.so.1: SplitOff.exe: fatal: libstdc++.so.2.10.0: open failed: No such file or directory.This file is avilabe in ap/local/lib path.
how to include the path of exe in the ld library path [only System admin has permission]
View 10 Replies
View Related
Sep 15, 2010
I have written C code to read data from the network using raw socket. I am printing out source/destination ip addresses and ports for packets I am interested in. For most part it decodes Source IP address correctly but sometimes the last part of the address is not correct. The destination ip address is always decoded correctly.
Here is the snippet of code:
Code:
struct sockaddr_in SenderAddr,Source,Dest;
socklen_t SenderLen = sizeof(SenderAddr);
struct iphdr *IpHdr;
struct udphdr *UdpHdr;
[Code]......
View 4 Replies
View Related