I am trying compile OpenSees under Cygwin but have met these undefined reference errors. Can anyone provide me some ideas? My home directory is "home/rcsoul".
$ make > debug.txt
ar: creating /home/rcsoul/lib/libmatmod.a
Makefile.lib:18: warning: overriding commands for target `.c.o'
../../Makefile.def:288: warning: ignoring old commands for target `.c.o'
/home/rcsoul/OpenSees/SRC/tcl/TclFeViewer.o:TclFeViewer.cpp:(.text+0x2c0): undef
ined reference to `X11Renderer::X11Renderer(char const*, int, int, int, int, Col
orMap&)'
/home/rcsoul/OpenSees/SRC/tcl/TclFeViewer.o:TclFeViewer.cpp:(.text+0x6fe): undef
ined reference to `X11Renderer::X11Renderer(char const*, int, int, int, int, Col
orMap&)'
/home/rcsoul/OpenSees/SRC/tcl/TclFeViewer.o:TclFeViewer.cpp:(.text+0xb44): undef
ined reference to `X11Renderer::X11Renderer(char const*, int, int, int, int, Col
orMap&, char const*)'
/home/rcsoul/OpenSees/SRC/tcl/TclFeViewer.o:TclFeViewer.cpp:(.text+0xf8a): undef
ined reference to `X11Renderer::X11Renderer(char const*, int, int, int, int, Col
orMap&, char const*)'
/home/rcsoul/OpenSees/SRC/tcl/TclVideoPlayer.o:TclVideoPlayer.cpp:(.text+0x485):
undefined reference to `X11Renderer::X11Renderer(char const*, int, int, int, in
t, ColorMap&)'
/home/rcsoul/OpenSees/SRC/tcl/TclVideoPlayer.o:TclVideoPlayer.cpp:(.text+0xa81):
undefined reference to `X11Renderer::X11Renderer(char const*, int, int, int, in
t, ColorMap&)'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xbb5): u
ndefined reference to `_png_create_write_struct'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xbc8): u
ndefined reference to `_png_create_info_struct'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xbfa): u
ndefined reference to `_png_init_io'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xc13): u
ndefined reference to `_png_set_compression_level'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xc59): u
ndefined reference to `_png_set_IHDR'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xc6b): u
ndefined reference to `_png_write_info'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xcb5): u
ndefined reference to `_png_write_image'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xcc7): u
ndefined reference to `_png_write_end'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xcd9): u
ndefined reference to `_png_destroy_write_struct'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xd2f): u
ndefined reference to `_png_destroy_write_struct'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xda6): u
ndefined reference to `_png_destroy_write_struct'
/home/rcsoul/lib/libOpenSees.a(OpenGlDevice.o):OpenGlDevice.cpp:(.text+0xe34): u
ndefined reference to `_png_destroy_write_struct'
/home/rcsoul/lib/libReliability.a(TclReliabilityBuilder.o):TclReliabilityBuilder
.cpp:(.text+0x678b): undefined reference to `_theSensitivityAlgorithm'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
definition error
Moderators: silvia, selimgunay, Moderators
definition error
Chia-hung Lin, Ph.D. Candidate, National Taiwan University
fr the X11 go to the SRC/renderer directory an see what files got compiled.
if the OpenGl files compiled you will need to change a preprocessor
directive in the Makefile.def .. get back to me
you need to find the png library for the png errors.
if you keep having trouble with the graphics we can build it w/o graphics .. the graphic support we have now is pretty pathetic.
if the OpenGl files compiled you will need to change a preprocessor
directive in the Makefile.def .. get back to me
you need to find the png library for the png errors.
if you keep having trouble with the graphics we can build it w/o graphics .. the graphic support we have now is pretty pathetic.