Results 1 to 1 of 1
I am completely new to linux. I am trying to compile and run a demo.cc program which needs installation of a fftw3 library. However I don't have root privileges, so ...
- 03-11-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
Linking libraries installed in a home directory (using g++34)
I am completely new to linux. I am trying to compile and run a demo.cc program which needs installation of a fftw3 library. However I don't have root privileges, so I installed the library on my desktop which produced three folders (lib, share and bin) on my desktop.
Now when I try to use the following command and I get the following error :
g++34 Demo.cc -O3 ~/net/trenton/y/ypkumar/Desktop/lib/libfftw3 -Wall
Error :
Demo.cc:8:18: fftw3.h: No such file or directory
In file included from Demo.cc:10:
AADFT_engine.h:121: error: `fftw_complex' does not name a type
AADFT_engine.h:122: error: `fftw_plan' does not name a type
etc.......
I know that the complier looks for the libraries in standard places. but my librrary is installed in a home directory and hence i speciifed the path. But it does not work.
I tried many other options in the command (with path, without path, L~/net/trenton/...., etc..). But I always get the same errors.
Can anyone please help me?????


Reply With Quote