Programming :: QT #include <QGLWidget> No Such File Or Directory

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


ADVERTISEMENT

Debian Programming :: HTML5 - How To Include Another File

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

Programming :: Unable To Open Include File 'sstream.h'

Jan 28, 2010

i got this error im using turbo c++ 3.0.

View 1 Replies View Related

Programming :: (.text+0x7): Undefined Reference - Compiling Program Include One Header File And 2 C

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

Slackware :: VirtualBox 3.1.6 - Kernel Include Directory

May 31, 2010

I tried to build the virtualbox 3.1.6 kernel using the files from slackbuilds.org and I got this error that says it cannot find the kernel include directory. My current kernel is 2.6.33.2 (slack 13.1).

I tried SOME_VAR=/usr/include --> (I forgot the exact variable name, but I used the variable name I saw in the error message) just a guess , but it didn't work of course.

Is it at /usr/src/linux-2.6.33.2/include or something like that? Or is there anything wrong with the slackbuild script?

View 4 Replies View Related

Programming :: OpenCV Programming - Highgui.h: No Such File Or Directory?

Jul 1, 2010

I installed OpenCV and am trying the example programs. When I try to compile like in the tutorial it is not finding highgui.h.I have 64 bit Mint if that helps at all

View 3 Replies View Related

Programming :: Libmpi_f90.so.0: Cannot Open Shared Object File: No Such File Or Directory

Aug 6, 2010

I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.

error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory

View 1 Replies View Related

Programming :: Make A Folder For Each File In A Directory Then Move The File Into It

Nov 29, 2010

Initially I thought - use a for loop with ls in it:

Code:

However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).

The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.

View 15 Replies View Related

Fedora :: X 11 - Dependency - Could Find No Includes Files Under The Directory /usr/include/x11/

Apr 13, 2010

Recently I have moved to F11. While I am trying to install directFB explicitly, I am getting error related to X 11 dependencies. It could find no includes files under the directory /usr/include/x11/. But x11 libraries are available in the system. I remember that, i had these x11 include files in my F9. Do I need to install any external packages to get the x11 include files in place?

View 4 Replies View Related

Ubuntu :: Tried To Copy Include Directory From G++ - After Few Minutes All Daemons Crashed - Now Can't Boot Normally

Nov 13, 2010

I have a little problem here. I tried to copy include directory from g++ to a place where it suppose to be and when i couldn't because of the rights i wrote something like this in the bash:

Code:

Code:

cause i hate when I can't do what I want without tiping command

After few minutes all daemons crashed and now I can't boot normally

in console i've tried

Code:

And that stopped on /prc/756 directory

Well now i can boot normally but most of programs are not working, i can't get to the internet? and it looks like there is no way to become a root cause there is no sudo/

Can i reinstall ubuntu and keep all packages and files on its places?

View 9 Replies View Related

Programming :: Can't Open File - No File Or Directory

Jul 2, 2010

When I hardcode abc.bin to inputFileName - I can open the file in cpp. But when I pass the same using an optional argument, it fails. Note that in both cases, fprintf, prints the inputFileName as abc.bin properly.

I get can't open - no file or directory.

Code: main()
{
char * inputFileName;
char * optarg;
inputFileName = optarg; //doesn't work.

[Code].....

View 2 Replies View Related

Debian Programming :: No Such File Or Directory

Sep 18, 2015

I’m new to C programming so I wrote the following program to see if everything I needed to write programs with GCC and the standard C library was already installed. I am having issues in OS 10.10.5, where I am unable to build and compile some simple code, either using Xcode or Sublime text. I decided to install Linux Mint in Virtual Box to see if it would work.

Code: Select all#include <stdio.h>
void main()
{
 printf("Hello! This is my first C program with Linux Mint
");
}

For some reason, I'm getting the following error:

mint@mint-VirtualBox ~/Desktop $ gcc hello.c -o hello1
hello.c:2:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>

[code]...

View 8 Replies View Related

Programming :: Error: Gtk/gtk.h: No Such File Or Directory

Feb 13, 2011

gcc kk.c : kk.c:1: fatal error: gtk/gtk.h: No such file or directory compilation terminated.

View 1 Replies View Related

Programming :: File/directory Operations In C?

May 5, 2010

How do you do things like list directory contents, mov/copy files, make directoriestc. in C?

View 1 Replies View Related

Programming :: G++ --> Iostream.h: No Such File Or Directory?

Apr 8, 2011

I recently switched to ubuntu, so kinda new to it. I installed g++ by

Code:
sudo apt-get install build-essential
and now when i'm trying to compile this:

[code]....

View 14 Replies View Related

Programming :: Tar; Cannot Stat: No Such File Or Directory?

Oct 5, 2010

I'm trying to backup every night a big directory (~2.5Gb) using tar+gzip.I'm calling tar like this:nice -n 19 tar --ignore-failed-read --exclude-tag-all=.kein-backup -Pczpsf '/backup/20100925233802f/archive.tar.gz' '/srv/products'And in 90% of the cases works just fine, in about 20 minutes is everything done. However, if it happens that in those minutes one file or folder from '/srv/products' gets deleted it reports me the following error:tar: /srv/products/prod14564.gif: Cannot stat: No such file or directorytar: Exiting with failure status due to previous errorsDoes it exist a parameter for tar to ignore this kind of errors? Is it there any other way to avoid these errors

View 3 Replies View Related

Debian Programming :: No Such File Or Directory But Installed

May 13, 2014

I'm trying to compile a project, but I receive the following error:

Code: Select allIn file included from monitor/gfx/field.h:14,
                 from monitor/gfx/termapi.h:18,
                 from monitor/gfx/termapi.cpp:16:
monitor/gfx/glfont.h:8:31: error: GL/gl.h: No such file or directory
monitor/gfx/glfont.h:9:33: error: GL/glu.h: No such file or directory
monitor/gfx/termapi.cpp:20:30: error: GL/glx.h: No such file or directory

[code]...

I don't know what to do to get pass this.

View 14 Replies View Related

Programming :: Check If There Is Any Ejb File Exists In The Directory

May 1, 2011

I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.

View 1 Replies View Related

Programming :: Can't Compile C++ - Execvp: No Such File Or Directory

Mar 2, 2011

i was trying to Compile my c++ program..cme across this problem....but my c programs are getting compilied without any problem.I am using fedora 14. Below is the way terminal reacted to my program..

gcc prog1.cpp gcc: error trying to exec 'cc1plus': execvp: No such file or directory

View 4 Replies View Related

Programming :: Error: Sys/timerfd.h: No Such File Or Directory

Mar 8, 2011

In my project iam using timerfd.h file info. I included it header file, Iam using "arm-none-linux-gnueabi-gcc" compiler. This file exists in "arm-2010q1/arm-none-linux-gnueabi/libc/usr/include/sys". When i try to execute the program iam getting error: sys/timerfd.h: No such file or directory. remaining files able to find from the same location(sys/time.h, sys/ioctl.h,sys/socket.h).

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <signal.h>

[Code].....

View 1 Replies View Related

Programming :: Mail On File Increasing In A Directory

Feb 16, 2010

Using a shell script....In a particular directory if we are adding one or more files i should get a mail to my mail id , every time when the new file is added i should get the mail.Using crontab so that it will execute automatically wen any new files are added.

View 3 Replies View Related

Programming :: Perl Script To Look At A Directory For A New File?

Oct 23, 2009

I am new to programming but I am a quick study. I have this script working.

#!/usr/bin/perl
@info=stat("/share/") or die "Can't stat share $!";
while (1) {

[code]...

View 2 Replies View Related

Programming :: Why Does Installer Copy *.h Into /usr/include

Sep 15, 2010

I am working on a Linux embedded C++ project. When I do an install, all of the header files are copied into the target at /usr/include/.My question is, why would the target ever need the C++ header files? It seems to me all the target needs is the executables and the library *.so files.I want to remove the installation of header files into the target but I'm afraid I'm missing something.

View 3 Replies View Related

Programming :: Way To Add Some Sort Of I-/usr/include Commands

Feb 27, 2011

I'm learning GTK , and would like to use Codeblocks, and/or KDEvelop, and compile my c files using that, but always get an error about gtk/gtk.h not found, but can't figure out how to add the commands... I normally type gcc -o Program1 main.c `pkg-config --libs --cflags gtk+-2.0` That's a lot to type every time to compile.. Isn't there an easier way, in KDevelop, Monodevelop, and/or Codeblocks to make this step quicker, by adding some sort of I-/usr/include commands, or something?? thanks in advance, =). I looked online for some results, but didn't come across anything handy..

View 1 Replies View Related

Programming :: Include - H Files From Dir Inside Dir?

Feb 2, 2011

Basically I have a dir that contains my makefile and another directory inside this called source this holds main source files. External to these I have a couple of dirs common and drives.

In my make file I use

To include the protoypes from the headers in the folders common and drivers used by source, this works fine. However in common and drivers I use a few variables that are set in the source dir. I set these with externs inside the common and driver files. However I'm sure I should be able to set the directory path for source inside my makefile. So say I have inside source hardware.h with prototypes, I set DINCDIR = -I/Source -I../Drivers -I../CommonFiles

Then from a c file inside my common folder I say #include "hardware.h" the file should be able to see hardware.h and it's protoypes. However I get:

Is there some way I can get the extern dirs to see the source dir?

The set out is something like;

View 1 Replies View Related

Programming :: Best Way To Include Variables In String Using C

Feb 26, 2009

What's the best way to include variables in a string using C,i.e if i want to do the following query in C, how would i do that.How do i build the string variable up in C?

View 1 Replies View Related

Programming :: PHP - List Directory - Choose A File - Change Its Name

Mar 16, 2011

Im looking to use PHP to list a directory. When I click on a filename, I'd like it to automatically remove the first 16 characters off of the filename and save it to the filesystem.

View 6 Replies View Related

Programming :: Script That Moves A Specified File Into The Dustbin Directory?

Nov 11, 2010

I've written a vary basic script that moves a specified file into the dustbin directory.The script is as follows:

Code:
#!/bin/bash
#move items to dustbin directory

[code]...

View 4 Replies View Related

Programming :: Shell Script Searching File In A Directory?

Feb 23, 2011

I am trying to search particular directory which has files with extensions like .html,.mp3,.xml etc I have a list of such files What I am doing in my script is

for file_name in `find /home/ -name index.html -o -name song.mp3 -o -name help.xml`;
do
if [ $file!='' ]
then

[code]....

I have around 100+ files name with some particular extension , this code works fine if the directory name does not have any special character in it like " "(white character) .

It is failing to give the output. IF I run the find command on the console the I am getting the correct file name with location

/home/user1/public_html/mediawiki/config/movie.mp3
/home/user1/public_html/mediawiki/movie.mp3
/home/user1/public_html/mediawiki/pop.mp3
/home/user2/public_html/index test/pop.mp3
/home/user2/public_html/index test/web.xml
/home/user2/public_html/song.mp3

If I echo the file name from the script Then output is little missed match when a directory name has special char like " "

/home/user1/public_html/mediawiki/config/movie.mp3
/home/user1/public_html/mediawiki/movie.mp3
/home/user1/public_html/mediawiki/pop.mp3

[code]....

I am not sure what is wrong with script or my code .. Does shell have un-controlled behavior of manipulating the output of any command.

View 14 Replies View Related

Programming :: View / Edit C Include Path?

Jul 5, 2010

For gcc, it seems that there are multiple include paths like /usr/include and /usr/src/linux/include. How do I check the current include path for gcc via command line? How do I edit it?

What about for cc?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved