The other day I decided to try to install the engine in the C++ Builder 12.3 environment. It was a surprise for me that such an engine appeared in this environment. At the moment, I am still looking at how it all works and trying to run examples from the repository.
I was very pleased that installing the package in the development environment (C++ Builder) did not cause any problems.
I tried to install two examples for FMX and VCL from the example, but not everything went so smoothly here (during compilation, errors appeared about the class belonging to the private section and for some reason the compiler complains about inheritance). I had to temporarily correct the source files and move a couple of functions to the public section. After that, everything worked.
Otherwise, I like everything. A great tool!
Upd1.
I tried to create an empty project in the Castle-editor . It turned out that at least an empty project is generated only for Pascal. This is not a problem, but very inconvenient.
Is it possible to add an item for generating an empty C++ Builder project in the editor?
When creating a project manually, there is a chance that not everyone will be able to compile the project. A detailed analysis showed that C++ Builder does not include some .lab files in certain cases when creating a project. This will greatly simplify the start of work for many beginners.
It is also desirable that when you click the edit button for a project, it opens in the C++ Builder.
Having at least 1 new project for C++ Builder, “Empty (using C++
Builder)”
and then “Code → Open Project In Code Editor” (and friends) opening C++ Builder
… would make sense.
Admittedly, we didn’t do such features “that we can live without” because I was not sure how many developers using C++ Builder are interested in our engine. It’s been some time since we announced our C++ Builder compatibility (news) and I think you’re the first one to come and say “hey, this is cool :)”.
So, well, you just changed the statistics Added this to my TODO, PRs for this would also be accepted. Note that editor is using Lazarus IDE for compilation, so Pascal.
For now the suggested solution is just to copy one of our examples, like examples/delphi/cpp_builder/window, and search+replace inside to adjust project name to your liking.
I would be happy to learn more about your (or anyone else!) experience using CGE from C++ Builder. As said above, we didn’t get much C++ feedback at this point, but we are committed to supporting C++ Builder forever (since it’s so easy, thanks to Delphi making it easy to just get all Pascal API in C++). So, more feedback about C++ Builder is very welcome