📄 readme.txt
字号:
Total Phase Aardvark Sample Code
--------------------------------
Introduction
------------
This directory contains examples that use the Aardvark Rosetta .NET
language bindings.
The file aardvark.cs is the C# binding that will be compiled and
integrated into the application being developed.
Contents
--------
- Makefile for Linux or Windows
- Visual Studio solution for Visual Studio .NET 2003 and above
See top level README.txt for descriptions of each example.
Build Instructions
------------------
In each case, PROGRAM can be any of the sample programs, without the
'.cs' extension.
Linux:
1) Make sure that 'CSC=mcs' and 'OPT=-' is uncommented in the Makefile
2) Type 'make' at the command line. This will build the examples and
also copy aardvark.so to _output/libaardvark.so: note that the "lib"
prefix is required for C# interpreter to successfully load the
software library.
4) cd _output
5) mono PROGRAM
Note that libaardvark.so must be in either the current directory or
in a directory contained in the environment variable
LD_LIBRARY_PATH. Otherwise, 'mono _output/PROGRAM' will fail.
Windows Makefile:
1) Install mingw32-make
The latest version can be downloaded from the MinGW website:
http://www.mingw.org/
2) Install MSYS
The latest version can be downloaded from the MinGW website:
http://www.mingw.org/
3) Make sure that 'CSC=csc' and 'OPT=/' is uncommented in the Makefile
4) Type 'make' at the command line. This will build the examples and
also copy aardvark.dll to _output.
5) cd _output
6) PROGRAM.exe
Windows Visual Studio .NET 2003 or later:
1) Copy all the .cs files into the VisualStudio directory
2) Place aardvark.dll in the PATH
3) Open VisualStudio/Examples.sln
4) Build | Build Solution
5) bin/Debug/PROGRAM
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -