octave-maintainers
[Top][All Lists]
Advanced

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

Re: how to make mexbiosig work on mxe-octave


From: Alois Schlögl
Subject: Re: how to make mexbiosig work on mxe-octave
Date: Fri, 3 May 2019 17:22:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 01.05.19 22:12, JohnD wrote:
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 1 May 2019 01:20:49 +0200
>> From: Alois Schl?gl <address@hidden>
>> To: <address@hidden>
>> Subject: how to make mexbiosig work on mxe-octave
>> Message-ID: <address@hidden>
>> Content-Type: text/plain; charset="utf-8"
>>
>>
>> Dear maintainers of MXE-OCTAVE,
>>
>>
>> mexbiosig [1] is a mex-file for loading about 50 different Biosig data
>> formats [2] into octave. mexbiosig can than be installed in octave with ?
>>
>>     pkg install mexbiosig-X.Y.Z.src.tar.gz
>>
>> but requires that? libbiosig [1] is available on the host platform.
>> libbiosig for windows can be compiled with mxe [3,4,5]. I tried to
>> compile libbiosig within mxe-octave. However, this was not successful (I
>> just copied src/libbiosig.mk from [5] into a recent mxe-octave directory
>> and tried to run "make libbiosig" in the same way as I used to this mxe.
>> It fails with the message "make: *** No rule to make target
>> 'libbiosig'.? Stop."
>>
>> Therefore, I'm asking:
>>
>> 1) how to compile libbiosig within mxe-octave ? What do I miss here ?
>>
>> 2) would you consider including libbiosig into the official mxe-octave
>> repository ? What is needed to include this in Octave for windows ?
>>
>> The procedure to install mexbiosig in Octave is working fine on? Linux
>> and macOS through homebrew. It would be great if mexbiosig could be also
>> provided to Octave users on Windows. Could you help me with that ?
>>
>>
>> Best regards,
>>
>> ? Alois
>>
>>
>>
>> [1] http://biosig.sourceforge.net/download.html
>>
>> [2] http://pub.ist.ac.at/~schloegl/biosig/TESTED
>>
>> [3] https://mxe.cc/
>>
>> [4] https://github.com/schloegl/mxe
>>
>> [5] https://github.com/schloegl/mxe/blob/master/src/libbiosig.mk
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
> 
> 
> Looks like from biosig4c++, you should be running make -f Makefile.win32
> It currently fails in the build though with error: conflicting types for
> 'sopen'
> 


Dear John,


Yes, it's possible to cross-compile libbiosig on linux for windows.
Usually, I do this with mxe.
   git clone https://github.com/schloegl/mxe.git
   cd mxe
   make libbiosig

The approach if "make -f Makefile.win32" is not supported anymore, but
should be replaced with something like
    TARGET=$(TARGET) CROSS=$(TARGET) make libbiosig

Currently, I'm trying with the attached makefile which I put into
    mxe-octave/src/libbiosig.mk
and apply to attached patch

When trying to run
    mxe-octave$ make libbiosig
it does not do much. Any idea what else is needed ?


Best, Alois





Attachment: libbiosig.mk
Description: Text Data

Attachment: patch_testing_libbiosig.diff
Description: Text Data


reply via email to

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