Shon Pritchett wrote:
> Hello,
> 
> If you are having problems compiling code against the current FLTK 2.0.x 
> because of a link error to an unresolved symbol:
> 
> delete_associations_for( ..mangled stuff.. )
> 
> this is due to a bad compilation of FLTK 2.0.x.  This symbol belongs to a 
> function which uses external linkage between Widget.cxx and 
> WidgetAssociation.cxx.  The function is defined in WidgetAssociation.cxx but 
> the file itself is not included in the fltk project.  The result is that fltk 
> 2.0.x ( the current snapshot...which won't be current much longer ) compiles 
> without error but any fltk 2.0.x application that links against it will cause 
> MSVC 9's linker to generate errors.
> 
> To fix the problem the file WidgetAssociation.cxx must be added to the fltk 
> project as a "source" file.
> 
> After this fltk 2.0.x should compile and link with your code as expected.  It 
> has so far for me anyhow.
> 
> I hope this this helps someone and and thank you to the contributors to this 
> project :)
> 
> Simulacrum111

Hi Simulacrum111,
The same solution worked for me.  I think the same source file also
needs to be added to the 'fltkdll' project.

I also got a compilation error from file 'Window_fullscreen.cxx' line 220:
'# warning "This method will not work on this system. (you can ignore
this warning)"'
produces a fatal error in VC++ 2008.  I don't think this preprocessor
directive is supported in VC.

These problems have been around for at least a few snapshots now, is
anyone planning to replace the VC Solution with an updated one?  If not,
how can I submit updated files to the project?

Cheers,

Jivan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to