Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, 7th_zorro), 893 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
compiling manually #462691
10/21/16 15:25
10/21/16 15:25
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I'm currently using visual studio code as source code editor for various reasons. So far things are working pretty well.
However, I'm having trouble to build an acknex executable by using the engine's .exe with command line options.

I tried '-exe' which creates an executable but it does not generate the additional dll-libraries that are needed.

Does anyone know, how to do this?


POTATO-MAN saves the day! - Random
Re: compiling manually [Re: Kartoffel] #462693
10/21/16 17:19
10/21/16 17:19
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
When you use visual studio compiler why you need to compile via acknex compiler ?

Re: compiling manually [Re: Dico] #462694
10/21/16 17:44
10/21/16 17:44
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
What?
VS can only invoke MSVC compiler, if you want it to do anything else you have to write small code and put it into the compiler pre-compile tasks:
Project options -> Build events -> Commandline -> Add your code

Example:
Code:
cd $(ProjectDir)..\..\..\
start Make_IceOS.bat
exit /b 1


Re: compiling manually [Re: Ch40zzC0d3r] #462701
10/22/16 07:42
10/22/16 07:42
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
err I think there's a little misunderstanding here grin

I want to compile an acknex application, within Visual Studio Code. It's Microsoft's "new" sourcecode editor (not Visual Studio, the name is kinda misleading).

So far things work. I can also call the acknex compiler and generate an executable but it does not generate an acknex.dll file.

So let me rearrange that question:
Which arguments do I need to pass to the acknex compiler to make it generate an executable including the neccessary .dlls.


POTATO-MAN saves the day! - Random
Re: compiling manually [Re: Kartoffel] #462704
10/22/16 10:49
10/22/16 10:49
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart


Visit my site: www.masterq32.de
Re: compiling manually [Re: MasterQ32] #462705
10/22/16 12:38
10/22/16 12:38
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
As MasterQ32 wrote, you should issue this CLI command:
WED -p yourpath\your.exe

Optionally you can add one more argument that marks a working directory.

For this command you should create a post build command in your project setup.

Re: compiling manually [Re: Aku_Aku] #462707
10/22/16 13:20
10/22/16 13:20
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Oh okay, so building isn't done using acknex.exe but wed. Thanks for the info!


POTATO-MAN saves the day! - Random

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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