c++ - Path Include in Make/options file -


i have simple problem, think, can't find solution. i've included "mathcalls.h" file 1 of projects since need use pow(double, double) method of it. therefore i've added filepath to...

... make/options file:

-iusr/include/i386-linux-gnu/bits  

... include file of ide (qt creator):

/usr/include/i386-linux-gnu/bits 

for include tried

#include "mathcalls.h" #include <mathcalls.h> 

but when building project error:

/home/user/solvernew/multiphaseeulerfoamnew.c:46: error: mathcalls.h: no such file or directory 

when looking @ this, seems compiler searching in project directory although have added path file? please note in "usr/include/i386-linux-gnu/bits" root has full access, others authorised "access files".

how can solve problem professionally?

the professional way gain access double pow(double x, double y) is:

#include <cmath> 

or, @ pinch:

#include <math.h> 

then there no issues grovelling around sub-directories under /usr/include.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -