Sorry for sending garble mail.

Hello,

Sorry for late reply.

In the Message; 

  Subject    : Re: [Scilab-Dev] Can't compile 6.0.0-alpha1
  Message-ID : <[email protected]>
  Date & Time: Tue, 18 Aug 2015 11:01:26 +0200

Cl$(D+1(Bment David <[email protected]> has written:

> Hello Masaru,

> Thanks for reporting this issue. The `ScilabCommons.i` and
> `ScilabCommons_wrap.c` files are not synchronized due to a merge issue.

> The review #17052 fix [1] that (and the --enable-build-swig configure
> option).

> [1]: https://codereview.scilab.org/#/c/17052/

I've confirmed.

But, I've got other errors when compiling;

[...]
./includes/../src/jni/ScilabVariables.hxx:188:13: note:   candidate expects 12 
arguments, 7 provided
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendVariable(const string&, std::vector<int>&, 
int, int*, int*, int, int, T*, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:490:9: error: $B!F(BsendDataAsBuffer$B!G(B is not 
a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), row, col, 
nbItem, nbItemRow, row, colPos, nbItem, data, nbItem, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendVariable(const string&, std::vector<int>&, 
int, int, T*, bool, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:510:9: error: $B!F(BsendDataAsBuffer$B!G(B is not 
a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), data, row * 
col, row, col, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendBooleanSparseVariable(const string&, 
std::vector<int>&, int, int*, int*, int, int, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:533:9: error: $B!F(BsendDataAsBuffer$B!G(B is not 
a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), row, col, 
nbItem, nbItemRow, row, colPos, nbItem, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendUnsignedVariable(const string&, 
std::vector<int>&, int, int, T*, bool, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:563:9: error: $B!F(BsendUnsignedDataAsBuffer$B!G(B 
is not a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendUnsignedDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), data, row * 
col, row, col, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendConvertedBooleanVariable(const string&, 
std::vector<int>&, int, int, int*, bool, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:578:9: error: $B!F(BsendBooleanDataAsBuffer$B!G(B 
is not a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendBooleanDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), data, row * 
col, row, col, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendVariable(const string&, std::vector<int>&, 
int, int*, int*, int, int, T*, T*, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:594:9: error: $B!F(BsendDataAsBuffer$B!G(B is not 
a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), row, col, 
nbItem, nbItemRow, row, colPos, nbItem, real, nbItem, img, nbItem, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In static member function $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendVariable(const string&, std::vector<int>&, 
int, int, T*, T*, bool, bool, int)$B!G(B:
src/cpp/ScilabToJava.cpp:614:9: error: $B!F(BsendDataAsBuffer$B!G(B is not 
a member of $B!F(Borg_scilab_modules_types::ScilabVariables$B!G(B
         ScilabVariables::sendDataAsBuffer(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), real, row * 
col, img, row * col, row, col, handlerId);
         ^
src/cpp/ScilabToJava.cpp: In instantiation of $B!F(Bstatic void 
org_modules_types::ScilabToJava::sendUnsignedVariable(const string&, 
std::vector<int>&, int, int, T*, bool, bool, int) [with T = long long int; 
std::string = std::basic_string<char>]$B!G(B:
src/cpp/ScilabToJava.cpp:259:128:   required from here
src/cpp/ScilabToJava.cpp:568:166: error: no matching function for call to 
$B!F(Borg_scilab_modules_types::ScilabVariables::sendUnsignedData(JavaVM*, 
char*, int*, int, long long int**&, int&, int&, bool&, int&)$B!G(B
         ScilabVariables::sendUnsignedData(getScilabJavaVM(), (char 
*)name.c_str(), getIndexesPointer(indexes), (int)indexes.size(), addr, row, 
col, swaped, handlerId);
                                                                                
                                                                                
      ^
src/cpp/ScilabToJava.cpp:568:166: note: candidates are:
In file included from ./includes/ScilabToJava.hxx:19:0,
                 from src/cpp/ScilabToJava.cpp:14:
./includes/../src/jni/ScilabVariables.hxx:164:13: note: static void 
org_scilab_modules_types::ScilabVariables::sendUnsignedData(JavaVM*, const 
char*, const int*, int, const byte* const*, int, int, bool, int)
 static void sendUnsignedData(JavaVM * jvm_, char const* varName, int const* 
indexes, int indexesSize, byte const* const* data, int dataSize, int 
dataSizeCol, bool swaped, int handlerId);
             ^
./includes/../src/jni/ScilabVariables.hxx:164:13: note:   no known conversion 
for argument 5 from $B!F(Blong long int**$B!G(B to $B!F(Bconst byte* 
const* {aka const signed char* const*}$B!G(B
./includes/../src/jni/ScilabVariables.hxx:168:13: note: static void 
org_scilab_modules_types::ScilabVariables::sendUnsignedData(JavaVM*, const 
char*, const int*, int, const short int* const*, int, int, bool, int)
 static void sendUnsignedData(JavaVM * jvm_, char const* varName, int const* 
indexes, int indexesSize, short const* const* data, int dataSize, int 
dataSizeCol, bool swaped, int handlerId);
             ^
./includes/../src/jni/ScilabVariables.hxx:168:13: note:   no known conversion 
for argument 5 from $B!F(Blong long int**$B!G(B to $B!F(Bconst short int* 
const*$B!G(B
./includes/../src/jni/ScilabVariables.hxx:172:13: note: static void 
org_scilab_modules_types::ScilabVariables::sendUnsignedData(JavaVM*, const 
char*, const int*, int, const int* const*, int, int, bool, int)
 static void sendUnsignedData(JavaVM * jvm_, char const* varName, int const* 
indexes, int indexesSize, int const* const* data, int dataSize, int 
dataSizeCol, bool swaped, int handlerId);
             ^
./includes/../src/jni/ScilabVariables.hxx:172:13: note:   no known conversion 
for argument 5 from $B!F(Blong long int**$B!G(B to $B!F(Bconst int* 
const*$B!G(B
mv -f sci_gateway/cpp/.deps/libscitypes_la-sci_isfield.Tpo 
sci_gateway/cpp/.deps/libscitypes_la-sci_isfield.Plo
mv -f sci_gateway/cpp/.deps/libscitypes_la-sci_tlist.Tpo 
sci_gateway/cpp/.deps/libscitypes_la-sci_tlist.Plo
make[3]: *** [src/cpp/libscitypes_java_la-ScilabToJava.lo] error 1

What causes this, I wonder?
Jogl2? I'm using v2.2.4's jogl2.

Anyway, any idea?

Thanks,
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to