Recent

Author Topic: i have problem...?  (Read 9325 times)

karika

  • New Member
  • *
  • Posts: 20
i have problem...?
« on: September 04, 2014, 12:41:54 am »
i serch for LCLType.dcu but not found it .

see my problem

http://www11.0zz0.com/2014/08/29/21/235206178.jpg

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: i have problem...?
« Reply #1 on: September 04, 2014, 12:45:16 am »
LCLType is Lazarus unit, it does not exist (and does not make sense) in Delphi.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

karika

  • New Member
  • *
  • Posts: 20
Re: i have problem...?
« Reply #2 on: September 04, 2014, 12:51:59 am »
ok , but now i want to used to

procedure TForm1.GLCadencer1Progress(Sender: TObject; const deltaTime,
  newTime: Double);
  var speed:Double;
begin
speed:=20*deltaTime;
if IsKeyDown('x') then cami.MoveUp;
if IsKeyDown('S') then cami.Move(-speed);

end;

karika

  • New Member
  • *
  • Posts: 20
Re: i have problem...?
« Reply #3 on: September 04, 2014, 12:56:04 am »

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: i have problem...?
« Reply #4 on: September 04, 2014, 11:02:16 am »
Unfortunately, I have no experience with OpenGL.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: i have problem...?
« Reply #5 on: September 04, 2014, 11:38:28 am »
Ask GLScene developer, whether their GLKeyboard is portable or do they have separate implementation for Lazarus and Delphi, and so on.

EDIT: apparently from the video at least the unit also exists for Delphi, under any implementation (separate unit or something else). It might worth mentioning the GLScene version and also where you get it from.
« Last Edit: September 04, 2014, 12:53:42 pm by Leledumbo »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: i have problem...?
« Reply #6 on: September 04, 2014, 12:01:53 pm »
Does your project have a dependency on LCL ?  Project -> project inspector, and "LCL" and afaik also "LCLBase"  should be in the required packages.

karika

  • New Member
  • *
  • Posts: 20
Re: i have problem...?
« Reply #7 on: September 04, 2014, 12:30:37 pm »
this my Project1 can any body edit ;
>>> i want to move camera <<<

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: i have problem...?
« Reply #8 on: September 04, 2014, 12:56:06 pm »
This is a Delphi project, and this forum is a Lazarus forum. I think you should ask in Embarcadero forum or some other Delphi forum. I know some people here are also Delphi coder, but to keep the forum stay focus on Lazarus and Free Pascal, I don't think it's a good idea to allow Delphi specific questions here.

 

TinyPortal © 2005-2018