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
How do i make the C++ wrapper using awk files
Moderators: hoijui, Moderators
Re: How do i make the C++ wrapper using awk files
Code: Select all
make Cpp-AIWrapper*
-
- Posts: 7
- Joined: 05 Jul 2011, 07:16
Re: How do i make the C++ wrapper using awk files
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.Kloot wrote:make Cpp-AIWrapper*
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
Re: How do i make the C++ wrapper using awk files
on this site:
Development < Building Spring < Building Spring on Windows
Development < Building Spring < Building Spring on Windows
Re: How do i make the C++ wrapper using awk files
For those confused, the * on the end was causing the issues in my case:
Works fine
Code: Select all
make Cpp-AIWrapper