Beginner’s Guide into NaroCAD Development
Resources needed:
Windows based computer [Windows XP or Vista].
Practical steps:
Install:
–> an IDE for .NET programming languages (e.g. Visual Studio 2008 Express [C# and C++ programming languages – optional for the wrappers]: http://www.microsoft.com/Express/ or
SharpDevelop 3.2: http://build.sharpdevelop.net/buildartefacts/)
–> .NET Framework 3.5 + Service Pack 1: http://www.microsoft.com/downloads/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en
–> Visual C++ 2–5 runtime SP1: http://www.microsoft.com/en-us/download/details.aspx?id=26347
–> Visual C++ 2008 runtime SP1: http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
–> Visual C++ 2010 runtime SP1: http://www.microsoft.com/en-us/download/details.aspx?id=26999
–> Versioning Control: TortoiseHG: http://mercurial.selenic.com/downloads/
–> OpenCascade: http://www.opencascade.org/getocc/download/ – you need to register to download OpenCascade. The code of OpenCascade is opensource.
Getting and compiling the NaroCAD code:
1. Download the code sources from NaroCAD SourceForge Mercurial:
a. create a new folder/directory on your hard-drive
b. right click on it and then click the option TortoiseHG->Clone
c. in the dialog box paste in the “Source path:” field the HG link: http://narocad.hg.sourceforge.net:8000/hgroot/narocad/devel
d. click OK and then wait until all the code source files are downloading.
2. You need to set several environment variables to be able to run NaroCAD. This is automatically done if you start Visual Studio using LaunchNaroOCC655.bat If you use Naro.snl, the application will not run.