FileZilla Server compilation encountered an error

Moderator: Project members

Post Reply
Message
Author
LingMaple26
500 Command not understood
Posts: 4
Joined: 2024-01-02 03:28
First name: ling
Last name: maple

FileZilla Server compilation encountered an error

#1 Post by LingMaple26 » 2024-01-02 03:38

WxWidgets version is 3.3, with 3.0 compatibility enabled
What could be the reason for this error
Thank you in advance

Code: Select all

In file included from /home/ubuntu/experiments/denpendencies/include/wx-3.3/wx/defs.h:868,                                                                
                 from /home/ubuntu/experiments/denpendencies/include/wx-3.3/wx/string.h:23,                                                               
                 from /home/ubuntu/experiments/denpendencies/include/libfilezilla/glue/wx.hpp:14,                                                         
                 from serveradministrator.cpp:1:                                                                                                          
serveradministrator.cpp: In lambda function:
/home/ubuntu/experiments/denpendencies/include/wx-3.3/wx/debug.h:298:60: error: 'wxString::wxString(int)' is private within this context
  298 |                     (wxOnAssert(file, line, func, cond, msg),                 \
      |                                                            ^
/home/ubuntu/experiments/denpendencies/include/wx-3.3/wx/debug.h:310:9: note: in expansion of macro 'wxFAIL_COND_MSG_AT'
  310 |         wxFAIL_COND_MSG_AT(cond, msg, __FILE__, __LINE__, __func__)
      |         ^~~~~~~~~~~~~~~~~~
serveradministrator.cpp:915:4: note: in expansion of macro 'wxFAIL_COND_MSG'
  915 |    wxFAIL_COND_MSG(v.is_success(), "get_extra_certs_info::response returned failure.\n"
      |    ^~~~~~~~~~~~~~~
In file included from /home/ubuntu/experiments/denpendencies/include/libfilezilla/glue/wx.hpp:14,
                 from serveradministrator.cpp:1:
/home/ubuntu/experiments/denpendencies/include/wx-3.3/wx/string.h:344:3: note: declared private here
  344 |   wxString(int);
      |   ^~~~~~~~

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla Server compilation encountered an error

#2 Post by botg » 2024-01-02 08:50

Please don't use in-development version of wxWidgets, use the latest released 3.2.x

LingMaple26
500 Command not understood
Posts: 4
Joined: 2024-01-02 03:28
First name: ling
Last name: maple

Re: FileZilla Server compilation encountered an error

#3 Post by LingMaple26 » 2024-01-03 03:21

botg wrote:
2024-01-02 08:50
Please don't use in-development version of wxWidgets, use the latest released 3.2.x
It works, thank you very much for your help

Post Reply