WFileDropWidget link problem on Windows
Added by André Violante over 7 years ago
Hello all,
I try the "filedrop" example in "examples" dir of WT 4.02.
On line 98 if I uncomment the line :
std::string spool = file->uploadedFile().spoolFileName();
I get the message :
error LNK2019: symbole externe non rÚsolu "public: class Wt::Http::UploadedFile const & __cdecl Wt::WFileDropWidget::File::uploadedFile(void)const " (?uploadedFileFile@WFileDropWidget@Wt@
QEBAAEBVUploadedFileHttp@3
XZ) rÚfÚrencÚ dans la fonction "private: void __cdecl FileDropApplication::saveFile(class Wt::WFileDropWidget::File *)" (?saveFileFileDropApplication@
AEAAXPEAVFileWFileDropWidget@Wt@@
Z)
I'm working on Windows, Visual Studio 2017, Wt 4.02 installed via 64 bits exe.
It seems there is a problem with the function "uploadedFile()" of class "Wt::WFileDropWidget::File"
Thanks
André
Replies (2)
RE: WFileDropWidget link problem on Windows - Added by Roel Standaert over 7 years ago
Looks like we were missing a WT_API
there. I pushed the fix to GitHub.
Regards,
Roel
RE: WFileDropWidget link problem on Windows - Added by André Violante over 7 years ago
Hello and Happy new year !!
Thank you very much.
Best regards
André