Lazarus - problem with compiling

Examples step by step how to make your own automated strategy or user indicator
Message
Author
mariusz
Posts: 5
Joined: Wed Nov 10, 2010 12:09 pm

Lazarus - problem with compiling

#1 Postby mariusz » Wed Nov 10, 2010 12:47 pm

Hi

I copied strategy from lesson 2, but when I am trying to compile the project I get message:

"StrategyInterfaceUnit.pas(1,1)Fatal: Can't find unit graphics used by StrategyInterfaceUnit"

Where can I get file graphics from?



also the link to video about how to compile indicator using lazarus

in "Development tools" thread on this forum leads to something completely different ...

:)

cheers

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Wed Nov 10, 2010 1:32 pm

Hello,

Please do the following steps to fix this issue:

1) Go to Project -> Project Inspector menu
2) In next window click "Add"
3) In "Add to project window" choose "LCL" on "New Requirement" tab (see "LCL.gif" screenshot)
4) Go to Project -> "Compiler Options"
5) Switch to "Parsing" tab and choose "Delphi" as a Syntax mode
6) Switch to "Code" tab and choose "Target OS" = WinXX

I hope that project will be built successfully after that.

And thank you for your note about video, we'll fix it.
Check our other product here:
http://www.forexcopier.com

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#3 Postby FT Support » Mon Nov 29, 2010 4:11 am

Video which shows how to compile dlls with Lazarus is accessible here: http://www.youtube.com/watch?v=kL7z8kG7WCw
Check our other product here:
http://www.forexcopier.com

hjabu
Posts: 30
Joined: Fri Aug 21, 2009 9:30 am
Contact:

"Compile stopping"

#4 Postby hjabu » Tue Apr 19, 2011 12:23 am

Please help what is the problem using Lzarus compile dpr,
i have follow correctly in the you Tube video... afther building , it wont compiling , an eror says compiling stop...

Please tell me what went wrong....

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#5 Postby FT Support » Tue Apr 19, 2011 3:37 pm

Hello hjabu,

Please give us more details and screenshots.

What errors do you get? what exact steps do you do?
Check our other product here:
http://www.forexcopier.com

KelvinHand
Posts: 103
Joined: Sun Jan 02, 2011 6:05 pm

#6 Postby KelvinHand » Wed Apr 20, 2011 12:36 am

Hi FT Support,

Try out the Lazarus 0.9.30. Setup according to your above instruction.
But still build with error missing WS***.

Found that your youtube is using 0.9.26.2. Try it out and everything run
smoothly accordingly.

So I believed it is safe and reliable to use Lazarus 0.9.26.2, to avoid unnecessary problem for compilation.


However, found that the Lazarus compiled DLL size is huge, approx 6MB as compare to delphi 100KB.

Can you recommend some ways to reduce the size in the Lazarus Options
?

//---------------------------------------------------

Fortunately, i also found from web that you can implement lazarus tools to reduce the size tremendously by these commands:

strip -s BollingerBands.dll
upx BollingerBands.dll

My BollingerBands.dll 6M reduced to 300K and worked on FT2.


Is there any way to setup the build process to include the above reduce size commands ?

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#7 Postby FT Support » Wed Apr 20, 2011 3:25 am

Hello Kevin,

Sorry do not have a lot of experience with Lazarus...

Will try to find answers later, if anyone has experience in Lazarus we'd appreciate any help.
Check our other product here:
http://www.forexcopier.com


Return to “Programming lessons”

Who is online

Users browsing this forum: No registered users and 6 guests