octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error compiling Octave-Windows package on Cygwin (Win10)


From: Ash46
Subject: Error compiling Octave-Windows package on Cygwin (Win10)
Date: Sat, 13 May 2017 15:47:52 -0700 (PDT)

Setup is Windows 10, 64-bit Cygwin, Octave 4.2.1 (installed under Cygwin), gcc/g++ both version 5.4.0

Seeing the following errors in __COM__.cc when installing Windows package in Octave (under Cygwin):

 

__COM__.cc: In function ‘octave_value com_to_octave(VARIANT*)’:

__COM__.cc:471:37: error: cannot convert ‘long int*’ to ‘LONG* {aka int*}’ for argument ‘3’ to ‘HRESULT SafeArrayGetLBound(SAFEARRAY*, UINT, LONG*)

     SafeArrayGetLBound(arr, k+1, &lb);

                                     ^

__COM__.cc:472:37: error: cannot convert ‘long int*’ to ‘LONG* {aka int*}’ for argument ‘3’ to ‘HRESULT SafeArrayGetUBound(SAFEARRAY*, UINT, LONG*)

     SafeArrayGetUBound(arr, k+1, &ub);

                                     ^

__COM__.cc:527:52: error: cannot convert ‘long int*’ to ‘LONG* {aka int*}’ for argument ‘2’ to ‘HRESULT SafeArrayGetElement(SAFEARRAY*, LONG*, void*

         if(SafeArrayGetElement(arr,arrDims,&cellVal)==S_OK)

                                                    ^

__COM__.cc:572:52: error: cannot convert ‘long int*’ to ‘LONG* {aka int*}’ for argument ‘2’ to ‘HRESULT SafeArrayGetElement(SAFEARRAY*, LONG*, void*

         if(SafeArrayGetElement(arr,arrDims,&cellVal)==S_OK)

                                                    ^

__COM__.cc:618:52: error: cannot convert ‘long int*’ to ‘LONG* {aka int*}’ for argument ‘2’ to ‘HRESULT SafeArrayGetElement(SAFEARRAY*, LONG*, void*

         if(SafeArrayGetElement(arr,arrDims,&cellVal)==S_OK)

                                                    ^

make: *** [Makeconf:67: __COM__.o] Error 1

make: Leaving directory '/tmp/oct-IbRRQm/windows/src'

 

pkg: error running `make' for the windows package.

error: called from

    configure_make at line 95 column 9

    install at line 192 column 7

    pkg at line 394 column 9

 

Any ideas?

 

Thanks

Ash



View this message in context: Error compiling Octave-Windows package on Cygwin (Win10)
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]