Game Development Community

inconsistent dll linkage

by Gibby · in Torque Game Engine · 01/07/2010 (10:57 pm) · 0 replies

Greets All...

I'm trying to integrate Opcode Polysoup into stock 1.5.2, using VC++ 2005 Express. I have compiled opcode.dll and opcode.lib successfully. When I go to compile the solution, I get:

------ Build started: Project: Torque Demo, Configuration: Debug Win32 ------
Performing Custom Build Step
Performing Custom Build Step
Performing Custom Build Step
Performing Custom Build Step
Performing Custom Build Step
Performing Custom Build Step
Compiling...
IceUtils.cpp
Using OPCODE
Compiling on Windows...
Compiling with VC++...
k:\tge_ews\torque sdk\lib\opcode\ice\iceutils.cpp(25) : warning C4273: 'IceCore::Alignment' : inconsistent dll linkage
        k:\tge_ews\torque sdk\lib\opcode\ice\iceutils.h(217) : see previous definition of 'Alignment'

Given that I do my development on OSX and port to Win, I am still unfamiliar with VC++. I'm sure I have not linked the opcode library correctly, can someone explain how to correctly link the Opcode library to the 'Torque SDK' solution?

Thanks

Gibby