FLTK logo

STR #2012

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

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
Summary:Fix build problems with trunk as dll on win32(vc++)
Created By:FelixJ
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
#1 FelixJ
08:31 Jul 20, 2008

Trouble Report Comments:

Post Text ]
Name/Time/Date 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 ]


Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.