User forums > Nightly builds

The 25 February 2024 build (13483) is out.

<< < (2/2)

Grit Clef:
Not for me on Windows 7... :'( I'm still finding some way to achieve that on older Windows systems.


--- Quote from: Xaviou on March 04, 2024, 06:24:34 pm ---I'll give it a try : I will surely provide both 3.2.x and 3.3.x.
--- End quote ---

Build failed : here are the last lines of the build log:

--- Code: ---In file included from ../../../src/sdk/configmanager.cpp:17:
../../../src/include/logmanager.h:40:28: warning: passing an object of reference type to 'va_start' has undefined behavior [-Wvarargs]
        va_start(arg_list, msg);
../../../src/include/logmanager.h:37:39: note: parameter of type 'const wxString &' is declared here
    inline wxString F(const wxString &msg, ...)
../../../src/sdk/configmanager.cpp:121:53: error: no matching member function for call to 'AsString'
            wxString str = wxCFStringRef(cfStrPath).AsString(wxLocale::GetSystemEncoding());
/Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:65:21: note: candidate function not viable: no known conversion
      from 'wxFontEncoding' to 'CFStringRef' (aka 'const __CFString *') for 1st argument
    static wxString AsString( CFStringRef ref ) ;
/Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:68:21: note: candidate function not viable: no known conversion
      from 'wxFontEncoding' to 'WX_NSString' (aka 'NSString *') for 1st argument
    static wxString AsString( WX_NSString ref ) ;
/Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:63:14: note: candidate function not viable: requires 0 arguments,
      but 1 was provided
    wxString AsString() const;
--- End code ---

Differences in WX_DIR/include/wx/osx/core/cfstring.h between wx-3.3.0 and wx-3.2.x make the build impossible.

After a few investigations, these changes were made by commit 919a8cbb27dded5fe3ae0b1923209f398250fddd
I've changed code in 'src/sdk/configmanager.cpp' (line 121) from:

--- Code: ---wxString str = wxCFStringRef(cfStrPath).AsString(wxLocale::GetSystemEncoding());
--- End code ---

--- Code: ---wxString str = wxCFStringRef(cfStrPath).AsString();
--- End code ---
I also had to make the same change in 'src/src/app.cpp' (line 357).

But I went to another problem (while building wxSmith):

--- Code: ---../../../../../../../src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp:483:47: error: use of
      undeclared identifier 'wxPG_FL_IN_HANDLECUSTOMEDITOREVENT'
        if ( !(propgrid->GetInternalFlags() & wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) )
../../../../../../../src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp:581:29: error: invalid
      operands to binary expression ('wxPGPropertyFlags' and 'wxPG_EX_WINDOW_STYLES')
        else if ( !(m_flags & wxPG_PROP_UNSPECIFIED) )
                    ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
--- End code ---

I finally managed to make the build by replacing these defines/enums by their numerical values:

File src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp :
Line 483:

--- Code: ---if ( !(propgrid->GetInternalFlags() & wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) )
--- End code ---

--- Code: ---if ( !(propgrid->GetInternalFlags() & 0x08000000) )
--- End code ---

and line 581:

--- Code: ---else if ( !(m_flags & wxPG_PROP_UNSPECIFIED) )
--- End code ---

--- Code: ---else if ( !(m_flags & (wxPGPropertyFlags)0x00200000) )
--- End code ---
I know this isn't a proper correction, but I made this to see if there were other building errors.

@DigitalSpaceDotName : The corresponding dmg file has been uploaded and is now available from my website if you want to test.


Hello Xaviou, this is great work.

I am working under Windows OS so I can't test your MAC version. If you will also make the Windows build, it would by glad! And I will test it as fast as possible!


[0] Message Index

[*] Previous page

Go to full version