-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in examples (Delphi) #518
Comments
FPC Only (so why do we create dproj files in the first place?) Fail to compile Now I can take this sanitied group project and see if 10.2.1 will also compile them all AllExamples.zip Additionally castle-engine-output should be removed by the Clean option in all auto-generated dproj files (sep issue I guess but in the middle of juggling stuff around) |
…orm_feedback compilation with Delphi See #518
I see we indeed left some examples only for FPC, and decided "too low priority to fix it now for Delphi". It was a known TODO, but admittedly landed in my long TODO list. It's time to deal with it. Jenkins test ( I'll fix it all, thanks. For now:
Fixed. Nothing special, just were missing small details, and ignored by We will likely move
Fixed. This was not known to fail. In this case the Jenkins was checking it, but Jenkins test uses DCC from command-line, ignoring DPROJ. And the DPROJ was wrong (outdated). I am still looking into how it could be outdated, because we have automatic tests to ensure that exactly this never happens ( |
Everything is looking good for 10.2.1 so far. Done 75+ Million lines - currently compiling test_rendering_opengl_capabilities_standalone.dproj (not got a clue how far thru I am) I'll let this run til it finishes then 10.2.1 will also have built all examples as well. By extrapolation anything higher has a 99.9999% chance of building as well (unpatched 11.0 would fail tho) |
OK, after some sleep it sucessfully built everything under 10.2.1 and prior to that did the same under 11.3 (not in VM so faster) Some stats... 124 projects Owing to the rather esxtensive compile time I'm not doing this too often |
See #519 - VM was at fault |
- use views, - have nice README, - use CGE UI (not TCastleWindow menu) See #518
…lphi, using TZipFile Also improve FPC zip reading, no need for temporary subdirectory anymore. See #518
Summary:
Fixed, and example modernized a bit (use TCastleView, use UI design in CGE editor, be cross-platform).
Fixed. Delphi includes Indy, so these are actually a bit simpler to compile in Delphi than in FPC, they just compile out-of-the-box with Delphi.
Fixed. Added a unit to unpack from ZIP specific file -> TStream, with both FPC and Delphi (hiding away differences in what FPC and Delphi provide in standard library to handle ZIP). Also improved FPC case, to not use any temp files. Remaining:
TODO: port rest of CastleScript to Delphi.
TODO: use DxGetText in Delphi. Assuming it works OK. Hopefully yes, Thomas Mueller maintains it.
|
I'm running AllExamples (laborius even when automated)
./research_special_rendering_methods/transform_feedback/transform_feedback.dproj
./research_special_rendering_methods/radiance_transfer/visualize_spherical_harmonics/visualize_spherical_harmonics.dpro
./research_special_rendering_methods/radiance_transfer/precompute/precompute_radiance_transfer.dproj
./research_special_rendering_methods/radiance_transfer/radiance_transfer.dproj
./research_special_rendering_methods/dynamic_ambient_occlusion/dynamic_ambient_occlusion.dproj
The above fail - note not everything in research_special_rendering_methods fails - 2 pass (thought Jenkins was doing this?)
The text was updated successfully, but these errors were encountered: