qengine icon indicating copy to clipboard operation
qengine copied to clipboard

Multiply defined symbols

Open tutryx opened this issue 1 year ago • 3 comments

Including <engine/qengine.hpp> in different .cpp files causes multiply defined symbols error at compile time. Is that intended for some reason? Or can I add "inline" to fix this?

tutryx avatar Feb 21 '25 19:02 tutryx

inline fixes this

Marshall-67 avatar Mar 02 '25 16:03 Marshall-67

dont we have to inline everything of qengine then?

patryck507 avatar Mar 23 '25 14:03 patryck507

To get mine to work, I had to do some really weird things. First off, I had to add /FORCE:MULTIPLE to the command line arguments in the linker section. Then I had to edit pdfn.xxx line 543, and make the specified non inline function into an inlined function. Not sure if this will break shit, but that's how I got it to compile.

bditt avatar Oct 05 '25 18:10 bditt