[...]
Can you please explain some of your steps:
- Create an empty project with the wizard,
If the sample project uses frames shouldn't I create an "wxWidgets project" and use wxSmith? I called the project "My" since the cpp files use "MyFrame". Should I copy the sample project files into the same directory as the newly created "My" CB project?
Not if it is an existing project.
The template creates a new project from our wxwidgets template.
- adjust the makefiles-name and probably its path (if needed, default path is the projects bas path),
Can you please check the attached screen shots and if wrong let me know what they should be?
On linux the makefile name is makefile.unx and the execution-dir for it is the directory it is locate in.
- fix the make commands (most likely needed),
How do I fix them and what do I set them to?
At least remove the references to $(target) or make sure they point to valid targets inthe makefile.
- click "Add files" or "Add files recursively",
Which files need to be added to the CB project? Is it enough with the .cpp files?
All you need, at least all sources and headers.
I suggest to add also the makefile.
But even in this case, it will not work as easy as you might think with the sockets sample.
You get four executables here and at least two have to be started by you (client and server) and if you want to debug both at the same time, you (obviously) need two running instances of C:B, one for the client and one for the server.
If you get problems compiling the sample with C::B try it from commandline first.
The sockets sample from trunk (some weeks old) is not compilable, it bails out with multiple undefined references, even if I try to cmpile it in a console.
Either I miss something or it is broken.
But it might work in 2.8.