Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Project Wizard - Couple of questions
MortenMacFly:
I've worked again on the project wizard for Matlab. Besides the compilation using LCC I figured out a way how even GCC can be used! So I changed the wizard accordingly. Thus one can select the compiler and depending on that C::B is configured properly. So far so good, but I keep getting crashes as described in my post from the other day. I can avoid these crashes if I add a simple ShowError("Hello"); as last entry in bool SetupProject(Project@ project) before return true. Then the message appears and the project is setup properly. Anyway: If I run the wizard a second time the message does not appear but C::B crashes again with the same error. I've attached the rpt file for this case.
I've also attached the wizard for inspection. Please consider that it is still alpha, so it does not yet work completely (but will one day) and LCC requires the LCC patch from BerliOS. Anyway: The GCC part should work without the patch so far... (but doesn't create a compilable project yet).
Any hint?
Edit: I forgot: Version 1.0 revision 2397 () gcc 3.4.5 Windows/unicode.
[attachment deleted by admin]
mandrav:
--- Quote ---Anyway: If I run the wizard a second time the message does not appear but C::B crashes again with the same error. I've attached the rpt file for this case.
--- End quote ---
It has already been said that you will experience this behaviour, if your wx version is lower than 2.6.1 (or was that 2.6.2? - can't recall now).
MortenMacFly:
--- Quote from: mandrav on May 03, 2006, 08:51:56 pm ---It has already been said that you will experience this behaviour, if your wx version is lower than 2.6.1 (or was that 2.6.2? - can't recall now).
--- End quote ---
I know, but I use wxWidgets 2.6.2 (I forgot to add that to the post).
Anyway: Are you sure that this is related? Because if I remove the messagbox I experience the crash in the first place.
With regards, Morten.
mandrav:
--- Quote ---Anyway: Are you sure that this is related? Because if I remove the messagbox I experience the crash in the first place.
--- End quote ---
I 'll check this tomorrow, when I 'm at a 32bit system.
mandrav:
Morten,
I found some time to test this and I have no problems with it. No crashes whatsoever.
I don't have Matlab so I could only test the wizard, not its outcome, but this shouldn't matter...
I also don't have the LCC patch.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version