View topic - How do i make the C++ wrapper using awk files



All times are UTC + 1 hour


Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 22 Nov 2011, 00:08 

Joined: 05 Jul 2011, 06:16
I tried to build the new C++ files using the *.awk files in AI\Wrappers\Cpp\bin in the 0.82.7.1 spring source, but it just stops. I don't know much about awk files but i edited the files to print some debug to show where it gets stuck and from what is printed it gets to the end of the BEGIN statement but never makes it to the first line of the END statement. any assistance would be appreciated.

I have gawk and this is the bat file I'm running that gets stuck on the first AWK line no matter which awk file i try to run first


set CUtilsPath=..\..\CUtils\bin\
set awk="C:\Program Files (x86)\GnuWin32\bin\gawk.exe"

%awk% -f wrappCommands.awk -f %CUtilsPath%common.awk -f %CUtilsPath%commonDoc.awk
%awk% -f wrappCallback.awk -f %CUtilsPath%common.awk -f %CUtilsPath%commonDoc.awk -f %CUtilsPath%commonOOCallback.awk
%awk% -f wrappEvents.awk -f %CUtilsPath%common.awk -f %CUtilsPath%commonDoc.awk


Top
 Offline Profile  
 
PostPosted: 22 Nov 2011, 00:40 
Spring Developer

Joined: 08 Oct 2006, 15:58
Code:
make Cpp-AIWrapper*


Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 05:42 

Joined: 05 Jul 2011, 06:16
Kloot wrote:
make Cpp-AIWrapper*


I'm working on a windows computer so getting make to work was not a trivial task. but even after installing cygwin, ensuring the 'make' package was included and then updating the 'PATH' system variable to include C:\cygwin\bin\ i'm still not having any luck.

i just get:
make: *** no rules to make target 'Cpp-AIWrapper'. Stop.

i really have very little idea what i am doing so I'm not sure what I'm going wrong, any assistance would be nice. :S


Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 09:13 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
on this site:
Development < Building Spring < Building Spring on Windows


Top
 Offline Profile  
 
PostPosted: 06 Dec 2011, 18:38 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
For those confused, the * on the end was causing the issues in my case:

Code:
make Cpp-AIWrapper


Works fine


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.