How to pass on non-standard libs to others without installing
Hey @ all,
I have a little problem. At the moment I work with the libraries leptonica and tesseract. Now I want to pass on these libs with my programm (c++) to other users (they shouldnt istall these libs). But how I have to do this? At the first time I thought I have to link these libraries statically with : "ln -s 'g++$(CXXFLAGS) -print-file-name=ltesseract' ltesseract.a" It creates an file. But was it the right command? After this, have I to create a new binary? Or what should I do? Thanks :) |
to the compile line add the location
Code:
gcc source.cpp -o NameOfProgram -L/the/location/ofTheFile/Lib.so |
All times are GMT -5. The time now is 12:15 AM. |