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/ -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*”

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

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

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


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

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

Hi luigi,
export ROOTSYS=c:\cygwin\home\luigi\root

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