Hi
I have a problem with c++ builder. I have made a simulation and I used Nehes tutorials as reference. Therefore I have created the simulation window like the ones in Nehes tutorials. That means my simulation is not on a form. However, I have to put that simulation on one of my forms not on a different simulation window. Is there a way to achieve this?
I have a found a web site named “home of AP”. There is an OpenGLAPPanel component there. However I couldnt download the component. Are there any other places that I can download this component or is there another solution?
I have made a research on the net and understood nothing. On borlands main page, I have found an article and a code showing “How to Set up OpenGL in C++Builder”. I take the source code and compile it on my computer. The following errors occur
[C++ Error] GlSkel.cpp(2): E2209 Unable to open include file ‘VCL.H’
[C++ Error] GlSkel.h(5): E2209 Unable to open include file ‘Classes.hpp’
[C++ Error] GlSkel.h(6): E2209 Unable to open include file ‘Controls.hpp’
[C++ Error] GlSkel.h(7): E2209 Unable to open include file ‘StdCtrls.hpp’
[C++ Error] GlSkel.h(8): E2209 Unable to open include file ‘Forms.hpp’
[C++ Error] GlSkel.h(9): E2209 Unable to open include file ‘gl\gl.h’
[C++ Error] GlSkel.h(10): E2209 Unable to open include file ‘gl\glu.h’
[C++ Error] GlSkel.h(13): E2303 Type name expected
[C++ Error] GlSkel.h(14): E2289 __published or __automated sections only supported for VCL classes
[C++ Error] GlSkel.h(15): E2293 ) expected
[C++ Error] GlSkel.h(16): E2293 ) expected
[C++ Error] GlSkel.h(17): E2293 ) expected
[C++ Error] GlSkel.h(18): E2293 ) expected
[C++ Error] GlSkel.h(19): E2293 ) expected
[C++ Error] GlSkel.h(22): E2303 Type name expected
[C++ Error] GlSkel.h(22): E2139 Declaration missing ;
[C++ Error] GlSkel.h(23): E2303 Type name expected
[C++ Error] GlSkel.h(23): E2139 Declaration missing ;
[C++ Error] GlSkel.h(26): E2293 ) expected
[C++ Error] GlSkel.h(28): E2321 Declaration does not specify a tag or an identifier
[C++ Error] GlSkel.h(32): E2141 Declaration syntax error
[C++ Error] GlSkel.cpp(11): E2147 ‘TComponent’ cannot start a parameter declaration
[C++ Error] GlSkel.cpp(12): E2316 ‘_fastcall TForm1::TForm1(int *)’ is not a member of ‘TForm1’
[C++ Error] GlSkel.cpp(17): E2147 ‘TObject’ cannot start a parameter declaration
[C++ Error] GlSkel.cpp(18): E2316 ‘_fastcall TForm1::IdleLoop(int *,bool &)’ is not a member of ‘TForm1’
[C++ Error] GlSkel.cpp(18): E2228 Too many error or warning messages