You need to add the directory which contains the built library to the
list of directories the linker searches.
VS>>Options>>Projects and Directories>>Libraries.
Once the directory is added, then you can add the .lib file to the
additional dependencies and it should find it.
On 1/25/2010 11:23 AM, samaram s wrote:
Yeah i got a dll..i ignored those warnings...
But when i tried to use that dll in my sample code, I am getting the
following linker error.
Error 1 fatal error LNK1104: cannot open file
'freetype2311MT_D.lib'
I placed the above lib under the following path,
project->properties->Configurationproperties->Linker->Input->Additionaldependencies.
Am i right?Or should i place else where?
On Mon, Jan 25, 2010 at 11:09 AM, Vincent
Torri <address@hidden>
wrote:
On Mon, 25 Jan 2010, samaram s wrote:
Hi ,Can anyone please tell me how to compile and get freetype dll and
lib on
windows.
I tried downloading* ft2311.zip 10-Oct-2009 11:43 2.2M , *and compiled
the
source which is in the following path,
*ft2311\freetype2\builds\win32*\*vc2005
But I am getting the following warnings!
Warning 1 warning C4996: 'fopen' was declared deprecated
Warning 2 warning C4996: 'strncpy' was declared deprecated
Warning 3 warning C4996: 'strcat' was declared deprecated
Warning 4 warning C4996: 'strcat' was declared deprecated
Warning 5 warning C4996: 'sprintf' was declared deprecated
Warning 6 warning C4996: 'sprintf' was declared deprecated
Warning 7 warning C4100: 'get_inflections' : unreferenced formal
parameter
Warning 8 warning C4018: '<=' : signed/unsigned mismatch
Warning 9 warning C4018: '<=' : signed/unsigned mismatch
Warning 10 warning C4018: '<=' : signed/unsigned mismatch
Warning 11 warning C4018: '<=' : signed/unsigned mismatch
Warning 12 warning C4244: '=' : conversion from 'FT_UInt' to
'FT_UShort', possible loss of data
Warning 13 warning C4244: '=' : conversion from 'FT_UInt' to
'FT_UShort', possible loss of data
Warning 14 warning C4244: 'function' : conversion from 'int' to
'Bool', possible loss of data
Warning 15 warning C4244: 'function' : conversion from 'int' to
'Bool', possible loss of data
*
*Still somemore like above.
those are just warnings, so the dll should be built
Vincent torri
Please let me know whatelse should i inclde to compile successfully.
Thanks
Sam
*
|