Possible bug with Linker and PB 10 B7

Just starting out? Need help? Post your questions and find answers here.
loulou2522
Enthusiast
Enthusiast
Posts: 553
Joined: Tue Oct 14, 2014 12:09 pm

Possible bug with Linker and PB 10 B7

Post by loulou2522 »

my programm works perfectly on PB 6.04 LTS and cause linking error with PB 6.10 B7
Here is the message
PurePDF.lib(PurePDFShared_THREAD.obj) : warning LNK4006: _PB_MemoryBase_THREAD already defined in PV_Gadgets.lib(PV_GadgetsShared_THREAD.obj); second definition ignored
PurePDF.lib(PurePDFShared_THREAD.obj) : warning LNK4006: _PB_Instance_THREAD already defined in PV_Gadgets.lib(PV_GadgetsShared_THREAD.obj); second definition ignored
PurePDF.lib(PurePDFShared.obj) : warning LNK4006:
PurePDF_PB_DataSection already defined in PurePDF.lib(PurePDFShared_THREAD.obj); second definition ignored PurePDF.lib(PurePDFShared.obj) : warning LNK4006: _PB_MemoryBase already defined in PureBasic.obj; second definition ignored
PurePDF.lib(PurePDFShared.obj) : warning LNK4006: _PB_Instance already defined in PureBasic.obj; second definition ignored PurePDF.lib(PurePDFShared.obj) : warning LNK4006:
PurePDF_PB_DataSectionStart already defined in PurePDF.lib(PurePDFShared_THREAD.obj); second definition ignored PurePDF.lib(ipdf_Create_THREAD.obj) : error LNK2001: unresolved external symbol _PB_FormatDate@12
Is this a bug ?
Thanks
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Possible bug with Linker and PB 10 B7

Post by Fred »

FormatDate signature has changed (it uses a quad) you need an updated version of your PurePDF.lib
loulou2522
Enthusiast
Enthusiast
Posts: 553
Joined: Tue Oct 14, 2014 12:09 pm

Re: Possible bug with Linker and PB 10 B7

Post by loulou2522 »

thanks Fred,
I don't understand what you say becaus i never use pruepdf.lib in my programm i only use
modulepdf.pbi
Can you give me more explain to solve my problem please ?
Thanks
Post Reply