Re: [Ubuntu] cpp and python codes not able to access gdal library

2016-10-24 Thread alassane toure
Angelos, Adding the following to the code works... sys.path.insert(0,"/usr/lib/python2.7/dist-packages") is there any other way to avoid adding this line? Regards, Alassane On Mon, Oct 24, 2016 at 9:03 AM, Angelos Tzotsos wrote: > Hi, > > Sorry for the delayed response. > Is this issue still

Re: [Ubuntu] cpp and python codes not able to access gdal library

2016-10-14 Thread alassane toure
GDAL is 1.11.2 as I had other issues with 2.1.0. and python-gdal has to be the most recent one. I will let you know as soon i get on the server. Thanks. Alassane On Fri, Oct 14, 2016 at 4:28 AM, Angelos Tzotsos wrote: > Hi, > > Can you please list the versions of libgdal and python-gdal that

Re: [Ubuntu] cpp and python codes not able to access gdal library

2016-10-14 Thread Angelos Tzotsos
Hi, Can you please list the versions of libgdal and python-gdal that are installed on your machine? Best, Angelos On 10/14/2016 06:41 AM, alassane toure wrote: Even, I tried the followings but the response did not change... sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-

Re: [Ubuntu] cpp and python codes not able to access gdal library

2016-10-13 Thread alassane toure
Even, I tried the followings but the response did not change... sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install python-gdal Any suggestions? Thanks, Alassane On Thu, Sep 8, 2016 at 3:51 AM, Even Rouault wrote: > Alassane, > > > I developed a g

Re: [Ubuntu] cpp and python codes not able to access gdal library

2016-09-08 Thread Even Rouault
Alassane, > I developed a gdal code on my local machine and it worked. Having gdal and > g++ working on the server my compilation of the same code resulted in the > following response... > > gcc -o applymask applymask.cpp -I /usr/include/gdal -lgdal -lm > applymask.cpp: In function âint main(in

[Ubuntu] cpp and python codes not able to access gdal library

2016-09-07 Thread alassane toure
Group, I developed a gdal code on my local machine and it worked. Having gdal and g++ working on the server my compilation of the same code resulted in the following response... gcc -o applymask applymask.cpp -I /usr/include/gdal -lgdal -lm applymask.cpp: In function âint main(int, char**)â: app