DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2632
Version: 1.3-current


Hello,

- here is the error message answer :

To get the following messages (localized in french), i only reverted to
genuine file for Fl_Multiline_Output, let the modification for other files
(but messages are then very similar)

1>PopUpMessageWidgetClass.obj : error LNK2001: symbole externe non résolu
"__declspec(dllimport) public: virtual __thiscall
Fl_Multiline_Output::~Fl_Multiline_Output(void)"
(__imp_??1Fl_Multiline_Output@@UAE@XZ)

1>PopUpMessageWidgetClass.obj : error LNK2001: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Fl_Multiline_Output::Fl_Multiline_Output(int,int,int,int,char const *)"
(__imp_??0Fl_Multiline_Output@@QAE@HHHHPBD@Z)

1>C:\Users\Mathieu\Documents\Devel\Incub\..\bin\Incub\vc100\Win32\Release\LibIncubSoftware.dll
: fatal error LNK1120: 2 externes non résolus

without FL_EXPORT : it builds (and works) perfectly

- here is the answer about the program structure :

the build errors occurs in a custom DLL that is using FLTK code, and were
i am deriving from FLTK classes  and exporting my custom widgets.

- here is the answer about problematic classes :

Fl_Input_Int
Fl_Multiline_Input
Fl_Multiline_Output

These derived class are located inside my custom DLL, and exported from
this DLL (with mecanism similar to the FL_EXPORT one in order to have a
compile time define switching from dllimport to dllexport)

I am having those error messages only for class were i'm deriving other
classes from.

- I'll try today to build a small solution to demonstrate and share the
behaviour.


Link: http://www.fltk.org/str.php?L2632
Version: 1.3-current

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

Reply via email to