|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling cint on mingw with mingw gccHi everyone. I installed MinGW and MSYS and try to build cint. The cint
source is the actual trunk from svn. I use MinGW current with gcc 3.4.5. The readline lib comes from gnuwin32. Configuration was done with ./configure --arch=mingw --prefix=/c/cint --bindir=/c/cint --libdir=/c/cint --includedir=/c/cint --datadir=/c/cint --mandir=/c/cint --readlinelib=/c/GnuWin32/lib/libreadline.a I tried the make distclean; make process twice. After some compilation this errors shows up: tool/rmkdepend/rmkdepend.exe -R -fcint/src/Api.d -Y -w 1000 -- -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cplusplus -- cint/src/Api.cxx g++ -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -c cint/src/Api.cxx -o cint/src/Api.o In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:384: error: `__int64' does not name a type cint/inc/G__ci.h:385: error: `__int64' does not name a type In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:948: error: `G__int64' does not name a type cint/inc/G__ci.h:949: error: `G__uint64' does not name a type cint/inc/G__ci.h:1888: error: `G__int64' has not been declared cint/inc/G__ci.h:1888: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1889: error: `G__uint64' has not been declared cint/inc/G__ci.h:1889: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1891: error: `G__int64' does not name a type cint/inc/G__ci.h:1892: error: `G__uint64' does not name a type cint/inc/G__ci.h:1894: error: expected initializer before '*' token cint/inc/G__ci.h:1895: error: expected initializer before '*' token cint/inc/G__ci.h:2522: error: `G__int64' does not name a type cint/inc/G__ci.h:2523: error: `G__uint64' does not name a type In file included from cint/inc/Api.h:44, from cint/src/Api.cxx:16: cint/inc/CallFunc.h:85: error: `G__int64' has not been declared cint/inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:86: error: `G__uint64' has not been declared cint/inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded cint/inc/CallFunc.h:88: error: `G__int64' has not been declared cint/inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:89: error: `G__uint64' has not been declared cint/inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded cint/inc/CallFunc.h:99: error: `G__int64' does not name a type In file included from cint/src/common.h:1489, from cint/src/Api.cxx:17: cint/src/fproto.h:346: error: `G__int64' has not been declared cint/src/fproto.h:346: error: ISO C++ forbids declaration of `val' with no type cint/src/fproto.h:701: error: `G__int64' has not been declared cint/src/fproto.h:701: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:702: error: `G__uint64' has not been declared cint/src/fproto.h:702: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:704: error: `G__int64' does not name a type cint/src/fproto.h:705: error: `G__uint64' does not name a type make: *** [cint/src/Api.o] Error 1 Is this already fixed? Greets Louis |
|
|
AW: Compiling cint on mingw with mingw gccI solved it. Not all gcc packages where installed.
-----Ursprüngliche Nachricht----- Von: owner-cint@... [mailto:owner-cint@...] Im Auftrag von Louis Gesendet: Dienstag, 28. Juli 2009 18:20 An: cint@... Betreff: [CINT] Compiling cint on mingw with mingw gcc Hi everyone. I installed MinGW and MSYS and try to build cint. The cint source is the actual trunk from svn. I use MinGW current with gcc 3.4.5. The readline lib comes from gnuwin32. Configuration was done with ./configure --arch=mingw --prefix=/c/cint --bindir=/c/cint --libdir=/c/cint --includedir=/c/cint --datadir=/c/cint --mandir=/c/cint --readlinelib=/c/GnuWin32/lib/libreadline.a I tried the make distclean; make process twice. After some compilation this errors shows up: tool/rmkdepend/rmkdepend.exe -R -fcint/src/Api.d -Y -w 1000 -- -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cplusplus -- cint/src/Api.cxx g++ -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -c cint/src/Api.cxx -o cint/src/Api.o In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:384: error: `__int64' does not name a type cint/inc/G__ci.h:385: error: `__int64' does not name a type In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:948: error: `G__int64' does not name a type cint/inc/G__ci.h:949: error: `G__uint64' does not name a type cint/inc/G__ci.h:1888: error: `G__int64' has not been declared cint/inc/G__ci.h:1888: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1889: error: `G__uint64' has not been declared cint/inc/G__ci.h:1889: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1891: error: `G__int64' does not name a type cint/inc/G__ci.h:1892: error: `G__uint64' does not name a type cint/inc/G__ci.h:1894: error: expected initializer before '*' token cint/inc/G__ci.h:1895: error: expected initializer before '*' token cint/inc/G__ci.h:2522: error: `G__int64' does not name a type cint/inc/G__ci.h:2523: error: `G__uint64' does not name a type In file included from cint/inc/Api.h:44, from cint/src/Api.cxx:16: cint/inc/CallFunc.h:85: error: `G__int64' has not been declared cint/inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:86: error: `G__uint64' has not been declared cint/inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded cint/inc/CallFunc.h:88: error: `G__int64' has not been declared cint/inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:89: error: `G__uint64' has not been declared cint/inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded cint/inc/CallFunc.h:99: error: `G__int64' does not name a type In file included from cint/src/common.h:1489, from cint/src/Api.cxx:17: cint/src/fproto.h:346: error: `G__int64' has not been declared cint/src/fproto.h:346: error: ISO C++ forbids declaration of `val' with no type cint/src/fproto.h:701: error: `G__int64' has not been declared cint/src/fproto.h:701: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:702: error: `G__uint64' has not been declared cint/src/fproto.h:702: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:704: error: `G__int64' does not name a type cint/src/fproto.h:705: error: `G__uint64' does not name a type make: *** [cint/src/Api.o] Error 1 Is this already fixed? Greets Louis |
|
|
Re: AW: Compiling cint on mingw with mingw gccHi Louis,
Could you list all the packages which you installed to solve this problem. ? Will be useful for people like me. In the past I tried and failed. I thought I have installed all. But looks like I might have missed some. Thanks alot. Prasad Dr. Prasad, B.V.L.S. MD & CTO, Helix Genomics Pvt. Ltd. *************************************************************** As You Progress, There is Some More to Progress - shiva. *************************************************************** ----- Original Message ---- From: Louis <louis@...> To: cint@... Sent: Tuesday, 28 July, 2009 18:26:28 Subject: AW: [CINT] Compiling cint on mingw with mingw gcc I solved it. Not all gcc packages where installed. -----Ursprüngliche Nachricht----- Von: owner-cint@... [mailto:owner-cint@...] Im Auftrag von Louis Gesendet: Dienstag, 28. Juli 2009 18:20 An: cint@... Betreff: [CINT] Compiling cint on mingw with mingw gcc Hi everyone. I installed MinGW and MSYS and try to build cint. The cint source is the actual trunk from svn. I use MinGW current with gcc 3.4.5. The readline lib comes from gnuwin32. Configuration was done with ./configure --arch=mingw --prefix=/c/cint --bindir=/c/cint --libdir=/c/cint --includedir=/c/cint --datadir=/c/cint --mandir=/c/cint --readlinelib=/c/GnuWin32/lib/libreadline.a I tried the make distclean; make process twice. After some compilation this errors shows up: tool/rmkdepend/rmkdepend.exe -R -fcint/src/Api.d -Y -w 1000 -- -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cplusplus -- cint/src/Api.cxx g++ -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -c cint/src/Api.cxx -o cint/src/Api.o In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:384: error: `__int64' does not name a type cint/inc/G__ci.h:385: error: `__int64' does not name a type In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:948: error: `G__int64' does not name a type cint/inc/G__ci.h:949: error: `G__uint64' does not name a type cint/inc/G__ci.h:1888: error: `G__int64' has not been declared cint/inc/G__ci.h:1888: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1889: error: `G__uint64' has not been declared cint/inc/G__ci.h:1889: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1891: error: `G__int64' does not name a type cint/inc/G__ci.h:1892: error: `G__uint64' does not name a type cint/inc/G__ci.h:1894: error: expected initializer before '*' token cint/inc/G__ci.h:1895: error: expected initializer before '*' token cint/inc/G__ci.h:2522: error: `G__int64' does not name a type cint/inc/G__ci.h:2523: error: `G__uint64' does not name a type In file included from cint/inc/Api.h:44, from cint/src/Api.cxx:16: cint/inc/CallFunc.h:85: error: `G__int64' has not been declared cint/inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:86: error: `G__uint64' has not been declared cint/inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded cint/inc/CallFunc.h:88: error: `G__int64' has not been declared cint/inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:89: error: `G__uint64' has not been declared cint/inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded cint/inc/CallFunc.h:99: error: `G__int64' does not name a type In file included from cint/src/common.h:1489, from cint/src/Api.cxx:17: cint/src/fproto.h:346: error: `G__int64' has not been declared cint/src/fproto.h:346: error: ISO C++ forbids declaration of `val' with no type cint/src/fproto.h:701: error: `G__int64' has not been declared cint/src/fproto.h:701: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:702: error: `G__uint64' has not been declared cint/src/fproto.h:702: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:704: error: `G__int64' does not name a type cint/src/fproto.h:705: error: `G__uint64' does not name a type make: *** [cint/src/Api.o] Error 1 Is this already fixed? Greets Louis |
|
|
AW: AW: Compiling cint on mingw with mingw gccMake sure you install the devel package of each library, I am on cygwin-1.7
so the package names may vary a little. The devel packages are sometimes named completely different (like readline instead of readline-devel). Here is the list of all packages currently installed packages (And you do not need other compiles than the c, c++, and objc ones thought): alternatives autoconf (all autoconf versions and the wrapperscript) automake (all automake versions and the wrapperscript) base-cygwin base-files base-passwd bash binutils bzip2 cmake coreutils crypt cygutils cygwin cygwin-doc dash dejagnu diffutils editrights expat expect findutils gawk gcc (all gcc compilers with the mingw ones) gcc-tools-autoconf gcc-tools-automake gettext (normal and devel) grep gruff gzip ipc-utils less libz2_1 libdb4.5 libexpat1 (and devel) libgcc1 libgcj (and common) libgcj9 libgdbm4 libgettextpo0 libgmp3 libiconv2 libintl2 (and libintl3 and libintl8) liblzma1 libncurses8 (and libncurses9 and devel) libpcre0 libpopt0 libreadline7 (and devel) libsigsegv0 login m4 make man mingw-runtime patch patchutils perl pkg-config readline (yes you need this package for readline devel) rebase run sed tar termcap terminfo (and terminfo0) texinfo tzcode w32api which xz zlib (all of them) Good luck, Louis. -----Ursprüngliche Nachricht----- Von: owner-cint@... [mailto:owner-cint@...] Im Auftrag von Dr. Prasad, B.V.L.S. Gesendet: Mittwoch, 29. Juli 2009 18:07 An: Louis; cint@... Betreff: Re: AW: [CINT] Compiling cint on mingw with mingw gcc Hi Louis, Could you list all the packages which you installed to solve this problem. ? Will be useful for people like me. In the past I tried and failed. I thought I have installed all. But looks like I might have missed some. Thanks alot. Prasad Dr. Prasad, B.V.L.S. MD & CTO, Helix Genomics Pvt. Ltd. *************************************************************** As You Progress, There is Some More to Progress - shiva. *************************************************************** ----- Original Message ---- From: Louis <louis@...> To: cint@... Sent: Tuesday, 28 July, 2009 18:26:28 Subject: AW: [CINT] Compiling cint on mingw with mingw gcc I solved it. Not all gcc packages where installed. -----Ursprüngliche Nachricht----- Von: owner-cint@... [mailto:owner-cint@...] Im Auftrag von Louis Gesendet: Dienstag, 28. Juli 2009 18:20 An: cint@... Betreff: [CINT] Compiling cint on mingw with mingw gcc Hi everyone. I installed MinGW and MSYS and try to build cint. The cint source is the actual trunk from svn. I use MinGW current with gcc 3.4.5. The readline lib comes from gnuwin32. Configuration was done with ./configure --arch=mingw --prefix=/c/cint --bindir=/c/cint --libdir=/c/cint --includedir=/c/cint --datadir=/c/cint --mandir=/c/cint --readlinelib=/c/GnuWin32/lib/libreadline.a I tried the make distclean; make process twice. After some compilation this errors shows up: tool/rmkdepend/rmkdepend.exe -R -fcint/src/Api.d -Y -w 1000 -- -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cplusplus -- cint/src/Api.cxx g++ -O2 -mno-cygwin -DG__GNUREADLINE -DG__MINGW -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -c cint/src/Api.cxx -o cint/src/Api.o In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:384: error: `__int64' does not name a type cint/inc/G__ci.h:385: error: `__int64' does not name a type In file included from cint/inc/Api.h:25, from cint/src/Api.cxx:16: cint/inc/G__ci.h:948: error: `G__int64' does not name a type cint/inc/G__ci.h:949: error: `G__uint64' does not name a type cint/inc/G__ci.h:1888: error: `G__int64' has not been declared cint/inc/G__ci.h:1888: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1889: error: `G__uint64' has not been declared cint/inc/G__ci.h:1889: error: ISO C++ forbids declaration of `value' with no type cint/inc/G__ci.h:1891: error: `G__int64' does not name a type cint/inc/G__ci.h:1892: error: `G__uint64' does not name a type cint/inc/G__ci.h:1894: error: expected initializer before '*' token cint/inc/G__ci.h:1895: error: expected initializer before '*' token cint/inc/G__ci.h:2522: error: `G__int64' does not name a type cint/inc/G__ci.h:2523: error: `G__uint64' does not name a type In file included from cint/inc/Api.h:44, from cint/src/Api.cxx:16: cint/inc/CallFunc.h:85: error: `G__int64' has not been declared cint/inc/CallFunc.h:85: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:86: error: `G__uint64' has not been declared cint/inc/CallFunc.h:86: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:86: error: `void Cint::G__CallFunc::SetArg(int)' and `void Cint::G__CallFunc::SetArg(int)' cannot be overloaded cint/inc/CallFunc.h:88: error: `G__int64' has not been declared cint/inc/CallFunc.h:88: error: ISO C++ forbids declaration of `ll' with no type cint/inc/CallFunc.h:89: error: `G__uint64' has not been declared cint/inc/CallFunc.h:89: error: ISO C++ forbids declaration of `ull' with no type cint/inc/CallFunc.h:89: error: `void Cint::G__CallFunc::SetArgRef(int&)' and `void Cint::G__CallFunc::SetArgRef(int&)' cannot be overloaded cint/inc/CallFunc.h:99: error: `G__int64' does not name a type In file included from cint/src/common.h:1489, from cint/src/Api.cxx:17: cint/src/fproto.h:346: error: `G__int64' has not been declared cint/src/fproto.h:346: error: ISO C++ forbids declaration of `val' with no type cint/src/fproto.h:701: error: `G__int64' has not been declared cint/src/fproto.h:701: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:702: error: `G__uint64' has not been declared cint/src/fproto.h:702: error: ISO C++ forbids declaration of `value' with no type cint/src/fproto.h:704: error: `G__int64' does not name a type cint/src/fproto.h:705: error: `G__uint64' does not name a type make: *** [cint/src/Api.o] Error 1 Is this already fixed? Greets Louis |
|
|
Re: AW: Compiling cint on mingw with mingw gccLouis, I'll be trying this out this weekend. Thanks, Michael McGarrah On Wed, Jul 29, 2009 at 12:32 PM, Louis <louis@...> wrote: Make sure you install the devel package of each library, I am on cygwin-1.7 -- Michael McGarrah |
|
|
Re: AW: Compiling cint on mingw with mingw gccFirstly , Thanks a bunch Louis. Regarding Michael's query, in the past I ended up in creating an application which depends on Cygwin libraries. From the list, I guess, in Louis's case, the application should be cygwin dependent. Prasad. From: Michael McGarrah <mcgarrah@...> To: Louis <louis@...>; cint@... Sent: Wednesday, 29 July, 2009 12:06:48 Subject: Re: AW: [CINT] Compiling cint on mingw with mingw gcc Louis, I'll be trying this out this weekend. Thanks, Michael McGarrah On Wed, Jul 29, 2009 at 12:32 PM, Louis <louis@...> wrote: Make sure you install the devel package of each library, I am on cygwin-1.7 -- Michael McGarrah |
|
|
AW: AW: Compiling cint on mingw with mingw gccNo it relies on the cygwin dll. You can use the -mno-cygwin flag to compile
programs on cygwin without the cygwin runtime. Read more about it here: http://www.google.de/search?hl=de&q=mno-cygwin&meta= Avoid the leading - in the search term or google will find nothing. However you maybe need to configure cint with --arch=mingw but I have not yet tried this. If this compilation is successful you will get a native windows application. You can also try msys and mingw. I also started on writing a small manual on how to compile cint with mingw and msys. Its not finished but better than nothing (also very poor English): http://www.awake24.de/documents/doku.php?id=cint:compile_on_windows The only way that worked for me to build a native cint, without chaning any sourcecode of cint was with msys and msvc. You can download the msvc express edition for free, and use it with msys. http://www.microsoft.com/express/ I currently create nmake Makefiles for MSVC so this would be really easy. Process is 40% finished. After I got this working I try to compile on linux. Greets Louis |
|
|
AW: AW: Compiling cint on mingw with mingw gccAnother thing, if you have buildproblems with msys and msvc try not to set
the cintsysroot environment variable. You can also try to set the INCLUDE and LIB for msvc and LD_LIBRARY_PATH and CPATH for gcc manually (copy paste). I set the compiler environment vars manually, and did not executed the setvars.sh and the buildprocess was successfully finished here. Greets Louis |
| Free embeddable forum powered by Nabble | Forum Help |