What is the right way to install wxWidgets with codeblocks Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

Yes! The minimal.cpp file works fine after adding it to the project.


Why wont my app work?
What is the problem?
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4182
Joined: Sun Jan 03, 2010 5:45 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by PB »

Looking at the stack trace, this somewhat resembles the issue with 64-bit TDM-GCC, see
https://groups.google.com/g/wx-users/c/ ... IlTA5XAAAJ
viewtopic.php?f=1&t=46685

Do you have any wxTextCtrls in your frame? And if so, if you do not create them, does the issue persist?

It is also possible that your application has a bug which manifests only under some conditions, which are met with mingw but not MSVC. Once the dreaded "undefined behaviour" territory is entered, anything is possible.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

This is the new error that I am getting:

In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!RtlRaiseException () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!memset () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
Continuing...
[Inferior 1 (process 8044) exited with code 030000001564]
Debugger finished with status 0
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

sly_chandan wrote: Sat Feb 27, 2021 9:08 pm Yes! The minimal.cpp file works fine after adding it to the project.
In order to check PB's theory, add a wxTextCtrl to the code and check if it still works. If not, we know the wxTextCtrl is at fault.

If it still works, try adding the code from your project step by step until you get the crash.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

The problem is in the following code:

Code: Select all

[code]wxBoxSizer* mainSizer;[code]
    mainSizer = new wxBoxSizer( wxVERTICAL );

    wxBoxSizer* bSizer5;
    bSizer5 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer6;
    bSizer6 = new wxBoxSizer( wxHORIZONTAL );

    bSizer6->SetMinSize( wxSize( 400,-1 ) );


    wxStaticText* m_staticText1;
    m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("FirstName"), wxPoint( -1,-1 ), wxDefaultSize, wxALIGN_LEFT );
    m_staticText1->Wrap( -1 );

    bSizer6->Add( m_staticText1, 0, wxALL, 5 );



    m_textCtrlFirstName = new wxTextCtrl( this, wxID_ANY, wxT("Duvarko"), wxPoint( -1,-1 ), wxSize( 200,-1 ), wxTE_LEFT );

    bSizer6->Add( m_textCtrlFirstName, 0, wxALL, 5 );


    bSizer5->Add( bSizer6, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer7;
    bSizer7 = new wxBoxSizer( wxHORIZONTAL );

    bSizer7->SetMinSize( wxSize( 400,-1 ) );
    this->SetSizer( mainSizer );
    this->Layout();
When I open the window first time it is closing
The Second time I open it it wont close and it crashes.
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4182
Joined: Sun Jan 03, 2010 5:45 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by PB »

The code you posted is incomplete: You do not add any sizers to mainSizer and bSizer5 and (empty) bSizer7 are not added to any sizer which is wrong.

Why did you refuse to comment out the wxTextCtrl code, it takes a couple of seconds and at least could rule out a possible root of your troubles?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

I have a lot of code on my page...

Code: Select all

    wxBoxSizer* mainSizer;
    mainSizer = new wxBoxSizer( wxVERTICAL );

    wxBoxSizer* bSizer5;
    bSizer5 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer6;
    bSizer6 = new wxBoxSizer( wxHORIZONTAL );

    bSizer6->SetMinSize( wxSize( 400,-1 ) );


    wxStaticText* m_staticText1;
    m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("FirstName"), wxPoint( -1,-1 ), wxDefaultSize, wxALIGN_LEFT );
    m_staticText1->Wrap( -1 );

    bSizer6->Add( m_staticText1, 0, wxALL, 5 );



    m_textCtrlFirstName = new wxTextCtrl( this, wxID_ANY, wxT("Duvarko"), wxPoint( -1,-1 ), wxSize( 200,-1 ), wxTE_LEFT );

    bSizer6->Add( m_textCtrlFirstName, 0, wxALL, 5 );


    bSizer5->Add( bSizer6, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer7;
    bSizer7 = new wxBoxSizer( wxHORIZONTAL );

    bSizer7->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText2;
    m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("LastName"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
    m_staticText2->Wrap( -1 );
    m_staticText2->SetMaxSize( wxSize( 100,-1 ) );

    bSizer7->Add( m_staticText2, 0, wxALL, 5 );


    m_textCtrlLastName = new wxTextCtrl( this, wxID_ANY, wxT("Khatwani"), wxDefaultPosition, wxSize( 200,-1 ), wxTE_LEFT );
    bSizer7->Add( m_textCtrlLastName, 0, wxALL, 5 );


    bSizer5->Add( bSizer7, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer8;
    bSizer8 = new wxBoxSizer( wxHORIZONTAL );

    bSizer8->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText3;
    m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Company Name"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
    m_staticText3->Wrap( -1 );
    m_staticText3->SetMinSize( wxSize( 100,-1 ) );
    m_staticText3->SetMaxSize( wxSize( 150,-1 ) );

    bSizer8->Add( m_staticText3, 0, wxALL, 5 );


    m_textCtrlCompany = new wxTextCtrl( this, wxID_ANY, wxT("MCGM"), wxDefaultPosition, wxSize( 200,-1 ), wxTE_LEFT );
    bSizer8->Add( m_textCtrlCompany, 0, wxALL, 5 );


    bSizer5->Add( bSizer8, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer5, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer9;
    bSizer9 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer11;
    bSizer11 = new wxBoxSizer( wxHORIZONTAL );

    bSizer11->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText5;
    m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Title"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
    m_staticText5->Wrap( -1 );
    bSizer11->Add( m_staticText5, 0, wxALL, 5 );


    m_comboBoxTitle = new wxComboBox( this, wxID_ANY, wxT("Mr."), wxPoint( -1,-1 ), wxSize( 200,-1 ), 0, NULL, 0 );
    m_comboBoxTitle->Append("Mr.");
    m_comboBoxTitle->Append("Mrs.");
    m_comboBoxTitle->Append("Shri.");
    m_comboBoxTitle->Append("Kmr.");
    bSizer11->Add( m_comboBoxTitle, 0, wxALL, 5 );


    bSizer9->Add( bSizer11, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer12;
    bSizer12 = new wxBoxSizer( wxHORIZONTAL );

    bSizer12->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText6;
	m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Phone"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
	m_staticText6->Wrap( -1 );
//	m_staticText6->SetMinSize( wxSize( -1,0 ) );
//	m_staticText6->SetMaxSize( wxSize( -1,0 ) );
    bSizer12->Add( m_staticText6, 0, wxALL, 5 );

    m_textCtrlPhone = new wxTextCtrl( this, wxID_ANY, wxT("9773171567"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer12->Add( m_textCtrlPhone, 0, wxALL, 5 );


    bSizer9->Add( bSizer12, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer13;
    bSizer13 = new wxBoxSizer( wxHORIZONTAL );

    bSizer13->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText7;
    m_staticText7 = new wxStaticText( this, wxID_ANY, wxT("Consultants Name"), wxDefaultPosition, wxSize( -1,-1 ), 0 );
    m_staticText7->Wrap( -1 );
    m_staticText7->SetMinSize( wxSize( 150,-1 ) );
    m_staticText7->SetMaxSize( wxSize( 150,-1 ) );

    bSizer13->Add( m_staticText7, 0, wxALL, 5 );

    m_textCtrlConsultantsName = new wxTextCtrl( this, wxID_ANY, wxT("Goverment"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer13->Add( m_textCtrlConsultantsName, 0, wxALL, 5 );


    bSizer9->Add( bSizer13, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer9, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer14;
    bSizer14 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer18;
    bSizer18 = new wxBoxSizer( wxHORIZONTAL );

    bSizer18->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText12;
    m_staticText12 = new wxStaticText( this, wxID_ANY, wxT("Job"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText12->Wrap( -1 );
    m_staticText12->SetMinSize( wxSize( 100,-1 ) );
    m_staticText12->SetMaxSize( wxSize( 100,-1 ) );

    bSizer18->Add( m_staticText12, 0, wxALL, 5 );


    m_textCtrlJob = new wxTextCtrl( this, wxID_ANY, wxT("Sr. Engineer"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    m_textCtrlJob->SetMinSize( wxSize( 200,-1 ) );
    m_textCtrlJob->SetMaxSize( wxSize( 100,-1 ) );

    bSizer18->Add( m_textCtrlJob, 0, wxALL, 5 );


    bSizer14->Add( bSizer18, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer19;
    bSizer19 = new wxBoxSizer( wxHORIZONTAL );

    bSizer19->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText13;
    m_staticText13 = new wxStaticText( this, wxID_ANY, wxT("Email"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText13->Wrap( -1 );
    m_staticText13->SetMinSize( wxSize( 100,-1 ) );

    bSizer19->Add( m_staticText13, 0, wxALL, 5 );


    m_textCtrlEmail = new wxTextCtrl( this, wxID_ANY, wxT("[email protected]"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer19->Add( m_textCtrlEmail, 0, wxALL, 5 );


    bSizer14->Add( bSizer19, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer20;
    bSizer20 = new wxBoxSizer( wxHORIZONTAL );

    bSizer20->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText14;
    m_staticText14 = new wxStaticText( this, wxID_ANY, wxT("Salary Offered"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText14->Wrap( -1 );
    m_staticText14->SetMinSize( wxSize( 150,-1 ) );

    bSizer20->Add( m_staticText14, 0, wxALL, 5 );


    m_textCtrlSalaryOffered = new wxTextCtrl( this, wxID_ANY, wxT("500000"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer20->Add( m_textCtrlSalaryOffered, 0, wxALL, 5 );


    bSizer14->Add( bSizer20, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer14, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer21;
    bSizer21 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer22;
    bSizer22 = new wxBoxSizer( wxHORIZONTAL );

    bSizer22->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText15;
    m_staticText15 = new wxStaticText( this, wxID_ANY, wxT("Customer"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText15->Wrap( -1 );
    m_staticText15->SetMinSize( wxSize( 100,-1 ) );

    bSizer22->Add( m_staticText15, 0, wxALL, 5 );


    m_checkBoxCustomer = new wxCheckBox( this, wxID_ANY, wxT("Customer"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer22->Add( m_checkBoxCustomer, 0, wxALL, 5 );


    bSizer21->Add( bSizer22, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer24;
    bSizer24 = new wxBoxSizer( wxHORIZONTAL );

    bSizer24->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText16;
    m_staticText16 = new wxStaticText( this, wxID_ANY, wxT("Supplier"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText16->Wrap( -1 );
    m_staticText16->SetMinSize( wxSize( 100,-1 ) );

    bSizer24->Add( m_staticText16, 0, wxALL, 5 );


    m_checkBoxSupplier = new wxCheckBox( this, wxID_ANY, wxT("Supplier"), wxDefaultPosition, wxDefaultSize, 0 );
    bSizer24->Add( m_checkBoxSupplier, 0, wxALL, 5 );


    bSizer21->Add( bSizer24, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer25;
    bSizer25 = new wxBoxSizer( wxHORIZONTAL );

    bSizer25->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText17;
    m_staticText17 = new wxStaticText( this, wxID_ANY, wxT("Purpose of Position"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText17->Wrap( -1 );
    m_staticText17->SetMinSize( wxSize( 150,-1 ) );

    bSizer25->Add( m_staticText17, 0, wxALL, 5 );

    m_textCtrlPurposeOfPosition = new wxTextCtrl( this, wxID_ANY, wxT("Engineer"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer25->Add( m_textCtrlPurposeOfPosition, 0, wxALL, 5 );


    bSizer21->Add( bSizer25, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer21, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer26;
    bSizer26 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer27;
    bSizer27 = new wxBoxSizer( wxHORIZONTAL );

    bSizer27->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText18;
    m_staticText18 = new wxStaticText( this, wxID_ANY, wxT("Address Type"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText18->Wrap( -1 );
    m_staticText18->SetMinSize( wxSize( 100,-1 ) );

    bSizer27->Add( m_staticText18, 0, wxALL, 5 );


    m_textCtrlAddressType = new wxTextCtrl( this, wxID_ANY, wxT("Home"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer27->Add( m_textCtrlAddressType, 0, wxALL, 5 );


    bSizer26->Add( bSizer27, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer28;
    bSizer28 = new wxBoxSizer( wxHORIZONTAL );

    bSizer28->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText19;
    m_staticText19 = new wxStaticText( this, wxID_ANY, wxT("Referred By"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText19->Wrap( -1 );
    m_staticText19->SetMinSize( wxSize( 100,-1 ) );

    bSizer28->Add( m_staticText19, 0, wxALL, 5 );

    m_textCtrlReferredBy = new wxTextCtrl( this, wxID_ANY, wxT("ReferredBy"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer28->Add( m_textCtrlReferredBy, 0, wxALL, 5 );


    bSizer26->Add( bSizer28, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer29;
    bSizer29 = new wxBoxSizer( wxHORIZONTAL );

    bSizer29->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText20;
    m_staticText20 = new wxStaticText( this, wxID_ANY, wxT("Primary Duties"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText20->Wrap( -1 );
    m_staticText20->SetMinSize( wxSize( 150,-1 ) );

    bSizer29->Add( m_staticText20, 0, wxALL, 5 );

    m_textCtrlPrimaryDutiesResponsiblities= new wxTextCtrl( this, wxID_ANY, wxT("Construction"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer29->Add( m_textCtrlPrimaryDutiesResponsiblities, 0, wxALL, 5 );


    bSizer26->Add( bSizer29, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer26, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer30;
    bSizer30 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer31;
    bSizer31 = new wxBoxSizer( wxHORIZONTAL );

    bSizer31->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText21;
    m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("Categories"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText21->Wrap( -1 );
    m_staticText21->SetMinSize( wxSize( 100,-1 ) );

    bSizer31->Add( m_staticText21, 0, wxALL, 5 );

    m_textCtrlCategories = new wxTextCtrl( this, wxID_ANY, wxT("Categories"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer31->Add( m_textCtrlCategories, 0, wxALL, 5 );


    bSizer30->Add( bSizer31, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer32;
    bSizer32 = new wxBoxSizer( wxHORIZONTAL );

    bSizer32->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText22;
    m_staticText22 = new wxStaticText( this, wxID_ANY, wxT("Assigned To"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText22->Wrap( -1 );
    m_staticText22->SetMinSize( wxSize( 100,-1 ) );

    bSizer32->Add( m_staticText22, 0, wxALL, 5 );

    m_textCtrlAssignedTo = new wxTextCtrl( this, wxID_ANY, wxT("Assigned To"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer32->Add( m_textCtrlAssignedTo, 0, wxALL, 5 );


    bSizer30->Add( bSizer32, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer33;
    bSizer33 = new wxBoxSizer( wxHORIZONTAL );

    bSizer33->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText23;
    m_staticText23 = new wxStaticText( this, wxID_ANY, wxT("Qualifications"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText23->Wrap( -1 );
    m_staticText23->SetMinSize( wxSize( 150,-1 ) );

    bSizer33->Add( m_staticText23, 0, wxALL, 5 );

    m_textCtrlQualifications = new wxTextCtrl( this, wxID_ANY, wxT("Qualifications"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer33->Add( m_textCtrlQualifications, 0, wxALL, 5 );


    bSizer30->Add( bSizer33, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer30, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer34;
    bSizer34 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer35;
    bSizer35 = new wxBoxSizer( wxHORIZONTAL );

    bSizer35->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText24;
    m_staticText24 = new wxStaticText( this, wxID_ANY, wxT("Tags"), wxDefaultPosition, wxSize( -1,-1 ), 0 );
    m_staticText24->Wrap( -1 );
    m_staticText24->SetMinSize( wxSize( 100,-1 ) );

    bSizer35->Add( m_staticText24, 0, wxALL, 5 );

    m_textCtrlTags = new wxTextCtrl( this, wxID_ANY, wxT("Tags"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer35->Add( m_textCtrlTags, 0, wxALL, 5 );


    bSizer34->Add( bSizer35, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer36;
    bSizer36 = new wxBoxSizer( wxHORIZONTAL );

    bSizer36->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText25;
    m_staticText25 = new wxStaticText( this, wxID_ANY, wxT("Market"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText25->Wrap( -1 );
    m_staticText25->SetMinSize( wxSize( 100,-1 ) );

    bSizer36->Add( m_staticText25, 0, wxALL, 5 );

    m_textCtrlMarket = new wxTextCtrl( this, wxID_ANY, wxT("Market"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer36->Add( m_textCtrlMarket, 0, wxALL, 5 );


    bSizer34->Add( bSizer36, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer37;
    bSizer37 = new wxBoxSizer( wxHORIZONTAL );

    bSizer37->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText26;
    m_staticText26 = new wxStaticText( this, wxID_ANY, wxT("Territory"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText26->Wrap( -1 );
    m_staticText26->SetMinSize( wxSize( 150,-1 ) );

    bSizer37->Add( m_staticText26, 0, wxALL, 5 );

    m_textCtrlTerritory = new wxTextCtrl( this, wxID_ANY, wxT("Territory"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer37->Add( m_textCtrlTerritory, 0, wxALL, 5 );


    bSizer34->Add( bSizer37, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer34, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer38;
    bSizer38 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer39;
    bSizer39 = new wxBoxSizer( wxHORIZONTAL );

    bSizer39->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText27;
    m_staticText27 = new wxStaticText( this, wxID_ANY, wxT("Segment"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText27->Wrap( -1 );
    m_staticText27->SetMinSize( wxSize( 100,-1 ) );

    bSizer39->Add( m_staticText27, 0, wxALL, 5 );

    m_textCtrlSegment = new wxTextCtrl( this, wxID_ANY, wxT("Segment"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer39->Add( m_textCtrlSegment, 0, wxALL, 5 );


    bSizer38->Add( bSizer39, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer40;
    bSizer40 = new wxBoxSizer( wxHORIZONTAL );

    bSizer40->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText28;
    m_staticText28 = new wxStaticText( this, wxID_ANY, wxT("Status"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText28->Wrap( -1 );
    m_staticText28->SetMinSize( wxSize( 100,-1 ) );

    bSizer40->Add( m_staticText28, 0, wxALL, 5 );

    m_textCtrlStatus = new wxTextCtrl( this, wxID_ANY, wxT("Status"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer40->Add( m_textCtrlStatus, 0, wxALL, 5 );


    bSizer38->Add( bSizer40, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer41;
    bSizer41 = new wxBoxSizer( wxHORIZONTAL );

    bSizer41->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText29;
    m_staticText29 = new wxStaticText( this, wxID_ANY, wxT("Nickname"), wxDefaultPosition, wxSize( -1,-1 ), 0 );
    m_staticText29->Wrap( -1 );
    m_staticText29->SetMinSize( wxSize( 150,-1 ) );

    bSizer41->Add( m_staticText29, 0, wxALL, 5 );

    m_textCtrlNickName = new wxTextCtrl( this, wxID_ANY, wxT("Nickname"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer41->Add( m_textCtrlNickName, 0, wxALL, 5 );


    bSizer38->Add( bSizer41, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer38, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer42;
    bSizer42 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer43;
    bSizer43 = new wxBoxSizer( wxHORIZONTAL );

    bSizer43->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText30;
    m_staticText30 = new wxStaticText( this, wxID_ANY, wxT("Food"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText30->Wrap( -1 );
    m_staticText30->SetMinSize( wxSize( 100,-1 ) );

    bSizer43->Add( m_staticText30, 0, wxALL, 5 );

    m_textCtrlFood = new wxTextCtrl( this, wxID_ANY, wxT("Food"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer43->Add( m_textCtrlFood, 0, wxALL, 5 );


    bSizer42->Add( bSizer43, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer44;
    bSizer44 = new wxBoxSizer( wxHORIZONTAL );

    bSizer44->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText31;
    m_staticText31 = new wxStaticText( this, wxID_ANY, wxT("FacebookId"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText31->Wrap( -1 );
    m_staticText31->SetMinSize( wxSize( 100,-1 ) );

    bSizer44->Add( m_staticText31, 0, wxALL, 5 );

    m_textCtrlFacebookId = new wxTextCtrl( this, wxID_ANY, wxT("FacebookId"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer44->Add( m_textCtrlFacebookId, 0, wxALL, 5 );


    bSizer42->Add( bSizer44, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer45;
    bSizer45 = new wxBoxSizer( wxHORIZONTAL );

    bSizer45->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText32;
    m_staticText32 = new wxStaticText( this, wxID_ANY, wxT("LinkedInId"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText32->Wrap( -1 );
    m_staticText32->SetMinSize( wxSize( 150,-1 ) );

    bSizer45->Add( m_staticText32, 0, wxALL, 5 );

    m_textCtrlLinkedInId = new wxTextCtrl( this, wxID_ANY, wxT("LinkedInId"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer45->Add( m_textCtrlLinkedInId, 0, wxALL, 5 );


    bSizer42->Add( bSizer45, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer42, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer46;
    bSizer46 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer47;
    bSizer47 = new wxBoxSizer( wxHORIZONTAL );

    bSizer47->SetMinSize( wxSize( 400,-1 ) );

    bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer48;
    bSizer48 = new wxBoxSizer( wxHORIZONTAL );

    bSizer48->SetMinSize( wxSize( 400,-1 ) );

    bSizer46->Add( bSizer48, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer49;
    bSizer49 = new wxBoxSizer( wxHORIZONTAL );

    bSizer49->SetMinSize( wxSize( 400,-1 ) );

    bSizer46->Add( bSizer49, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer46, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer50;
    bSizer50 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer51;
    bSizer51 = new wxBoxSizer( wxHORIZONTAL );

    bSizer51->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText33;
    m_staticText33 = new wxStaticText( this, wxID_ANY, wxT("Phonetic Name"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText33->Wrap( -1 );
    bSizer51->Add( m_staticText33, 0, wxALL, 5 );

    m_textCtrlPhoneticName = new wxTextCtrl( this, wxID_ANY, wxT("Phonetic Name"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer51->Add( m_textCtrlPhoneticName, 0, wxALL, 5 );


    bSizer50->Add( bSizer51, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer52;
    bSizer52 = new wxBoxSizer( wxHORIZONTAL );

    bSizer52->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText34;
    m_staticText34 = new wxStaticText( this, wxID_ANY, wxT("Hobbies"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText34->Wrap( -1 );
    m_staticText34->SetMinSize( wxSize( 100,-1 ) );

    bSizer52->Add( m_staticText34, 0, wxALL, 5 );

    m_textCtrlHobbies = new wxTextCtrl( this, wxID_ANY, wxT("Hobbies"), wxDefaultPosition, wxDefaultSize, 0 );
    m_textCtrlHobbies->SetMinSize( wxSize( 200,-1 ) );

    bSizer52->Add( m_textCtrlHobbies, 0, wxALL, 5 );


    bSizer50->Add( bSizer52, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer53;
    bSizer53 = new wxBoxSizer( wxHORIZONTAL );

    bSizer53->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText35;
    m_staticText35 = new wxStaticText( this, wxID_ANY, wxT("Website Name"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText35->Wrap( -1 );
    m_staticText35->SetMinSize( wxSize( 150,-1 ) );

    bSizer53->Add( m_staticText35, 0, wxALL, 5 );

    m_textCtrlWebsiteName = new wxTextCtrl( this, wxID_ANY, wxT("Website Name"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer53->Add( m_textCtrlWebsiteName, 0, wxALL, 5 );


    bSizer50->Add( bSizer53, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer50, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer57;
    bSizer57 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer58;
    bSizer58 = new wxBoxSizer( wxHORIZONTAL );

    bSizer58->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText36;
    m_staticText36 = new wxStaticText( this, wxID_ANY, wxT("Products"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText36->Wrap( -1 );
    m_staticText36->SetMinSize( wxSize( 100,-1 ) );

    bSizer58->Add( m_staticText36, 0, wxALL, 5 );

    m_textCtrlProducts = new wxTextCtrl( this, wxID_ANY, wxT("Products"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer58->Add( m_textCtrlProducts, 0, wxALL, 5 );


    bSizer57->Add( bSizer58, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer59;
    bSizer59 = new wxBoxSizer( wxHORIZONTAL );

    bSizer59->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText37;
    m_staticText37 = new wxStaticText( this, wxID_ANY, wxT("Website"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText37->Wrap( -1 );
    m_staticText37->SetMinSize( wxSize( 100,-1 ) );

    bSizer59->Add( m_staticText37, 0, wxALL, 5 );

    m_textCtrlWebsite = new wxTextCtrl( this, wxID_ANY, wxT("Website"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer59->Add( m_textCtrlWebsite, 0, wxALL, 5 );


    bSizer57->Add( bSizer59, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer60;
    bSizer60 = new wxBoxSizer( wxHORIZONTAL );

    bSizer60->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText38;
    m_staticText38 = new wxStaticText( this, wxID_ANY, wxT("DateMailSent"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText38->Wrap( -1 );
    m_staticText38->SetMinSize( wxSize( 150,-1 ) );

    bSizer60->Add( m_staticText38, 0, wxALL, 5 );

    m_textCtrlDateMailSent = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer60->Add( m_textCtrlDateMailSent, 0, wxALL, 5 );


    bSizer57->Add( bSizer60, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer57, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer61;
    bSizer61 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer62;
    bSizer62 = new wxBoxSizer( wxHORIZONTAL );

    bSizer62->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText39;
    m_staticText39 = new wxStaticText( this, wxID_ANY, wxT("Relation Type"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText39->Wrap( -1 );
    m_staticText39->SetMinSize( wxSize( 100,-1 ) );

    bSizer62->Add( m_staticText39, 0, wxALL, 5 );


    m_comboBoxRelationType = new wxComboBox( this, wxID_ANY, wxT("Prospect"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
    m_comboBoxRelationType->Append("Prospect");
    m_comboBoxRelationType->Append("Contact");
    m_comboBoxRelationType->Append("Lead");
    m_comboBoxRelationType->Append("Referral");
    bSizer62->Add( m_comboBoxRelationType, 0, wxALL, 5 );


    bSizer61->Add( bSizer62, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer63;
    bSizer63 = new wxBoxSizer( wxHORIZONTAL );

    bSizer63->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText40;
    m_staticText40 = new wxStaticText( this, wxID_ANY, wxT("Position"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText40->Wrap( -1 );
    m_staticText40->SetMinSize( wxSize( 100,-1 ) );

    bSizer63->Add( m_staticText40, 0, wxALL, 5 );

    m_textCtrlPosition = new wxTextCtrl( this, wxID_ANY, wxT("Position"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer63->Add( m_textCtrlPosition, 0, wxALL, 5 );


    bSizer61->Add( bSizer63, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer64;
    bSizer64 = new wxBoxSizer( wxHORIZONTAL );

    bSizer64->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText41;
    m_staticText41 = new wxStaticText( this, wxID_ANY, wxT("Contact Position"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText41->Wrap( -1 );
    m_staticText41->SetMinSize( wxSize( 150,-1 ) );

    bSizer64->Add( m_staticText41, 0, wxALL, 5 );

    m_textCtrlContactPosition = new wxTextCtrl( this, wxID_ANY, wxT("Contact Position"), wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer64->Add( m_textCtrlContactPosition, 0, wxALL, 5 );


    bSizer61->Add( bSizer64, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer61, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer65;
    bSizer65 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer67;
    bSizer67 = new wxBoxSizer( wxHORIZONTAL );

    bSizer67->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText42;
    m_staticText42 = new wxStaticText( this, wxID_ANY, wxT("Stage"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText42->Wrap( -1 );
    m_staticText42->SetMinSize( wxSize( 100,-1 ) );

    bSizer67->Add( m_staticText42, 0, wxALL, 5 );


    m_comboBoxStage = new wxComboBox( this, wxID_ANY, wxT("Filling The Pipeline"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
    m_comboBoxStage->Append("Filling the Pipeline");
    m_comboBoxStage->Append("Follow Up");
    m_comboBoxStage->Append("Sales Conversation");
    m_comboBoxStage->Append("Closing Sale");
    bSizer67->Add( m_comboBoxStage, 0, wxALL, 5 );


    bSizer65->Add( bSizer67, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer68;
    bSizer68 = new wxBoxSizer( wxHORIZONTAL );

    bSizer68->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText43;
    m_staticText43 = new wxStaticText( this, wxID_ANY, wxT("Technology"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText43->Wrap( -1 );
    m_staticText43->SetMinSize( wxSize( 100,-1 ) );

    bSizer68->Add( m_staticText43, 0, wxALL, 5 );

    m_textCtrlTechnology = new wxTextCtrl( this, wxID_ANY, wxT("Technology"), wxDefaultPosition, wxDefaultSize, 0 );
    bSizer68->Add( m_textCtrlTechnology, 0, wxALL, 5 );


    bSizer65->Add( bSizer68, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer69;
    bSizer69 = new wxBoxSizer( wxHORIZONTAL );

    bSizer69->SetMinSize( wxSize( 400,-1 ) );
    wxStaticText* m_staticText44;
    m_staticText44 = new wxStaticText( this, wxID_ANY, wxT("DOB"), wxDefaultPosition, wxDefaultSize, 0 );
    m_staticText44->Wrap( -1 );
    m_staticText44->SetMinSize( wxSize( 150,-1 ) );

    bSizer69->Add( m_staticText44, 0, wxALL, 5 );


    m_textCtrlDOB = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 200,-1 ), 0 );
    bSizer69->Add( m_textCtrlDOB, 0, wxALL, 5 );


    bSizer65->Add( bSizer69, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer65, 1, wxEXPAND, 5 );

    wxBoxSizer* bSizer581;
    bSizer581 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer* bSizer591;
    bSizer591 = new wxBoxSizer( wxHORIZONTAL );

    wxButton* m_button1;
    m_button1 = new wxButton( this, ID_CREATEBTN, wxT("Create"), wxDefaultPosition, wxDefaultSize, 0 );
    m_button1->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
    m_button1->SetBackgroundColour( wxColour( 255, 0, 0 ) );
    //m_button1->Connect(ID_CREATEBTN,wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(CreateContactFrame::CreateContact));

    bSizer591->Add( m_button1, 0, wxALL, 5 );

    wxButton* m_button3;
    m_button3 = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
    m_button3->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
    m_button3->SetBackgroundColour( wxColour( 255, 0, 0 ) );

    bSizer591->Add( m_button3, 0, wxALL, 5 );


    bSizer581->Add( bSizer591, 1, wxEXPAND, 5 );


    mainSizer->Add( bSizer581, 1, wxEXPAND, 5 );
    this->SetSizer( mainSizer );
    this->Layout();
I get the following error in debugger.

In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!RtlRaiseException () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!memset () (C:\WINDOWS\SYSTEM32\ntdll.dll)
In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
[Inferior 1 (process 8512) exited with code 030000001564]
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

Sorry, we're not getting anywhere this way. You need to help us to help you and proceed more systematically.

First of all, please make the test with wxTextCtrl in the minimal sample.

Second, your code is obviously more complex than the test code you sent me a while ago. I asked you numerous time to upload your current code. Maybe everything is ok on the compiler side now and there is just a new bug in your code.

And the part of the callstack you're showing is not helpful, we need to see the last code lines.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

I have mailed the application to you.

Please open the create contact frame 2 times to see the app crash.
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

sly_chandan wrote: Sun Feb 28, 2021 11:41 am I have mailed the application to you.
Please open the create contact frame 2 times to see the app crash.
Ok, thanks. The code is fine and still doesn't crash for me.

Now comment these two lines out and check if it still crashes.

Code: Select all

 m_textCtrlFirstName = new wxTextCtrl( this, wxID_ANY, wxT("Duvarko"), wxPoint( -1,-1 ), wxSize( 200,-1 ), wxTE_LEFT );
 bSizer6->Add( m_textCtrlFirstName, 0, wxALL, 5 );
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

You Bet on it!

It doesnt crash!

What are you trying to say? Why is it crashing with those 2 lines?


debugger gives the following error:

In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
Continuing...
In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
Continuing...
[Inferior 1 (process 7988) exited with code 030000001564]
Debugger finished with status 0
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

sly_chandan wrote: Sun Feb 28, 2021 2:02 pm You Bet on it!
It doesnt crash!
What are you trying to say? Why is it crashing with those 2 lines?
This is related to the thread PB posted: https://groups.google.com/g/wx-users/c/ ... IlTA5XAAAJ

Unfortunately i don't see a clear solution in that thread. But it seems that it doesn't happen when using the 32bit version of the compiler. If that's an option for you, you should try that.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
#9 0x000000006bf9b3bf in wxTextCtrlBase::~wxTextCtrlBase (this=0x1358240, __in_chrg=<optimized out>) at ../../include/wx/textctrl.h:693
D:\wxWidgets-3.1.4\include\wx\textctrl.h:693:30184:beg:0x6bf9b3bf
At D:\wxWidgets-3.1.4\include\wx\textctrl.h:693
Continuing...
In ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () (C:\WINDOWS\SYSTEM32\ntdll.dll)
#10 0x000000006bf9b3bf in wxTextCtrlBase::~wxTextCtrlBase (this=0x1358240, __in_chrg=<optimized out>) at ../../include/wx/textctrl.h:693
D:\wxWidgets-3.1.4\include\wx\textctrl.h:693:30184:beg:0x6bf9b3bf
At D:\wxWidgets-3.1.4\include\wx\textctrl.h:693
Continuing...
[Inferior 1 (process 7888) exited with code 030000001564
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

I have installed the 32 bit version of wxwidgets and not 64 bit version.
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

sly_chandan wrote: Sun Feb 28, 2021 2:27 pm I have installed the 32 bit version of wxwidgets and not 64 bit version.
I was talking about the compiler you use to build wxWidgets and your project.
Use the source, Luke!
Post Reply