Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8868215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:12:59+00:00 2026-06-14T17:12:59+00:00

I’m trying to install GLScene into RAD Studio 2010 , with the aim of

  • 0

I’m trying to install GLScene into RAD Studio 2010, with the aim of using it from a mostly C++ project. I downloaded the latest snapshot (5991, November 2011) and have been trying to compile and install the two main packages: GLScene_DesignTime and GLScene_RunTime. I haven’t even tried some of the other libraries (CUDA, etc), I just want to get the base packages running.

I’ve encountered a number of problems, one of which I can’t solve, and I’m seeking the help of anyone on SO who has successfully installed GLScene, or might know how to solve these Delphi compiler errors.

First problem (solved?)

When compiling, a number of files gave the following error:

[DCC Warning] GLSelection.pas(297): W1025 Unsupported language feature: 'abstract class method'

This is caused by a method declaration something like:

TGLBaseSelectTechnique = class
  public
    class function IsSupported: Boolean; virtual; abstract;

It seems that a virtual abstract class method is not supported in Delphi 2010, and I have solved it by removing ‘abstract‘ and providing a dummy implementation, e.g. just returning false.

The second problem (not solved) – Delphi compiler fatal errors

I am now encountering two more serious errors. When compiling, the compiler fails like so:

[DCC Fatal Error] Exception EAccessViolation: Access violation at address 05AE8ED9 in module 'dcc140.dll'. Read of address 00000003
[DCC Error] Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

It doesn’t say what file caused this, but I think it’s caused by Spline.pas. Occasionally and not as often, I get this:

[DCC Fatal Error] Spline.pas(1): F2084 Internal Error: AV062D8ED9-R00000003-0

This indicates Spline.pas, and I think the first error is probably related to the file too, because after getting the first one if I then clean the project, cleaning will fail saying it could not delete Spline.hpp. (I have to close and reopen the IDE.) Spline.hpp just contains the following:

// CodeGear C++Builder
// Copyright (c) 1995, 2009 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Spline.pas' rev: 21.00

#ifndef SplineHPP
#define SplineHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>   // Pascal unit
#include <Sysinit.hpp>  // Pascal unit

and there it stops. It looks to me like it failed when trying to generate the HPP file.

I always get one of these two failures. The second is the only one I can tie to a specific file; the first fails halfway through the project, but I can’t see where it got up to when it failed. I am compiling from inside the IDE.

I’ve looked in Spline.pas, and it seems pretty basic code – I can’t see anything unusual at all. You can find it here, and apparently the file hasn’t been touched for seven years… so I think it should compile 🙂

If I change the project settings so it does not generate headers, it compiles fine. (Generating just obj files, and any other of the settings that does not include “headers”, all work fine.) But this isn’t a good workaround for me – after all, I need to use it from C++ Builder, so my normal setting would be “Generate all C++ Builder files”. At a bare minimum, I need HPP and OBJ files.

Has anyone here used GLScene in a recent version of C++ Builder? Have you encountered similar problems? Any idea how to solve this one?

I am using:

  • RAD Studio 2010 (fully patched and up to date; DDevExtensions and IDEFixPack installed.)
  • The November 2011 snapshot; I tried the March 2011 snapshot too, and got the same problems. Link to snapshots here.
  • The Delphi 2010 packages modified only by changing the linker output to generate C++ Builder files; and also the BCB 6 packages. Both give the same errors.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:13:02+00:00Added an answer on June 14, 2026 at 5:13 pm

    Edit: GLScene now has compatibility with RAD Studio XE3 (including C++ Builder.)

    Now there is full compatibility of GLScene with Embarcadero RAD Studio
    C++Builder XE3 as in design and runtime mode.

    You can download it from http://yadi.sk/d/o1QGI2KA10MK1 (95Mb)

    — from Pal Wassail’s post on the Embarcadero forum thread.


    {quote:title=David M wrote:}{quote}
    Hi,

    I’m trying to install GLScene into RAD Studio…
    David

    And here is more simple Test for EMB developers of Delphi XE3 header generator –

    1.Create a VCL Form Application
    2.Add in Unit1.pas interface section

    type
     TVector3f = array[0..2] of single;
     TVector4f = array[0..3] of single;
    
     function VectorAdd(const v : TVector3f; const f : Single) : TVector3f; overload;
     function VectorAdd(const v : TVector4f; const f : Single) : TVector4f; overload;
    

    3.Add in implementation section

    function VectorAdd(const v : TVector3f; const f : Single) : TVector3f;
    begin
      Result[0]:=v[0]+f;
      Result[1]:=v[1]+f;
      Result[2]:=v[2]+f;
    end;
    
    function VectorAdd(const v : TVector4f; const f : Single) : TVector4f;
    begin
       Result[0]:=v[0]+f;
       Result[1]:=v[1]+f;
       Result[2]:=v[2]+f;
       Result[3]:=v[3]+f;
    end;
    
    1. Set Delphi Compiler option “Generate C++ .objs, headers, namespaces, export”
    2. Build the project
    3. Then Delphi XE3 compiler generates wrong header file Unit1.hpp with lines:

      extern PACKAGE TVector3f __fastcall VectorAdd
      (float const v, const float f)/ overload */;
      extern PACKAGE TVector4f __fastcall VectorAdd
      (float const v, const float f)/ overload */;

    4. If now you are trying to use this header file Unit1.hpp in my.cbproj you get fatal error:
      “E2238 Multiple declarations in …”

    Yes, if you change vector array types to records:

     TVector3f = record
        case boolean of
          true  : (Coord: array[0..2] of single);
          false : (X,Y,Z: single);
    end;
    
    • then the problem could be solved, because in this case Delphi compiler generates

      extern PACKAGE Vectortypes::TVector3f __fastcall VectorAdd
      (const Vectortypes::TVector3f &v, const float f)/* overload */;
      extern PACKAGE Vectortypes::TVector4f __fastcall VectorAdd
      (const Vectortypes::TVector4f &v, const float f)/* overload */;

    and you could build your C++Builder VCL application without “Multiple declaration ” error. It was done for old GLScene version in 2007, but now you need to rewrite some part of code in new library, starting from VectorGeometry.pas module.

    1. There are second way to fix such automatic header’s errors – improvement of Delphi compiler in Generating C/C++ headers, namespaces and packages option. But it’s in hands of EMB developers.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am currently running into a problem where an element is coming back from
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.