[SOLVED] New install Cannot select virtual folder
[SOLVED] New install Cannot select virtual folder
I've just installed Codelite 12.
I don't know what a Virtual Folder is, or what its purpose is, but apparently I have to have one in order to continue. That's where the problem is, I can't type into that field and if I click the browse icon I'm taken to another form where I am not able to do anything. ?
I don't know what a Virtual Folder is, or what its purpose is, but apparently I have to have one in order to continue. That's where the problem is, I can't type into that field and if I click the browse icon I'm taken to another form where I am not able to do anything. ?
You do not have the required permissions to view the files attached to this post.
Last edited by philjynx on Fri Mar 23, 2018 1:41 am, edited 1 time in total.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: New install Cannot select virtual folder
Hi,
You probably haven't created (in CodeLite rather than wxCrafter) a Workspace, then added a new Project to it. I suggest you do so, selecting one of the template gui projects; probably 'wxFrame with wxCrafter'.
You then have a minimal compilable project that you can alter as you wish. It will come with a set of Virtual Directories, that you an add to or delete as you wish.
Now you can go back to wxCrafter and use one of the VDirs in your dialog.
Regards,
David
You probably haven't created (in CodeLite rather than wxCrafter) a Workspace, then added a new Project to it. I suggest you do so, selecting one of the template gui projects; probably 'wxFrame with wxCrafter'.
You then have a minimal compilable project that you can alter as you wish. It will come with a set of Virtual Directories, that you an add to or delete as you wish.
Now you can go back to wxCrafter and use one of the VDirs in your dialog.
Regards,
David
Re: New install Cannot select virtual folder
No, I had discovered that.DavidGH wrote:Hi,
You probably haven't created......
Thanks David
Phil.
Re: New install Cannot select virtual folder
I'm begining to wonder if this is going to help.
Under the regime I was using, I had simple (nothing virtual going on) source files on my PC, try stuff out on there and simply copy those files to the RPi and compile and link there.
How can I do that with these tools without installing codelite and wxcrafter on the RPi?
Under the regime I was using, I had simple (nothing virtual going on) source files on my PC, try stuff out on there and simply copy those files to the RPi and compile and link there.
How can I do that with these tools without installing codelite and wxcrafter on the RPi?
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: New install Cannot select virtual folder
You couldn't install wxC on a RPi anyway: it's not FOSS, and we don't supply binaries for ARM devices.How can I do that with these tools without installing codelite and wxcrafter on the RPi?
I've not checked it's available for ARM, but debian does supply CodeLite debs.
But you don't need to use CodeLite on the RPi. Just get everything working on Mint, then transfer the source-code to the RPi and build them as you were before.
Re: New install Cannot select virtual folder
I've managed to get a basically empty project in codelite/crafter.
In crafter, the change of font size for the contents of it's frame is shown in the designer. When the project is built and run, none of the controls on the form have the resized font. So, it would appear that my not being able to find any size related code in the generated file might be significant.
Three weeks now I have been trying and failing to find a fast way to generate a fairly simple GUI for my app.
On the plus side, it is evident that wxCrafter handles the layout far better than wxFormBuilder - font size changes in the latter frequently result in overlapping obscured controls.
Another plus is codelite itself - I feel much more at home in there - click on an error in the build output pane and be taken directly to it - nice. In many ways it is reminiscent of my experience with Borland studio delphi antics.
So, whilst I remain foaming at the mouth frustrated, I'm optimistic.
In crafter, the change of font size for the contents of it's frame is shown in the designer. When the project is built and run, none of the controls on the form have the resized font. So, it would appear that my not being able to find any size related code in the generated file might be significant.
Three weeks now I have been trying and failing to find a fast way to generate a fairly simple GUI for my app.
On the plus side, it is evident that wxCrafter handles the layout far better than wxFormBuilder - font size changes in the latter frequently result in overlapping obscured controls.
Another plus is codelite itself - I feel much more at home in there - click on an error in the build output pane and be taken directly to it - nice. In many ways it is reminiscent of my experience with Borland studio delphi antics.
So, whilst I remain foaming at the mouth frustrated, I'm optimistic.
You do not have the required permissions to view the files attached to this post.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: New install Cannot select virtual folder
Quick and simple solution: change the font in your derived frame.
Re: New install Cannot select virtual folder
I've tried the font sizing code that formbuilder writes, I have also tried the scaling code you suggested elsewhere, neither has any impact (or build errors).
Re: New install Cannot select virtual folder
Here's an oddity.
If I put this in the constructor of the BASE CLASS (which of course will disappear the moment I regenerate the code with wxCrafter)
But if I put it in my derived class constructor, it has no effect.
If I put this in the constructor of the BASE CLASS (which of course will disappear the moment I regenerate the code with wxCrafter)
Code: Select all
MainFrameBaseClass::MainFrameBaseClass(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style)
: wxFrame(parent, id, title, pos, size, style)
{
if ( !bBitmapLoaded ) {
// We need to initialise the default bitmap handler
wxXmlResource::Get()->AddHandler(new wxBitmapXmlHandler);
wxC9ED9InitBitmapResources();
bBitmapLoaded = true;
}
this->SetFont( wxFont( 32, 74, 90, 90, false, wxT("Sans") ) ); // <<<----- this is the bit I added
You do not have the required permissions to view the files attached to this post.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: New install Cannot select virtual folder
Could you show your derived frame class and the ctor with that line?
Or better, would you mind attaching or pastebinning your project and its files, including your wxCrafter (wxcp) file, so that we could try this at home...
Or better, would you mind attaching or pastebinning your project and its files, including your wxCrafter (wxcp) file, so that we could try this at home...