User forums > Help

Trouble creating import library

(1/2) > >>

Bill:
This seems like a bug, but then I don't know what I'm doing.

I have C::B RC2, MS toolkit, platform SDK, and .NET SDK.
I am trying to compile OGRE.
I have worked through most of the prolems (I hope), but I am stuck on this one.
The packages are supposed to create import libraries however only some of them are. All the package's target options have "Create import library" checked. Yet some build the library (e.g. OgerMain, Plugin_ParticleFX) and some don't (e.g. Plugin_CgProgramManager, PlatformManager_Win32). I can not find any difference between any of the compile options between the packages. I even looked .cbp files and could not see a difference.

As an interesting experiment I tried to break the working ones by unchecking the "Create import library," but it still built the library anyway. argggg....  I don't understand.

I'm hungry and tired so I'm going home. I hope someone can help me.

mandrav:
The "Create import library" checkbox doesn't work for VC Toolkit. It always generates an import library, except if specific options are passed to the linker. Anyway, you don't need import libraries for all the Ogre DLLs (only OgreMain IIRC).

Urxae:

--- Quote from: mandrav on November 05, 2005, 10:02:34 am ---The "Create import library" checkbox doesn't work for VC Toolkit. It always generates an import library, except if specific options are passed to the linker.

--- End quote ---

So wouldn't it be possible to reverse the logic then? (If the box is not checked pass an extra parameter to the linker)
If this is not possible in the current compiler framework, this might be something to remember during the coming redesign.

Bill:

--- Quote from: mandrav on November 05, 2005, 10:02:34 am ---The "Create import library" checkbox doesn't work for VC Toolkit.

--- End quote ---

Ah! So I'm not going crazy. That's good to know.


--- Quote from: mandrav on November 05, 2005, 10:02:34 am ---It always generates an import library, except if specific options are passed to the linker. Anyway, you don't need import libraries for all the Ogre DLLs (only OgreMain IIRC).

--- End quote ---

Any idea what those options that stop it from building the .lib file might be?

mandrav:

--- Quote ---Any idea what those options that stop it from building the .lib file might be?
--- End quote ---

If I knew I would have implemented this option :oops:

Navigation

[0] Message Index

[#] Next page

Go to full version