Friday, November 07 2003 @ 09:23 AM GMT
Contributed by: Admin
I have a problem linking my project to a dylib of my own: the dylib is correctly installed in the search path and I have the correct -lMyLib flag set in the linker option, but the linker always report an "Undefined symbol: xxx". What can be wrong?
To be used with the -l linker flag the installed dylib file must have a name starting with lib. Renaming your dylib file (the one installed in the search path) from MyLib to libMyLib should solve the problem of the linker not seeing your dylib.
(You may discover other problems after that of course…)