You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to open-gto-discussion
Hello
First of all I'd like to thanks Tweak software to point me to this
great discussion group after I sent them an email asking about GTO
compilation.
I work for The Monk Studio in Thailand as a TD and pipeline
programmer. We are using Maya geometry caching for our last 3
projects. I wrote many support script to automate the process and add
ability to keep pivot transformation for anything that's not deformed.
It served us well up to about 500k polygon anything beyond that will e
too slow to crash Maya so we decide to look for something new. My
friend at RSP told me about GTO so I'm trying to study everything I
can about GTO before integrate it to our pipeline.
My system is Open SUSE 11 (64bit) with gcc 4.1.3 and gcc 4.3, Maya 8.5
and Maya 2009. I have tried to compile source code downloaded from
git. Not sure if it's the latest one or not but after bootstrap and
tweak Makefile.am a bit and set CXX to g++-4.1 (which is an alias for g
++ 4.1.3) I have problem with linking Maya plugin (GtoDeformer). Here
is my config command line.
workspace/jimhourihan-gto> make
Making all in lib
make[1]: Entering directory `/tmp/workspace/jimhourihan-gto/lib'
Making all in Gto
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/Gto'
Making all in test
make[3]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/Gto/
test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/Gto/
test'
make[3]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/Gto'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/Gto'
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/Gto'
Making all in WFObj
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/WFObj'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/WFObj'
Making all in RiGto
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/RiGto'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/RiGto'
Making all in RiGtoStub
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/
RiGtoStub'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/
RiGtoStub'
Making all in GtoContainer
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer'
Making all in test
make[3]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer/test'
make[3]: Entering directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer'
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib/
GtoContainer'
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/lib'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib'
make[1]: Leaving directory `/tmp/workspace/jimhourihan-gto/lib'
Making all in bin
make[1]: Entering directory `/tmp/workspace/jimhourihan-gto/bin'
Making all in gtoinfo
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
gtoinfo'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
gtoinfo'
Making all in gtofilter
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
gtofilter'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
gtofilter'
Making all in gtomerge
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
gtomerge'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
gtomerge'
Making all in gtoimage
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
gtoimage'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
gtoimage'
Making all in gto2obj
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
gto2obj'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
gto2obj'
Making all in RiGtoRibOut
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin/
RiGtoRibOut'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin/
RiGtoRibOut'
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/bin'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin'
make[1]: Leaving directory `/tmp/workspace/jimhourihan-gto/bin'
Making all in doc
make[1]: Entering directory `/tmp/workspace/jimhourihan-gto/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/workspace/jimhourihan-gto/doc'
Making all in plugins
make[1]: Entering directory `/tmp/workspace/jimhourihan-gto/plugins'
Making all in maya
make[2]: Entering directory `/tmp/workspace/jimhourihan-gto/plugins/
maya'
Making all in GtoDeformer
make[3]: Entering directory `/tmp/workspace/jimhourihan-gto/plugins/
maya/GtoDeformer'
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -fno-exceptions -
D__USER__=\"$USER\" -g -O2 -L../../../lib/Gto -L/usr/autodesk/maya8.5-
x64/lib -rpath /usr/autodesk/maya8.5-x64/lib -lGto -lOpenMaya -
lOpenMayaAnim -o GtoDeformer.so GtoDeformer.o GtoPointReader.o
pluginMain.o -L/usr/autodesk/maya8.5-x64/lib -lOpenMaya -lFoundation
libtool: link: g++ -fno-exceptions -D__USER__=\"sun\" -g -O2 -o
GtoDeformer.so GtoDeformer.o GtoPointReader.o pluginMain.o -L/tmp/
workspace/jimhourihan-gto/lib/Gto -L/usr/autodesk/maya8.5-x64/lib /tmp/
workspace/jimhourihan-gto/lib/Gto/.libs/libGto.a -lz -lOpenMayaAnim -
lOpenMaya -lFoundation -Wl,-rpath -Wl,/usr/autodesk/maya8.5-x64/lib
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In
function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:
109: undefined reference to `main'
/usr/autodesk/maya8.5-x64/lib/libguide.so: undefined reference to
`pthread_atfork'
collect2: ld returned 1 exit status
make[3]: *** [GtoDeformer.so] Error 1
make[3]: Leaving directory `/tmp/workspace/jimhourihan-gto/plugins/
maya/GtoDeformer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/workspace/jimhourihan-gto/plugins/
maya'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/workspace/jimhourihan-gto/plugins'
make: *** [all-recursive] Error 1
I really have no idea how to fix it.
Thanks for any advise :)
Sun
xteapot x
unread,
Sep 1, 2009, 4:07:22 AM9/1/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to open-gto-discussion
This is the result from configure.
workspace/jimhourihan-gto> ./configure prefix=/tmp/workspace/gtoDEV --
enable-maya-plugin --with-maya-dir=/usr/autodesk/maya8.5-x64 --bindir=/
usr/bin/gcc-4.1 --includedir=/usr/include/c++/4.1.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld...
yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object
files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m
elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64)
is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat dereferences a symlink specified with a
trailing slash... yes
checking whether stat accepts an empty string... no
checking for regcomp... yes
checking for strtol... yes
checking for gzopen in -lz... yes
checking for TIFFOpen in -ltiff... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports Standard Template Library...
yes
checking for ios_base... yes
Using Maya Location: /usr/autodesk/maya8.5-x64
checking for texi2html... texi2html -split=chapter -subdir=html
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bin/Makefile
config.status: creating bin/gtoinfo/Makefile
config.status: creating bin/gtofilter/Makefile
config.status: creating bin/gtomerge/Makefile
config.status: creating bin/gto2obj/Makefile
config.status: creating bin/gtoimage/Makefile
config.status: creating bin/RiGtoRibOut/Makefile
config.status: creating lib/WFObj/Makefile
config.status: creating lib/Gto/Makefile
config.status: creating lib/Gto/test/Makefile
config.status: creating lib/GtoContainer/Makefile
config.status: creating lib/GtoContainer/test/Makefile
config.status: creating lib/RiGto/Makefile
config.status: creating lib/RiGtoStub/Makefile
config.status: creating lib/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/maya/Makefile
config.status: creating plugins/maya/GtoDeformer/Makefile
config.status: creating plugins/maya/gtoIO/Makefile
config.status: creating plugins/rman/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
Configuration:
Maya Plugins: yes
Using Maya build config: /usr/autodesk/maya8.5-x64/plug-ins/
buildconfig
Renderman Plugins: no