| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]
STR #2012
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Unassigned |
Summary: | Fix build problems with trunk as dll on win32(vc++) |
Version: | 2.0-current |
Created By: | FelixJ |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | FelixJ 08:31 Jul 20, 2008 |
| OS: WinXP-PRO SP2 x32 Dev-Env: VS2005 SP1
The build of a dll from trunk on win32 with vc++ fails because of two lines in WidgetAssociation.h:
Line 39: void* FL_API foreach(const AssociationType*, const Widget*, AssociationFunctor&); should be: FL_API void* foreach(const AssociationType*, const Widget*, AssociationFunctor&);
Line 25: fails with "error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: virtual __thiscall fltk::AssociationFunctor::~AssociationFunctor(void)" (??1AssociationFunctor@fltk@@UAE@XZ)" in Funktion ""public: virtual void * __thiscall fltk::AssociationFunctor::`scalar deleting destructor'(unsigned int)" (??_GAssociationFunctor@fltk@@UAEPAXI@Z)". WidgetAssociation.obj"
The attached patch "removes" the AssociationFunctor-destructor, fixes the issue with line 39 and adds the necessary files to the vcnet-projects to build fltk statically and as dll with WidgetAssociation on win32 with VS2005.
cu Felix | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |