in the install file, it is said it is not necessary to install. But it turn out there is something tricky. I just copied the mtl folder to the /usr/local/include, and it doesn't work. The computer complained that std::enum etc. has multiple defination. After I recompile the mtl from source, the problem solved. I don't know exactly what it did when I compile mtl.
I did the following:
1. untar/unzip the file.
2. cd mtl
3. ./configure
4. su to root
5. make install
That is it. And the problem solved. There is something stupid MTL did. I will finally get rid of mtl from my program. It is not a very good library, at least for my code. I will use uBlast or TNT instead.
5/12/07
mtl problem.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment