Thread: [Misfitmodel3d-help] ACTC Triangle Stripping Plugin
Brought to you by:
kworces
From: Tiago O. <tia...@gm...> - 2009-04-16 13:23:33
|
I'm trying to compile this plugin, following the instructions on the site, but I get the folowing output on make: ---------------------------------------------------- tiago@tiago-laptop:~/Área de Trabalho/mm3d-1.2.4/plugins/actcstrip$ make make -C actc libactc.a make[1]: Entering directory `/home/tiago/Área de Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' cc -g -c -o tc.o tc.c ar -rv libactc.a tc.o ar: creating libactc.a a - tc.o make[1]: Leaving directory `/home/tiago/Área de Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' g++ -O2 -Wall -DMM3D_EDIT -I../.. -I../../src -I../../src/libmm3d -I../../src/mm3dcore -DPLUGIN -c actcstrip.cc In file included from ../../src/libmm3d/model.h:27, from actcstrip.cc:3: ../../src/libmm3d/glheaders.h:26:20: error: config.h: Ficheiro ou directoria inexistente In file included from ../../src/libmm3d/model.h:34, from actcstrip.cc:3: ../../src/libmm3d/undomgr.h: In destructor ‘virtual UndoList::~UndoList()’: ../../src/libmm3d/undomgr.h:38: error: ‘free’ was not declared in this scope ../../src/libmm3d/undomgr.h: In member function ‘void UndoList::setOpName(const char*)’: ../../src/libmm3d/undomgr.h:41: error: ‘free’ was not declared in this scope ../../src/libmm3d/undomgr.h:42: error: ‘strdup’ was not declared in this scope actcstrip.cc: In function ‘const char* plugin_mm3d_version()’: actcstrip.cc:615: error: ‘VERSION’ was not declared in this scope make: *** [actcstrip.o] Error 1 ---------------------------------------------------- Can someone help me to compile this right? Or give me the .so that should result from this... Thanks in advance Regards |
From: Kevin W. <kw...@gm...> - 2009-04-17 03:33:05
|
It looks like you are building in the correct directory. Did you compile mm3d from source? The config.h file is generated by the ./configure script. Try running the ./configure script in the mm3d-1.2.4 directory, and make sure mm3d-1.2.4/config.h exists when it is done. On Thu, Apr 16, 2009 at 6:23 AM, Tiago Oliveira <tia...@gm...> wrote: > I'm trying to compile this plugin, following the instructions on the site, > but I get the folowing output on make: > > ---------------------------------------------------- > tiago@tiago-laptop:~/Área de Trabalho/mm3d-1.2.4/plugins/actcstrip$ make > make -C actc libactc.a > make[1]: Entering directory `/home/tiago/Área de > Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' > cc -g -c -o tc.o tc.c > ar -rv libactc.a tc.o > ar: creating libactc.a > a - tc.o > make[1]: Leaving directory `/home/tiago/Área de > Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' > g++ -O2 -Wall -DMM3D_EDIT -I../.. -I../../src -I../../src/libmm3d > -I../../src/mm3dcore -DPLUGIN -c actcstrip.cc > In file included from ../../src/libmm3d/model.h:27, > from actcstrip.cc:3: > ../../src/libmm3d/glheaders.h:26:20: error: config.h: Ficheiro ou directoria > inexistente > In file included from ../../src/libmm3d/model.h:34, > from actcstrip.cc:3: > ../../src/libmm3d/undomgr.h: In destructor ‘virtual UndoList::~UndoList()’: > ../../src/libmm3d/undomgr.h:38: error: ‘free’ was not declared in this scope > ../../src/libmm3d/undomgr.h: In member function ‘void > UndoList::setOpName(const char*)’: > ../../src/libmm3d/undomgr.h:41: error: ‘free’ was not declared in this scope > ../../src/libmm3d/undomgr.h:42: error: ‘strdup’ was not declared in this > scope > actcstrip.cc: In function ‘const char* plugin_mm3d_version()’: > actcstrip.cc:615: error: ‘VERSION’ was not declared in this scope > make: *** [actcstrip.o] Error 1 > ---------------------------------------------------- > > Can someone help me to compile this right? Or give me the .so that should > result from this... > > Thanks in advance > Regards > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Misfitmodel3d-help mailing list > Mis...@li... > https://lists.sourceforge.net/lists/listinfo/misfitmodel3d-help > > |
From: Kevin W. <kw...@gm...> - 2009-04-17 03:41:20
|
Also, for what it's worth I'd recommend using mm3d-1.3.8. It's fairly stable and has many feature improvements. On Thu, Apr 16, 2009 at 8:32 PM, Kevin Worcester <kw...@gm...> wrote: > It looks like you are building in the correct directory. Did you > compile mm3d from source? The config.h file is generated by the > ./configure script. Try running the ./configure script in the > mm3d-1.2.4 directory, and make sure mm3d-1.2.4/config.h exists when it > is done. > > On Thu, Apr 16, 2009 at 6:23 AM, Tiago Oliveira <tia...@gm...> wrote: >> I'm trying to compile this plugin, following the instructions on the site, >> but I get the folowing output on make: >> >> ---------------------------------------------------- >> tiago@tiago-laptop:~/Área de Trabalho/mm3d-1.2.4/plugins/actcstrip$ make >> make -C actc libactc.a >> make[1]: Entering directory `/home/tiago/Área de >> Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' >> cc -g -c -o tc.o tc.c >> ar -rv libactc.a tc.o >> ar: creating libactc.a >> a - tc.o >> make[1]: Leaving directory `/home/tiago/Área de >> Trabalho/mm3d-1.2.4/plugins/actcstrip/actc' >> g++ -O2 -Wall -DMM3D_EDIT -I../.. -I../../src -I../../src/libmm3d >> -I../../src/mm3dcore -DPLUGIN -c actcstrip.cc >> In file included from ../../src/libmm3d/model.h:27, >> from actcstrip.cc:3: >> ../../src/libmm3d/glheaders.h:26:20: error: config.h: Ficheiro ou directoria >> inexistente >> In file included from ../../src/libmm3d/model.h:34, >> from actcstrip.cc:3: >> ../../src/libmm3d/undomgr.h: In destructor ‘virtual UndoList::~UndoList()’: >> ../../src/libmm3d/undomgr.h:38: error: ‘free’ was not declared in this scope >> ../../src/libmm3d/undomgr.h: In member function ‘void >> UndoList::setOpName(const char*)’: >> ../../src/libmm3d/undomgr.h:41: error: ‘free’ was not declared in this scope >> ../../src/libmm3d/undomgr.h:42: error: ‘strdup’ was not declared in this >> scope >> actcstrip.cc: In function ‘const char* plugin_mm3d_version()’: >> actcstrip.cc:615: error: ‘VERSION’ was not declared in this scope >> make: *** [actcstrip.o] Error 1 >> ---------------------------------------------------- >> >> Can someone help me to compile this right? Or give me the .so that should >> result from this... >> >> Thanks in advance >> Regards >> >> ------------------------------------------------------------------------------ >> Stay on top of everything new and different, both inside and >> around Java (TM) technology - register by April 22, and save >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. >> 300 plus technical and hands-on sessions. Register today. >> Use priority code J9JMT32. http://p.sf.net/sfu/p >> _______________________________________________ >> Misfitmodel3d-help mailing list >> Mis...@li... >> https://lists.sourceforge.net/lists/listinfo/misfitmodel3d-help >> >> > |