Foros - Stratos

Proyectos => CRM32Pro => Mensaje iniciado por: Luka en 17 de Enero de 2008, 10:56:41 AM

Título: problem with making DLL
Publicado por: Luka en 17 de Enero de 2008, 10:56:41 AM
I make project using your engine CRM32Pro. I have problem with making DLL because of error:


1>main.obj : error LNK2001: unresolved external symbol "class CRM32Pro_Main CRM32Pro" (?CRM32Pro@@3VCRM32Pro_Main@@A)
1>main.obj : error LNK2001: unresolved external symbol "class CRM32Pro_IImage * IImage" (?IImage@@3PAVCRM32Pro_IImage@@A)
1>main.obj : error LNK2001: unresolved external symbol "class CRM32Pro_ISoundFX * ISoundFX" (?ISoundFX@@3PAVCRM32Pro_ISoundFX@@A)
1>main.obj : error LNK2001: unresolved external symbol "class CRM32Pro_ILogSystem ILogSystem" (?ILogSystem@@3VCRM32Pro_ILogSystem@@A)
1>main.obj : error LNK2001: unresolved external symbol "class CRM32Pro_ITimeSystem * ITimeSystem" (?ITimeSystem@@3PAVCRM32Pro_ITimeSystem@@A)

Can you help me?
Título: problem with making DLL
Publicado por: TheAzazel en 17 de Enero de 2008, 01:43:06 PM
Hi Luka,

it seems your are not linking against static import library (CRM32Pro.lib) and it doesnt found the references to objects on the DLL.

Try to add to your project that static import library and let me know!

Cheers!
Título: problem with making DLL
Publicado por: Luka en 17 de Enero de 2008, 03:18:13 PM
Thank you for your reply.
I linked CRM32Pro.lib, but errors remained. Then I linked CRM32Pro.static.lib  and now it is OK.