Questions tagged [include-path]

An include path is a set of directories that contain headers or library files that should be accessed with no prefixed directory. Include paths normally include the location of the standard library, locations of third party libraries, and locations of system headers.

897 questions
0
votes
2 answers

How to include a prebuilt library on Android?

I have a 2 prebuilt libFOO.so libraries for android. I have copied them on: Projectfolder/lib/armeabi/libFOO.so Projectfolder/lib/armeabi/libFOO2.so Projectfolder/lib/armeabi-v7a/libFOO.so Projectfolder/lib/armeabi-v7a/libFOO2.so The problem is…
michelemarcon
  • 23,277
  • 17
  • 52
  • 68
0
votes
1 answer

PHP: variable undefined in included or required file

Hi I have a problem with a variable not being set. It works normally if I am using a RELATIVE path however when using an ABSOLUTE path php says it is not set.
JohnnyQ
  • 4,839
  • 6
  • 47
  • 65
-1
votes
0 answers

Clang/G++ include my local stddef.h internally when it's path is given

I have $ cat a.cpp #include int main() {} $ cat stddef.h #error won't compile $ clang a.cpp -I. In file included from a.cpp:1: In file included from…
Tigran Sahakyan
  • 363
  • 1
  • 5
  • 10
-1
votes
1 answer

Running C file in Visual Studio Code (Windows) without error - #include stdio.h cannot open source file

How to run a C file in Visual Studio without: having error message #include stdio.h cannot open source file; and not download mingw for Visual Studio Code?
-1
votes
2 answers

How to do all includes in source file?

Is it possible to write all includes in the source file? Let's say we have to write a module called sum (sum.h/sum.c) that provides sum functions for all numeric types. All function declarations are done in sum.h file as follows: uint16_t…
abdo raqi
  • 34
  • 4
-1
votes
1 answer

PHP global include path not working as expected

I'm trying to use a file located in C:/WEBserver/php_includes. The file in question is called stripe.inc.php, however when I include('stripe.inc.php') I get this error: Failed…
peter oehman
  • 13
  • 1
  • 5
-1
votes
2 answers

Creating a 64-bit application in Visual Studio with SysNative

I'm trying to build a 64-bit application using Visual Studio in C++ I need to access Sens.dll in Windows directory. Since Visual Studio is a 32-bit application, I have to use SysNative instead of System32 #import…
Yogesh Kumar
  • 29
  • 1
  • 8
-1
votes
1 answer

RegGetValue(), header not working in c

There are various variations of this question relating to c++ but I'm trying use registry functions in C. I know that includes , so why is it not seeing RegGetValue(). Is it exclusive to C++? Is there a way to use it in C? This is some code found…
-1
votes
1 answer

My makefile isn't finding my include paths

Simply put: It's not finding the include paths: CC = g++ OBJS = *.o #*/*.o DEBUG = -g PNAME = game INCLUDES = -Iheaders CFLAGS = -Wall $(DEBUG) LFLAGS = -Wall -lsfml-graphics -lsfml-window -lsfml-system $(DEBUG) all: build build: $(OBJS) …
Jason Dietrich
  • 155
  • 1
  • 1
  • 8
-1
votes
1 answer

Which path for C++ in QNX7 should be included?

There are existing two include paths(5.4.0, v1) and two libraries(libstdc++, libc++) for C++ project in QNX7. When using v1 path, it looks like libc++ should be used only. I want to know the difference of them and features.
-1
votes
2 answers

how to specify a directoy as including header files directory

I don't want to use -I flags each time for including a header file I made before. I want to specify a directory and save header files there and make GNU gcc search there by default. PS: I use windows and GNU 5.1.0.
-1
votes
1 answer

difference between include with parentheses and include_once double quote and single

So hey guys I'm trying to figure the difference between these two. include('inc/config.php'); with include_once 'inc/config'; I try google the question above on Google but nothing direct me. So hope you guys can help me to explain. Thanks .
-1
votes
1 answer

include files in Linux

I'm not good in Linux. I'm trying to build CodeLite from source. The directions on CodeLite's web site (here) are insufficient for me to perform the build. I think I am just lacking knowledge of the build system in Linux. The build step I am at…
Kyle Sweet
  • 306
  • 1
  • 3
  • 15
-1
votes
2 answers

Common heade & footer in all webpages without using PHP, JSP, ASP

I have header and footer separate html files. I need to include those files in many number of webpages, I am looking for a solution with the help of using Javascript and jQuery. But not using PHP, ASP & JSP technologies.
-1
votes
1 answer

g++ does not find library

First of all, feel free to answer as if I was 5 yo :) I've written a Hello World c++ program, intended to include the cryptography library fhe.h, which I have installed previously (make check works fine). I have a folder, let's call it "dir",…