www.pudn.com > nurbs++3_0_10.zip > download.shtml


 
 
   
    NURBS library installation 
 
   
 
   
 
 
NURBS++ is now at 3.0.10 ( September 12, 1999 ) This page was last modified on September 12, 1999
The NURBS++ library
Introduction
Features
Download/
Installation
Documentation
Tutorial
Wish List
Change Log
NURBS Links

NURBS Library download

You can download the version 3.0.10 (September 12, 1999) as a .tar.gz ( 380k), a .tgz( 380k) or a .tar.bz2 ( 317k) archive file. Consider saving your bandwidth and your time by getting a patch for 3.0.7 to 3.0.8 ( 37k). Look at the change log if you want to learn about the differences between this version and the previous ones.

Sometimes I'm too excited and create a release before it's been tested thoroughly. The following table gives you an easy way to see if the version of the library you have downloaded is known to work on your platform. In this table, 'ok' means everything works out of the box, 'ok*' means that it mostly works but maybe the OpenGL or Image Magick support is lacking, 'no' means that a new version that corrects the problem should be out soon and '?' means that no one reported positively or negatively on that platform.

Operating SystemSolarisLinux X86Linux PPCDEC AlphaHP UnixWindows NT
NURBS++egcs1.1.2gcc-2.95.1egcs1.1.2egcs1.1.2egcs1.1.2Visual C++ v6.0
3.0.10?ok? ?? ?
3.0.8ok?? ?? ?
3.0.7okok? ?ok ?
3.0.6ok?? ?? ?
3.0.5ok*ok*no okok*?
3.0.4oknono? ? ?
3.0.3nono? ? ? ?
3.0.2okok? ? ? ?
3.0.1okok? ? ? ok
3.0.0okok? ? ? ?

Tips to download from a windows station

WinZip will handle the .tar.gz format with no problem. The problem might come from the browswer. A browser will normally decompress the file as it receives it, but sometimes it doesn't. So the first step when you download the file is to find its size. If it's the same as indicated above then rename the file to end in .tar.gz, otherwize rename it such that it ends in .tar.

Windows, in its infinite wisdom, relies too much on the end extension of a file. The file ends with .tar.gz which is a double extension. Thus explorer will offer you the choice to save as nurbs++-latest_tar. Don't accept that choice. It should end with .tar and not with _tar or WinZip won't process it properly.

Old versions of the library

The old (2.2 version) of the library(April 20, 1999) is available as nurbslib-2.2.tgz ( 721k) (.tar.gz if you prefer)or as nurbslib-2.2.tar.bz2 ( 607k). All the new development will be done inside the 3.0 version. However big bugs will be fixed inside the 2.2 version as well. Update (21 April) I was advised that the above package has a mix of the new API and the old API. I will fix this soon.

Warning, this library requires an ISO C++ compiler such as gcc-2.95.1. The reason is simple, the new standard has been around for a year and every compiler supplier should provide an ISO implementation reall soon now (tm). Also, keeping the library to be compatible with both version of the C++ language (pre-ISO and ISO) is quickly becoming a maintanance nightmare. If you can't install or use a C++ ISO compiler, e-mail me and I can put an old snapshot of the library which compiled with the old version of the C++ language. Update: there is a problem in my CVS repository and I can't retrieve an old snapshot. I'll will put it in the web as soon as it's fixed. You can still e-mail me about it to make sure I don't forget to do it :)

NURBS library installation

After you decompress and untar the library, you will have one directory named nurbs++-3.0.10 . To install the library go to that directory. Under windows you only need to call config_mvc.bat and then go inside examples/vc6. There is a project file inside that directory that should allow you to start using the library immediately. Under Unix, the normal procedure is then to type the following:

 
configure ...options... 
make 
make install 

You should not that the make process also installs the Matrix library. This is necessary because the NURBS library has a dependance on the Matrix library. The make install will only install the missing NURBS library.

The install process will put the resulting libraries in: $(PREFIX)/lib. It will put the header files in $(PREFIX)/include/nurbs++. The location of $(PREFIX) can be set using the --prefix options when calling configure.

Configure options

The most usefull opions are:
OptionDescriptionDefault
--prefix=/dir Indicates where the library will be installed /usr/local
--enable-column-order Indicates if a matrix is stored row wise or column wise. disabled
--with-magick=/dir Indicates if the library is compiled with Image Magick support. The dir indicates where is the ImageMagick library's main directory without
--with-opengl=/dir Indicates if the library is compiled with OpenGL support. The dir indicates where is the OpenGL library's main directory. For OpenGL to work properly, --enable-column-order will be automatically set. This is because OpenGL has column wise ordering for its matrices. without
--enable-exception Disable this if you don't want to use exception handling. enabled