Problems when starting from the very beginning.
Posted: Mon Jun 18, 2012 5:25 pm
This is going to be a bit wordy as I'm trying to give detailed information on the problems I'm running into and why I'm running into them.
I'm a totally new user, never used any C/C++ IDE before and therefore never used CodeLite before. The only source of "how to do things" is the tutorials and examples provided. The result is that any form of error during installation / testing is a serious one because I've got nothing prior to draw on.
Objectives: 1) Install CodeLite, MinGW, and wxWidgets. 2) Successfully build Hello World. 3) Successfully build a Hello World GUI equivalent or any simple GUI test.
Attempt A) I installed CodeLite, MinGW, and wxWidgets separately.
I had some problems getting them together, but I seemed to have success.
Hello World A) I used the website's Documentation / Setup and Settings / Simple Hello World.
It was successful.
GUI Hello World A) I used the website's Documentation / Video / General / Hello World.
The video goes too fast, but use of backup / pause solved that problem. Followed the steps up to clicking on the Red/Blue/Yellow "New wxWidgets Project" and ran into my first hard problem. No Red/Blue/Yellow icon to click on. Tried bringing up other toolbars, no luck. Looked around some, but as I wasn't sure what I was looking for, also no luck. Spent a while looking around, no success.
I finally decided that I'd messed up the installation. I uninstalled the three packages and started over.
Attempt B) Found the package codelite-2.6.0.4189-mingw4.4.1-wx2.8.10.exe and installed it. I can't remember now how I found that package which indicates that wherever the package is, better documentation is needed on how to get to it. Looking at the IDE after installation, I could see that I was going to have problems because the Red/Blue/Yellow icon still isn't there.
Hello World B) Again I used the website's Documentation / Setup and Settings / Simple Hello World.
It was successful.
GUI Hello World B) Again I used the website's Documentation / Video / General / Hello World.
I followed the steps up to clicking on the wxWidgets icon then started looking around again. Keep in mind that I've no experience whatsoever with this program so I have no idea where to go to find things; it takes time and lots of errors.
I checked lots of places (Plugins / Manage Plugins seemed like a good place; it wasn't) until I found it under Plugins / Gizmos. Why Gizmos? No idea. That had the "New wxWidgets Project Wizard". Close enough. And it turns out to be the right thing. Up came the window and I was able to continue on. Didn't look very much like the video, but close enough.
Expanded the final item as per the video (couldn't expand the other things that it showed; they weren't there) and found I had a "Hello World" piece of code that didn't look at all like the video. Exited, wiped the work directory, tried again. It took a couple of tries before I noticed that the wxWidgets popup didn't have the same settings as mine did. The video didn't show altering them, that's why I missed it. Mine had "Simple main with wxWidgets enabled" while the video had "GUI application with Main Frame". This time I had items under "include" and my myapp_frame.cpp file matched the video.
Clicked the buttons that the video showed (it would be nice if the video's creator had paused long enough on each button for the tooltip to appear) and up the program came. Success, to that point anyway.
Swapped the Header/Implementation files as per the video. Moved down and started typing as per the video. Got the popup while typing the word void. Put in "OnHelp(" and noticed that the video showed only the one "(" while mine did a completion "()". Continued typing in "wxCommandEvent" but didn't get the completion popup. I wondered if that was because of the following ")", so I erased from end of line back to "wx" and tried again. No success; I'm missing the completion popup for the wxWidgets. Completed the line as per the video.
Highlighted "OnHelp", then right-click / Code Generation/Refactoring / Add Function Implementation and then nothing. The video gets a popup called "Move Function Implementation Preview" but I get nothing.
So far I've not found how to get that window to pop up nor where the new bit's supposed to go.
First question: Where do I find a simple list of instructions that I can use to configure my IDE to match the configuration in the video? I haven't found such so far on the website. (Again, I know NOTHING about the various bits of the IDE, so I'm looking for the simplest possible, detailed instructions. It may well be that I've actually passed over the stuff I need simply because it assumes knowledge that I don't yet have and thus started too far into the sequence for me to recognize that it's what I'm after.)
Second question: As an alternative to a list of steps, is there a video of "these are the steps to get popups and autocompletion to work"?
Third question: Assuming that the video is out of date, given the visual differences between what it shows and what my IDE shows, is there a more recent video of "how to build a sample GUI program"?
The above is where I'm at from a stone-cold start. I hope I've explained my problem(s) clearly, and why those problems exist. Thank you for any help you can give.
I'm a totally new user, never used any C/C++ IDE before and therefore never used CodeLite before. The only source of "how to do things" is the tutorials and examples provided. The result is that any form of error during installation / testing is a serious one because I've got nothing prior to draw on.
Objectives: 1) Install CodeLite, MinGW, and wxWidgets. 2) Successfully build Hello World. 3) Successfully build a Hello World GUI equivalent or any simple GUI test.
Attempt A) I installed CodeLite, MinGW, and wxWidgets separately.
I had some problems getting them together, but I seemed to have success.
Hello World A) I used the website's Documentation / Setup and Settings / Simple Hello World.
It was successful.
GUI Hello World A) I used the website's Documentation / Video / General / Hello World.
The video goes too fast, but use of backup / pause solved that problem. Followed the steps up to clicking on the Red/Blue/Yellow "New wxWidgets Project" and ran into my first hard problem. No Red/Blue/Yellow icon to click on. Tried bringing up other toolbars, no luck. Looked around some, but as I wasn't sure what I was looking for, also no luck. Spent a while looking around, no success.
I finally decided that I'd messed up the installation. I uninstalled the three packages and started over.
Attempt B) Found the package codelite-2.6.0.4189-mingw4.4.1-wx2.8.10.exe and installed it. I can't remember now how I found that package which indicates that wherever the package is, better documentation is needed on how to get to it. Looking at the IDE after installation, I could see that I was going to have problems because the Red/Blue/Yellow icon still isn't there.
Hello World B) Again I used the website's Documentation / Setup and Settings / Simple Hello World.
It was successful.
GUI Hello World B) Again I used the website's Documentation / Video / General / Hello World.
I followed the steps up to clicking on the wxWidgets icon then started looking around again. Keep in mind that I've no experience whatsoever with this program so I have no idea where to go to find things; it takes time and lots of errors.
I checked lots of places (Plugins / Manage Plugins seemed like a good place; it wasn't) until I found it under Plugins / Gizmos. Why Gizmos? No idea. That had the "New wxWidgets Project Wizard". Close enough. And it turns out to be the right thing. Up came the window and I was able to continue on. Didn't look very much like the video, but close enough.
Expanded the final item as per the video (couldn't expand the other things that it showed; they weren't there) and found I had a "Hello World" piece of code that didn't look at all like the video. Exited, wiped the work directory, tried again. It took a couple of tries before I noticed that the wxWidgets popup didn't have the same settings as mine did. The video didn't show altering them, that's why I missed it. Mine had "Simple main with wxWidgets enabled" while the video had "GUI application with Main Frame". This time I had items under "include" and my myapp_frame.cpp file matched the video.
Clicked the buttons that the video showed (it would be nice if the video's creator had paused long enough on each button for the tooltip to appear) and up the program came. Success, to that point anyway.
Swapped the Header/Implementation files as per the video. Moved down and started typing as per the video. Got the popup while typing the word void. Put in "OnHelp(" and noticed that the video showed only the one "(" while mine did a completion "()". Continued typing in "wxCommandEvent" but didn't get the completion popup. I wondered if that was because of the following ")", so I erased from end of line back to "wx" and tried again. No success; I'm missing the completion popup for the wxWidgets. Completed the line as per the video.
Highlighted "OnHelp", then right-click / Code Generation/Refactoring / Add Function Implementation and then nothing. The video gets a popup called "Move Function Implementation Preview" but I get nothing.
So far I've not found how to get that window to pop up nor where the new bit's supposed to go.
First question: Where do I find a simple list of instructions that I can use to configure my IDE to match the configuration in the video? I haven't found such so far on the website. (Again, I know NOTHING about the various bits of the IDE, so I'm looking for the simplest possible, detailed instructions. It may well be that I've actually passed over the stuff I need simply because it assumes knowledge that I don't yet have and thus started too far into the sequence for me to recognize that it's what I'm after.)
Second question: As an alternative to a list of steps, is there a video of "these are the steps to get popups and autocompletion to work"?
Third question: Assuming that the video is out of date, given the visual differences between what it shows and what my IDE shows, is there a more recent video of "how to build a sample GUI program"?
The above is where I'm at from a stone-cold start. I hope I've explained my problem(s) clearly, and why those problems exist. Thank you for any help you can give.