Missing freetype2110.lib when building OgreMain [SOLVED]

Problems building or running the engine, queries about how to use features etc.
Post Reply
choef
Gnoblar
Posts: 11
Joined: Sun Aug 28, 2005 2:49 pm
Location: South Africa

Missing freetype2110.lib when building OgreMain [SOLVED]

Post by choef »

Hi, I get this error when trying to build OgreMain

Linking...
LINK : fatal error LNK1181: cannot open input file 'freetype2110.lib'

I downloaded the full latest CVS on the 11th October.

I've downloaded the freetype2110 library, but there's no freetype2110.lib file
in there.

Help ?
Last edited by choef on Thu Oct 13, 2005 6:53 pm, edited 1 time in total.
nfz
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1263
Joined: Wed Sep 24, 2003 4:00 pm
Location: Halifax, Nova Scotia, Canada

Post by nfz »

If you are going to play with cvs HEAD then its assumed you know how to build the dependencies. You'l have to build the freetype library from source.
choef
Gnoblar
Posts: 11
Joined: Sun Aug 28, 2005 2:49 pm
Location: South Africa

Thanks

Post by choef »

I don't want to play with the HEAD, I just want to get the
PLSM 2 Plugin to build, and I thought I had to build the ogre source
first. Then build the PLSM 2 library.

I downloaded the Dependecies for MS VC++ 2003, but the freetype2110.lib file is not in there with the other lib files.

Was wondering why not?
Has this lib file been included in Ogre recently?

I've also built an earlier version of the source with Code::Blocks using different Dependencies obviously.

Is the freetype2110 specific to VC++ ?

Just curious to learn about this stuff...

Thanks. I will try building the freetype lib.

I can't seem to find a project file to build.
A MS VC++ 2003 project file i mean.

Sorry - I'm new at this...

Could someone maybe send me the .lib file or something?

Thanks...
choef
Gnoblar
Posts: 11
Joined: Sun Aug 28, 2005 2:49 pm
Location: South Africa

There we go

Post by choef »

I've found a few forums relating to this problem.

I will look around and see if I can sort it out.

Sorry for the time wastage

Thanks,
Jeff...
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

Download freetype2110 source.

In include/freetype/config/ftmodule.h

comment the following line as stated by sinbad

Code: Select all

FT_USE_MODULE(otv_module_class)
so it becomes

Code: Select all

//FT_USE_MODULE(otv_module_class)
Then, using Visual studio open \builds\win32\visualc\freetype.dsw

and build everything.

You'll get the compiled libs in \objs

(there's now a new ogre SDK compatible binary and source released in ogreaddons forums to check out with almost all latest plsm2 features. Just missing occlusion culling.)
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

Get the SDK compatible download of plsm2 - you are a newbie, right?
So you don´t want to use a potentially unstable Ogre HEAD. :wink:
choef
Gnoblar
Posts: 11
Joined: Sun Aug 28, 2005 2:49 pm
Location: South Africa

Newbie is right :)

Post by choef »

I just want to make my own project using Ogre and PSLM2

I've got the latest binaries "PSLM2_Binary.zip", and I'm busy downloading SDK for MS VC++ 7.1 (2003)

If I install these,
Will I be able to get a project going using Ogre without
having to compile any Ogre or PSLM2 Source.

Thanks.

----

Thanks to tuan too,.
And sorry about the pm's - I just read the rules now.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

You need to compile PLSM2 I guess. :wink:
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

sichuan
Halfling
Posts: 47
Joined: Thu Nov 18, 2004 2:25 pm

otv_module_class

Post by sichuan »

Why to comment the following line?
Can you give some info for it?

Code: Select all

FT_USE_MODULE(otv_module_class) 
genva
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1603
Joined: Wed Oct 20, 2004 7:54 am
Location: Beijing, China
x 1

Re: otv_module_class

Post by genva »

sichuan wrote:Why to comment the following line?
Can you give some info for it?

Code: Select all

FT_USE_MODULE(otv_module_class) 
Because 'otv' module can't compile with VC for now.
Post Reply