Gamestudio Links
Zorro Links
Newest Posts
no trade when there is a negative trained WFOcycle
by maxwellreturn. 08/24/19 22:33
Skip Stepcycle
by maxwellreturn. 08/24/19 22:27
Script filename
by MatPed. 08/24/19 20:49
Any Old Timers Still Around?
by pyramide. 08/24/19 18:23
Oanda FIFO issue?
by AndrewAMD. 08/24/19 12:10
IG plugin initial release
by Dalla. 08/24/19 06:06
Tutorial for Vector Graphics
by Dooley. 08/23/19 22:32
Issue with dataParse function
by byakuren81. 08/23/19 21:57
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 Now
1 registered members (AndrewAMD), 633 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Ysbail, trader4321, GorgonzolaBYTE, Southqvist, tawin
18272 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Alternative IDE Environment #476257
02/08/19 13:42
02/08/19 13:42
Joined: Feb 2019
Posts: 12
Other
J
j45p41 Offline OP
Newbie
j45p41  Offline OP
Newbie
J

Joined: Feb 2019
Posts: 12
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.

Re: Alternative IDE Environment [Re: j45p41] #476258
02/08/19 14:00
02/08/19 14:00
Joined: Feb 2017
Posts: 742
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 742
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

Re: Alternative IDE Environment [Re: AndrewAMD] #476259
02/08/19 15:16
02/08/19 15:16
Joined: Feb 2019
Posts: 12
Other
J
j45p41 Offline OP
Newbie
j45p41  Offline OP
Newbie
J

Joined: Feb 2019
Posts: 12
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

Re: Alternative IDE Environment [Re: j45p41] #476260
02/08/19 15:21
02/08/19 15:21
Joined: Feb 2017
Posts: 742
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 742
Chicago
You're in the Zorro forums - are we talking about Gamestudio or Zorro?

Re: Alternative IDE Environment [Re: AndrewAMD] #476261
02/08/19 15:28
02/08/19 15:28
Joined: Feb 2019
Posts: 12
Other
J
j45p41 Offline OP
Newbie
j45p41  Offline OP
Newbie
J

Joined: Feb 2019
Posts: 12
Other
Talking about Zorro laugh trying to develop my code in Clion.

Re: Alternative IDE Environment [Re: j45p41] #476262
02/08/19 15:54
02/08/19 15:54
Joined: Feb 2017
Posts: 742
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 742
Chicago
Well, if it works, it works. laugh

Re: Alternative IDE Environment [Re: AndrewAMD] #476263
02/08/19 16:07
02/08/19 16:07
Joined: Feb 2019
Posts: 12
Other
J
j45p41 Offline OP
Newbie
j45p41  Offline OP
Newbie
J

Joined: Feb 2019
Posts: 12
Other
That's what I thought laugh

Re: Alternative IDE Environment [Re: j45p41] #476286
02/12/19 06:42
02/12/19 06:42
Joined: Feb 2017
Posts: 355
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 355
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 :-(

Re: Alternative IDE Environment [Re: Dalla] #476287
02/12/19 07:24
02/12/19 07:24
Joined: Jul 2000
Posts: 26,996
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 26,996
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.


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

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

Powered by UBB.threads™ PHP Forum Software 7.7.1