Prev | Current Page 1019 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


Wrapping Neko ndll files will be covered later in this chapter.
Setting Up the Compiler
If you ??™ ve never coded in C or C++ before, then it is suggested to read a good book on the subject, first.
C and C++ are both complex languages, and their use is beyond the scope of this book.
It is not assumed there is any particular orientation to a specific compiler, simply because, if you ??™ re
reading this chapter, then you will probably already have a preference for a particular compiler, and at
least have some grounding in how to use it. Luckily, though, setting up a compiler for Neko libraries is
incredibly easy, so even a relative novice should have little trouble.
Like most C/C++ ??“ based libraries, Neko provides a library file for inclusion into your projects that will
provide all the functionality necessary for building your extension. On Windows machines, this is called
neko.lib , Linux has libneko.so , and Mac OSX provides libneko.dylib . Depending on the
particular operating system, you can find this file in either the Neko directory or in the global library
repository.


Pages:
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031