On Thu, 18 Mar 2010, Bill Janssen wrote:
I'm trying to get JCC built on Win XP with latest mingw tools, which is
gcc 3.4.5.
I would sincerely hope that there is something more recent for mingw, based
on gcc 4.x. If not, then it's time to move on to a different compiler. The
3.4.x series is only, ooh, 6 years old ?
Andi..
Here's the latest issue. Looks like a C++ issue.
error: base `t_jarray<_jobject*>' with only non-default constructor in
class without a constructor
Bill
$ python setup.py build --compiler=mingw32
running build
running build_py
copying jcc\config.py -> build\lib.win32-2.6\jcc
running build_ext
building 'jcc._jcc' extension
creating build\temp.win32-2.6\Release\_jcc
creating build\temp.win32-2.6\Release\_jcc\java
creating build\temp.win32-2.6\Release\_jcc\java\io
creating build\temp.win32-2.6\Release\_jcc\java\lang
creating build\temp.win32-2.6\Release\_jcc\java\lang\reflect
creating build\temp.win32-2.6\Release\_jcc\java\util
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall "-IC:\Program
Files\Java\jdk1.6.0_18/include" "-IC:\Program Files\Java\jdk1.6.0_18/include/win32"
-I_jcc -Ijcc/sources -Ic:\Python26\include -Ic:\Python26\PC -c jcc/sources/JObject.cpp -o
build\temp.win32-2.6\Release\jcc\sources\jobject.o -DPYTHON
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall "-IC:\Program
Files\Java\jdk1.6.0_18/include" "-IC:\Program Files\Java\jdk1.6.0_18/include/win32"
-I_jcc -Ijcc/sources -Ic:\Python26\include -Ic:\Python26\PC -c jcc/sources/JArray.cpp -o
build\temp.win32-2.6\Release\jcc\sources\jarray.o -DPYTHON
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<_jobject*>':
jcc/sources/JArray.cpp:610: instantiated from `_t_jobjectarray<_jobject*>'
jcc/sources/JArray.cpp:617: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<_jobject*>' with only
non-default constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jobjectarray<_jobject*>':
jcc/sources/JArray.cpp:617: instantiated from here
jcc/sources/JArray.cpp:610: error: base `_t_jarray<_jobject*>' with only
non-default constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<_jstring*>':
jcc/sources/JArray.cpp:934: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<_jstring*>' with only
non-default constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jboolean>':
jcc/sources/JArray.cpp:950: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jboolean>' with only
non-default constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jbyte>':
jcc/sources/JArray.cpp:966: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jbyte>' with only non-default
constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jchar>':
jcc/sources/JArray.cpp:982: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jchar>' with only non-default
constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jdouble>':
jcc/sources/JArray.cpp:998: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jdouble>' with only
non-default constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jfloat>':
jcc/sources/JArray.cpp:1014: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jfloat>' with only non-default
constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jint>':
jcc/sources/JArray.cpp:1030: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jint>' with only non-default
constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jlong>':
jcc/sources/JArray.cpp:1046: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jlong>' with only non-default
constructor in class without a constructor
jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jshort>':
jcc/sources/JArray.cpp:1062: instantiated from here
jcc/sources/JArray.cpp:28: error: base `t_jarray<jshort>' with only non-default
constructor in class without a constructor
error: command 'gcc' failed with exit status 1