|
| |||||||||||||||||||||||||
| jimctu (24) | |
|
hi everyone im doing a project with the miracl library... i make it works fine with codeblocks on ubuntu 9.04... but in my project i have to measure the performace of the algorithm, so i decided to use the time command on linux, but when i compile my project on the prompt it doesnt find the miracl library. On codeblocks i just added the path to the linker...so i think i have to do it too with gcc, but i dont know how... anyone knows how i can do this? | |
|
|
|
| PanGalactic (1558) | |
|
There are a couple of ways to do this: when linking: g++ -R<path_to_directory> Or set your LD_LIBRARY_PATH variable (like PATH, but contains directories of libraries) before running the executable. | |
|
|
|