Problems installing 3.10.01 on WIndows with VC++6

Hi all,
I’m experiencing troubles installing ROOT 3.10.01 from source on WIndows with VC++6 and cygwin.
After ./configure and make it stops after a while saying:

bin/bindexplib libWin32gdk win32gdk/src/G__Win32gdk.o > lib/libWin32gdk.def
lib -nologo -MACHINE:IX86 -out:lib/libWin32gdk.lib win32gdk/src/G__Win32gdk.o -def:lib/libWin32gdk.def
Creating library lib/libWin32gdk.lib and object lib/libWin32gdk.exp
build/win/ld.sh -DLL -nologo -incremental:no -nodefaultlib:libc.lib -nodefaultlib:dfor.lib -o bin/libWin32gdk.dll win32gdk/src/G__Win32gdk.o lib/libWin32gdk.exp lib/libfreetype.lib lib/gdk-1.3.lib lib/libGpad.lib lib/libGraf.lib lib/glib-1.3.lib Glu32.lib Opengl32.lib lib/libCore.lib lib/libCint.lib msvcrt.lib oldnames.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib comctl32.lib
G__Win32gdk.o : error LNK2001: unresolved external symbol “public: __thiscall TGWin32::TGWin32(void)” (??0TGWin32@@QAE@XZ)
G__Win32gdk.o : error LNK2001: unresolved external symbol “public: virtual __thiscall TGWin32::~TGWin32(void)” (??1TGWin32@@UAE@XZ)
G__Win32gdk.o : error LNK2001: unresolved external symbol “public: __thiscall TGWin32::TGWin32(char const *,char const *)” (??0TGWin32@@QAE@PBD0@Z)

[… many others …]

bin\libWin32gdk.dll : fatal error LNK1120: 230 unresolved externals

If I type:
find . -iname “TGWin32*”
./win32/inc/TGWin32.h
./win32/inc/TGWin32Brush.h
./win32/inc/TGWin32Marker.h
./win32/inc/TGWin32Object.h
./win32/inc/TGWin32Pen.h
./win32/inc/TGWin32PixmapObject.h
./win32/inc/TGWin32StatusBar.h
./win32/inc/TGWin32WindowsObject.h
./win32/src/TGWin32.cxx
./win32/src/TGWin32Brush.cxx
./win32/src/TGWin32Marker.cxx
./win32/src/TGWin32Object.cxx
./win32/src/TGWin32Pen.cxx
./win32/src/TGWin32StatusBar.cxx
./win32/src/TGWin32WindowsObject.cxx
./win32gdk/inc/TGWin32.h
./win32gdk/inc/TGWin32Proxy.h
./win32gdk/inc/TGWin32ProxyBase.h
./win32gdk/inc/TGWin32ProxyDefs.h
./win32gdk/src/TGWin32.cxx
./win32gdk/src/TGWin32Proxy.cxx
./win32gdk/src/TGWin32ProxyBase.cxx
./winnt/inc/TGWin32Command.h
./winnt/src/TGWin32Command.cxx
./winnt/src/TGWin32Command.d
./winnt/src/TGWin32Command.o
./include/TGWin32Command.h
./include/TGWin32.h
./include/TGWin32Proxy.h
./include/TGWin32ProxyBase.h
./include/TGWin32ProxyDefs.h

It seems that TGWin32*o objects are not yet been compiled, so that the linker complains for undefined references…

Am i doing something wrong?
Thank you
Luigi

Could you do
make distclean
./configure win32gdk
make -k

and send me the complete ouput of configure and make -k

Rene

Hi Rene,
by the way I was installing root in $HOME/root and not in /usr/local/root . My commands were (bash shell):

export ROOTSYS=$HOME/root
./configure win32gdk --prefix=$(pwd)
(maybe --prefix needs a windows-like path?)

If I move everything in /usr/local/root and type

make distclean
export ROOTSYS=/usr/local/root
./configure
make

it works… I will look into the problem as soon as possible.
Thanks
Luigi

Hi luigi,
try
export ROOTSYS=c:\cygwin\home\luigi\root
export LD_LIBRARY_PATH=$ROOTSYS\lib

HTH. Regards. Valeriy

Hi Rene and Valeriy,
I have tried export ROOTSYS=C:\cygwin\home\luigi\root but nothing changes :frowning:
I have sent to Rene the output of make -k &> logfile

Best regards
Luigi