Compilation error

Seshan, Viswanathan (MED,ATC TKY JP ) Viswanathan.Seshan at gemsa.med.ge.com
Thu Jun 1 01:59:38 EDT 2000


Hi,

I am new to VTK, and know nothing of C++. I am trying to compile and build
VTK on a Sun Ultra-60, running Solaris 2.6. After many false starts, I
managed to get "make" to run for a couple of hours, before it stopped with
the following message:

/opt/SUNWspro/bin/CC -g -DVTK_WORDS_BIGENDIAN -DVTK_USE_PTHREADS -pto
-D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I./../common
-I/usr/tcltk/tk8.3.1/generic -I/usr/tcltk/tcl8.3.1/generic
-DVTK_USE_TKWIDGET -DVTK_USE_OGLR -I/usr/openwin/share/include
-I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING
-I./../contrib -DVTK_USE_CONTRIB -c -o tkAppInit.o ./tkAppInit.cxx
"./tkAppInit.cxx", line 54: Error: Only one of a set of overloaded functions
can be extern "C".
"./tkAppInit.cxx", line 55: Error: Trying to take the address of the
overloaded function matherr.
"./tkappInit.cxx", line 195: Warning: String literal converted to char* in
formal argumane varName in call to Tcl_SetVar(Tcl_Interp*, char*, char*,
int).
"./tkAppInit.cxx", line 195: Warning: String literal converted to char* in
formal argument newValue in call to TclSetVar(Tcl_Interp*, char*, char*,
int).
2 Error(s) and 2 Warning(s) detected.
*** Error code 2
make: Fatal error: Command failed for target 'tkAppInit.o'
Current working directory is /export/home/vtk312/tcl
*** Error code 1
make: Fatal error: Command failed for target 'build_tcl'

Any and all help will be greatly appreceiated! Thank you.


Nat.

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list