|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Windows cygwin and msvc9 issuesHi,
I am trying to build cint on Windows XP SP2 and get errors both with cygwin and msvc9 configurations. Cygwin: =========== - I still had to set PATH to include the $CINTSYSDIR/lib directory (libCint.dll is located there). cint.exe is then generated. - Just issuing "make" seems to try to compile some dictionaries after cint.exe and libCint.dll have been generated. This leads to: (cd cint7/lib/dll_stl; chmod a+x setup; PATH=../../../bin:$PATH LD_LIBRARY_PATH=../../../lib:$LD_LIBRARY_PATH DYLD_LIBRARY_PATH=../../../lib:$DYLD_LIBRARY_PATH ./setup) ######################################################################## ## # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... ######################################################################## ## Run 'make -f Makestr' to compile the object make[1]: Entering directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' /cygdrive/c/svn/cint-orig/bin/cint.exe -w2 -zstring -nG__cpp_string.cxx -D__MAKECINT__ -DG__MAKECINT -c-1 -A -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 str.h g++ -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -O2 -DG__GNUREADLINE -c G__cpp_string.cxx g++ -shared --export-all-symbols -o string.dll G__cpp_string.o -L"/cygdrive/c/svn/cint-orig/lib" -lCint -lReflex -lm -ldl make[1]: Leaving directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' ######################################################################## ## # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... ######################################################################## ## Run 'make -f Makevec' to compile the object make[1]: Entering directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' /cygdrive/c/svn/cint-orig/bin/cint.exe -w2 -zvector -nG__cpp_vector.cxx -D__MAKECINT__ -DG__MAKECINT -c-1 -A -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__NOALGORITHM -Z0 vec.h Error: Bad source file(binary) string.dll FILE:/cygdrive/c/svn/cint-orig/cint7/stl/string.dll LINE:1 !!!Removing G__cpp_vector.cxx G__cpp_vector.h !!! make[1]: *** [G__cpp_vector.cxx] Error 1 make[1]: Leaving directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' mv: cannot stat `vector.dll': No such file or directory and so on MSVC9 =================== - I am no Windows guy, so maybe I forgot some prerequisites (the only hint on your website for windows installations I found, is that cygwin is needed...) - I set PATH to include the directory for cl.exe and then called ./configure --arch=msvc9 && make in a cygwin bash and got the following output: echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -MD -nologo -wd4996 -EHs -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".obj\" -- tool/rmkdepend//cppsetup.c -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -MD -nologo -wd4996 -EHs -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".obj" -- tool/rmkdepend//cppsetup.c cl -O2 -MD -nologo -wd4996 -EHs -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".obj\" -c tool/rmkdepend//cppsetup.c -Fotool/rmkdepend//cppsetup.obj make: *** [tool/rmkdepend//cppsetup.obj] Error 53 Any help would be very much appreciated! Regards, Sascha |
|
|
RE: Windows cygwin and msvc9 issuesI just read http://www.nabble.com/Building-CINT-under-Cygwin-%28and-later-MinGW%29-td21336809.html again.
So I figured out that cygwin + gcc is not recommended (I used gcc 4.1.2, if I remember it correctly) although libCint.dll and cint.exe got generated. Building the stl dlls failed. Regards, Sascha |
|
|
Re: Windows cygwin and msvc9 issuesHi Sascha,
Yes, there is a few place where WIN32 is used as equivalent to 'using cygwin and Microsoft compiler' and if memory server, the build system is one of those place (i.e. most likely it is the way the path are setup that is incorrect). Cheers, Philippe. Zelzer Sascha wrote: > I just read http://www.nabble.com/Building-CINT-under-Cygwin-%28and-later-MinGW%29-td21336809.html again. > > So I figured out that cygwin + gcc is not recommended (I used gcc 4.1.2, if I remember it correctly) although libCint.dll and cint.exe got generated. Building the stl dlls failed. > > Regards, > Sascha > > > > |
|
|
Re: Windows cygwin and msvc9 issuesHi Sascha,
it's probably far too late to still be of interest to you, but: both issues are now fixed. Cheers, Axel. On 2009-01-30 12:51, Zelzer Sascha wrote: > Hi, > > I am trying to build cint on Windows XP SP2 and get errors both with > cygwin and msvc9 configurations. > > Cygwin: > =========== > > - I still had to set PATH to include the $CINTSYSDIR/lib directory > (libCint.dll is located there). cint.exe is then generated. > - Just issuing "make" seems to try to compile some dictionaries after > cint.exe and libCint.dll have been generated. This leads to: > > (cd cint7/lib/dll_stl; chmod a+x setup; PATH=../../../bin:$PATH > LD_LIBRARY_PATH=../../../lib:$LD_LIBRARY_PATH > DYLD_LIBRARY_PATH=../../../lib:$DYLD_LIBRARY_PATH ./setup) > ######################################################################## > ## > # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) > # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: > cint@... > ######################################################################## > ## > Run 'make -f Makestr' to compile the object > make[1]: Entering directory > `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' > /cygdrive/c/svn/cint-orig/bin/cint.exe -w2 -zstring -nG__cpp_string.cxx > -D__MAKECINT__ -DG__MAKECINT -c-1 -A > -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN -DG__STD_EXCEPTION > -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 str.h > g++ -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN > -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -O2 > -DG__GNUREADLINE -c G__cpp_string.cxx > g++ -shared --export-all-symbols -o string.dll G__cpp_string.o > -L"/cygdrive/c/svn/cint-orig/lib" -lCint -lReflex -lm -ldl > make[1]: Leaving directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' > ######################################################################## > ## > # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) > # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: > cint@... > ######################################################################## > ## > Run 'make -f Makevec' to compile the object > make[1]: Entering directory > `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' > /cygdrive/c/svn/cint-orig/bin/cint.exe -w2 -zvector -nG__cpp_vector.cxx > -D__MAKECINT__ -DG__MAKECINT -c-1 -A > -I/cygdrive/c/svn/cint-orig/cint7/inc -DG__CYGWIN -DG__STD_EXCEPTION > -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__NOALGORITHM -Z0 vec.h > Error: Bad source file(binary) string.dll > FILE:/cygdrive/c/svn/cint-orig/cint7/stl/string.dll LINE:1 > !!!Removing G__cpp_vector.cxx G__cpp_vector.h !!! > make[1]: *** [G__cpp_vector.cxx] Error 1 > make[1]: Leaving directory `/cygdrive/c/svn/cint-orig/cint7/lib/dll_stl' > mv: cannot stat `vector.dll': No such file or directory > > > and so on > > > MSVC9 > =================== > > - I am no Windows guy, so maybe I forgot some prerequisites (the only > hint on your website for windows installations I found, is that cygwin > is needed...) > - I set PATH to include the directory for cl.exe and then called > ./configure --arch=msvc9 && make in a cygwin bash and got the following > output: > > echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -MD -nologo > -wd4996 -EHs -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 > -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG > -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY > -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".obj\" -- > tool/rmkdepend//cppsetup.c > -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -MD -nologo -wd4996 > -EHs -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 > -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG > -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY > -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".obj" -- > tool/rmkdepend//cppsetup.c > cl -O2 -MD -nologo -wd4996 -EHs -DG__REDIRECTIO -DG__SHAREDLIB > -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER > -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO > -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY > -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".obj\" -c > tool/rmkdepend//cppsetup.c -Fotool/rmkdepend//cppsetup.obj > make: *** [tool/rmkdepend//cppsetup.obj] Error 53 > > > Any help would be very much appreciated! > > Regards, > Sascha > > |
| Free embeddable forum powered by Nabble | Forum Help |