include-path Questions
9
Solved
I am new to C++ and Visual Studio Code, so I'm not sure how to fix this issue. I've tried to go through the tutorial in Using Clang in Visual Studio Code, but I can't seem to paste their "Hell...
Croydon asked 23/12, 2020 at 8:27
7
Solved
Here is the full context of the situation:
I recently got a new Mac, I'm a php developer so I downloaded MAMP and started developing.
First I noticed that my includes were not being included, but...
Sneak asked 23/4, 2011 at 3:47
6
Solved
Essentially, I've been able to install openCV fine for python but I also want to be able to do it for C++. I was able to install it using my linux distro's package manager (pacman for manjaro which...
Emikoemil asked 20/10, 2019 at 23:19
2
I'm working with Arduino and Teensy boards from inside VS code. I can build and program everything fine, but the highlighting and code following functions built into VS Code don't work.
Previously,...
Bumpy asked 6/5, 2020 at 20:6
9
I'm trying to use vscode with arduino but have no success.
The problem seems to be something with the libraries path.
But I havent been able to fix that !
I'm on linux.
"message": "...
Inerrant asked 7/7, 2018 at 23:22
8
I am using pip and trying to install a python module called pyodbc which has some dependencies on non-python libraries like unixodbc-dev, unixodbc-bin, unixodbc. I cannot install these dependencies...
Toggle asked 13/9, 2013 at 9:56
1
I am trying to compile a program with x11 and use musl for the c library. I still have glibc on my system. Musl is located at /usr/local/musl/include The glib headers are still in /usr/include
Whe...
Yoho asked 9/2, 2017 at 4:12
5
Solved
I want to get the name of the file that includes another file from inside the included file.
I know there is the __FILE__ magic constant, but that doesn't help, since it returns the name of the in...
Vinylidene asked 22/4, 2012 at 4:26
1
So I've always had to use the project's "Additional Include Directories" property to set relative paths to other (library) projects that I'm dependent on for a given solution.
So the solution stru...
Iaria asked 6/3, 2018 at 19:8
11
Solved
In PHP scripts, whether calling include(), require(), fopen(), or their derivatives such as include_once, require_once, or even, move_uploaded_file(), one often runs into an error or warning:
F...
Alforja asked 12/4, 2016 at 14:58
5
Solved
I'm working in VSCode with the C/C++ extension on Ubuntu 18.04.
I'm trying to include gmodule.h and it raises the error gmodule.h: No such file or directory on line 2, character 10 of the main fil...
Asexual asked 7/4, 2020 at 12:2
4
I am trying to do a project in C but I have problems with the string #include<stdio.h>, I tried several tutorials but none of them worked, my code:
#include <stdio.h>
int main () {
...
Pyroconductivity asked 8/10, 2020 at 20:48
2
Solved
In CMake version 3.8, native support for CUDA as a language was introduced. When a project has CUDA as one of its languages, CMake will proceed to locate CUDA (e.g. it locates the nvcc binary).
As...
Avaricious asked 8/8, 2018 at 22:31
3
Solved
I am creating two c++ projects in my Qt creator. The first is an Application project and the other is unit-test project. the two projects, separately, work fine. However, when linking the two toget...
Incoherence asked 4/6, 2013 at 12:20
8
Solved
What I want do to is to include 'file1.php' from 'domain1' into 'file2.php' on 'domain2'. So what I figured I should do is something like this:
file2.php
require_once '/var/www/vhosts/domain1/http...
Alltime asked 3/3, 2010 at 9:37
3
Update: Just over six months after opening a support call to Microsoft it has been rejected, they claim it is not a bug (since the documentation doesn't explicitly say that the behaviour seen isn't...
Whiffler asked 9/8, 2009 at 14:16
15
Solved
I've just installed Visual Studio 2015 on my working laptop with Windows 10.
I've cloned a repository with a solution created with the same version of Visual Studio (update 3) on another PC, alway...
Photocompose asked 10/7, 2016 at 8:46
5
Solved
When I compile a very simple source file with gcc I don't have to specify the path to standard include files such as stdio or stdlib.
How does GCC know how to find these files?
Does it have the /...
Antherozoid asked 12/2, 2011 at 21:45
4
Solved
So,
examining this directory structure
/include_one.php
/include_two.php
/directory/main_file.php
Assume that I am in /directory/main_file.php and I call include('../include_one.php'); inside o...
Caracul asked 26/7, 2010 at 10:39
2
Solved
I was recently advised to check out conda as a package manager. Unfortunately I don't succeed in finding how to make my compiler find a header-only library installed with conda? Ideally I would lik...
Dynamiter asked 19/7, 2018 at 13:42
8
I have file structure on EC2 like : but facing some file referencing problem.
index.php
-db
-config.php
-cron
-cron1.php
I have tried file referencing as:
`require_once (dirname(__FILE__).'/d...
Picturize asked 8/8, 2013 at 6:17
4
Solved
I am new to the Netbeans IDE and Java. I have a java project that shows lot of compilation errors:
can not import "org.apache.commons.logging.Log"
Can somebody please help me with these errors,...
Sisco asked 5/5, 2011 at 6:9
5
Solved
This may be a very simple question but I haven't been able to figure it out so any help is appreciated.
I have a header that is located in a general folder because I want to use it in several proj...
Deprived asked 11/8, 2016 at 20:38
1
Solved
I know this one way of adding include paths to clang:
clang++ -I <dir> a.cpp
but with this, that path is only added for that particular file, and you have to write that every time linting, so...
Stratocumulus asked 7/9, 2020 at 18:37
3
Solved
I'm currently using https://marketplace.visualstudio.com/items?itemName=mitaki28.vscode-clang which is great as a nice little tool for accessing member functions.
I am however having one issue wi...
Shaker asked 21/3, 2016 at 2:46
1 Next >
© 2022 - 2025 — McMap. All rights reserved.