Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by Ayumi
8 minutes 11 seconds ago
Performance report on the imported trades
by OptimusPrime
15 minutes 30 seconds ago
Possible to return character vector from R bridge?
by JamesHH
Today at 18:59
Help with Wine on Linux
by AndrewAMD
Today at 16:59
Stock Splits
by AndrewAMD
Today at 16:23
Linux - Help with setting up with Wine and Zorro
by michaelj
Today at 04:49
How to expand Zorro to work with other broker ( like Tradovate )
by AndrewAMD
Today at 02:12
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online
12 registered (AndrewAMD, Ayumi, JamesHH, ChrstphFr, michaelj, Akow, jenGs, Bill_Lin_Fang, alibaba, 1 invisible), 165 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Bill_Lin_Fang, michaelj, ThePituLegend, kankan, Nofip
18207 Registered Users
Topic Options
Rate This Topic
#476257 - 02/08/19 14:42 Alternative IDE Environment
j45p41 Offline
Newbie

Registered: 02/08/19
Posts: 7
Loc: Other
Hi,

just joined the forum and i have tried getting an answer to this but cant find one. Can I use another IDE for coding/debugging lite-C such as CLion. So far I have downloaded the gamestudio script editor but would like to use Clion if possible.

I am coming from using Python on Pycharm and emabrking on learning C - sorry if the answer is obvious.

Top
#476258 - 02/08/19 15:00 Re: Alternative IDE Environment [Re: j45p41]
AndrewAMD Online
User

Registered: 02/21/17
Posts: 631
Loc: Chicago
If you have Zorro S, you can make Strategy DLL's.

https://zorro-project.com/manual/en/dlls.htm

Just change the project templates to accommodate CLion rather than Visual Studio. Better yet, just use Visual Studio. wink

Top
#476259 - 02/08/19 16:16 Re: Alternative IDE Environment [Re: AndrewAMD]
j45p41 Offline
Newbie

Registered: 02/08/19
Posts: 7
Loc: Other
ok so I moved the include directory contents for gamestudio to that if my MGW directory on C-lion and it seems to work! Now waiting for somebody to tell me why this is a stupid idea laugh

Top
#476260 - 02/08/19 16:21 Re: Alternative IDE Environment [Re: j45p41]
AndrewAMD Online
User

Registered: 02/21/17
Posts: 631
Loc: Chicago
You're in the Zorro forums - are we talking about Gamestudio or Zorro?

Top
#476261 - 02/08/19 16:28 Re: Alternative IDE Environment [Re: AndrewAMD]
j45p41 Offline
Newbie

Registered: 02/08/19
Posts: 7
Loc: Other
Talking about Zorro laugh trying to develop my code in Clion.

Top
#476262 - 02/08/19 16:54 Re: Alternative IDE Environment [Re: j45p41]
AndrewAMD Online
User

Registered: 02/21/17
Posts: 631
Loc: Chicago
Well, if it works, it works. laugh

Top
#476263 - 02/08/19 17:07 Re: Alternative IDE Environment [Re: AndrewAMD]
j45p41 Offline
Newbie

Registered: 02/08/19
Posts: 7
Loc: Other
That's what I thought laugh

Top
#476286 - 02/12/19 07:42 Re: Alternative IDE Environment [Re: j45p41]
Dalla Offline
Senior Member

Registered: 02/24/17
Posts: 346
Ive looked into doing this with Visual Studio Code.
My main boggle is that I have to include zorro.h in the strategy to stop VS Code from complaining about missing imports, but having zorro.h included when executing the strategy in Zorro crashes the script. So basically I have to comment out the include line before executing the strategy :-(

Top
#476287 - 02/12/19 08:24 Re: Alternative IDE Environment [Re: Dalla]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26839
Loc: Frankfurt
zorro.h is for DLL development. When you write a lite-C script and your IDE complains about missing includes, then include default.c.

Top



Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de