RyoxSinfar
06-09-2006, 08:54 AM
This will be the 4th day spent trying to get this library to work.
Its an SML library used for advanced math.
I have Cygwin installed so that we can use a GNU compiler. Eventually We will be using C++/OpenGL/SML to do some work and the library is a necessity. I have spoken two 3 people, two who were experienced in with this sort of thing and one tech rep from SML but none have even dented the problem yet.
The situation is this. I have a folder that holds all the files for the library. I have 4 folders and a makefile within the first folder. The makefile is tiny and just calls other makefiles. Two of the folders I am not aware if they do anything. The important two folders are NLib and NMTLib. So far when I told the main makefile to do everything it declared it was working on NLib and running a makefile within that folder (within are a few folders and files for building the library. the fodlers are full of .o .h and .c) this make works without complications and the main makefile continues to change directories and move to NMTLib and begins to work. after about 10 or so minutes it fails declaring Error 2. There is output generated to a txt file that says what happened:
Making libnmtlib.so
g++ -shared -m32 -g -o libnmtlib.so objects/IwAObject.o ... objects/my_nurbs_srf.o -L.:NLib -lnlib (I cut out the other .o's as there are MANY) (Also the addition of :NLib to -L. was added while trying to fix the issue, it came as -L)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lnlib
collect2: ld returned 1 exit status
make[1]: *** [libnmtlib.so] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Julio Gonzales/Desktop/SML resources/SMLib/NMTLib
This error occurs no matter what we have tried. The only thing altering the problem is if we remove -lnlib all together in which I get hundreds of undefined errors instead.
Anyone up to attempting to help with this daunting task please please PLEASE help. you can respond here or contact me at RySinfar on AIM, ryox_sinfar@msn.com on MSN, or RSinfar for yahoo. (AIM or MSN prefered). ICQ is now also an option 233704007
I will be sitting here for hours at work trying to solve the problem so feel free to contact me.
Its an SML library used for advanced math.
I have Cygwin installed so that we can use a GNU compiler. Eventually We will be using C++/OpenGL/SML to do some work and the library is a necessity. I have spoken two 3 people, two who were experienced in with this sort of thing and one tech rep from SML but none have even dented the problem yet.
The situation is this. I have a folder that holds all the files for the library. I have 4 folders and a makefile within the first folder. The makefile is tiny and just calls other makefiles. Two of the folders I am not aware if they do anything. The important two folders are NLib and NMTLib. So far when I told the main makefile to do everything it declared it was working on NLib and running a makefile within that folder (within are a few folders and files for building the library. the fodlers are full of .o .h and .c) this make works without complications and the main makefile continues to change directories and move to NMTLib and begins to work. after about 10 or so minutes it fails declaring Error 2. There is output generated to a txt file that says what happened:
Making libnmtlib.so
g++ -shared -m32 -g -o libnmtlib.so objects/IwAObject.o ... objects/my_nurbs_srf.o -L.:NLib -lnlib (I cut out the other .o's as there are MANY) (Also the addition of :NLib to -L. was added while trying to fix the issue, it came as -L)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lnlib
collect2: ld returned 1 exit status
make[1]: *** [libnmtlib.so] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Julio Gonzales/Desktop/SML resources/SMLib/NMTLib
This error occurs no matter what we have tried. The only thing altering the problem is if we remove -lnlib all together in which I get hundreds of undefined errors instead.
Anyone up to attempting to help with this daunting task please please PLEASE help. you can respond here or contact me at RySinfar on AIM, ryox_sinfar@msn.com on MSN, or RSinfar for yahoo. (AIM or MSN prefered). ICQ is now also an option 233704007
I will be sitting here for hours at work trying to solve the problem so feel free to contact me.