Re: Previously-functional Octave software routine now mysteriously failing - Please help!
On 2023-07-17 15:43, Takashi Yano via Cygwin wrote: On Mon, 17 Jul 2023 17:27:37 -0400 Bryan VanSchouwen wrote: Hello. I just tried performing a correlation matrix calculation with Cygwin's Octave software (having successfully performed this calculation previously on other similar data sets) using the following commands within Cygwin: *(start of commands)* [vansc@LAPTOP-OHN2RCVM ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$ octave GNU Octave, version 5.2.0 Copyright (C) 2020 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. Octave was configured for "x86_64-pc-cygwin". Additional information about Octave is available at https://www.octave.org. Please contribute if you find this software useful. For more information, visit https://www.octave.org/get-involved.html Read https://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type 'news'. octave:1> load dm octave:2> cdmt = cor(dm.') octave:3> save dm.octave *(end of commands)* However, when I tried executing the "cdmt = cor(dm.')" command, I got the following error message: octave:2> cdmt = cor(dm.') error: 'cor' undefined near line 1 column 8 octave:2> For reference, I have attached a copy of the input "dm" matrix data file that I was trying to use in the calculations within Octave (see attached file). Do you have any idea what is going on here, and if there is a way to fix it (or work around it)?? I do not really understand what you want to do, but corr() or corrcoef(), not cor()? Is the OP getting confused between cov() and corr()? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: linking multiple function from .lib to CYGWIN
On Fri, 14 Jul 2023 11:51:59 +0300 Mümin A. wrote: > Hi, > > I can only link one function at a time in a *msvc *built library but when I > use multiple functions in the CYGWIN > compiler, I got that error message. > > int main() > { > helloWorld2(); > return 0; > } > > That is compiled and linked successfully. > > int main() > { > helloWorld2(); > helloWorld3(); > return 0; > } > > That is compiled but linking throws a bug report. > > [ 50%] Linking CXX executable a.exe > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > internal error: aborting at > /mnt/share/cygpkgs/binutils/binutils.x86_64/src/binutils-2.40/ld/ldlang.c:527 > in compare_section > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > please report this bug Perhaps, this is a bug of gcc 11 which has been already fixed in gcc 12. Workaround is: Link .dll directly instead of linking .lib if your .lib is associated with a DLL. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Previously-functional Octave software routine now mysteriously failing - Please help!
On Mon, 17 Jul 2023 17:27:37 -0400 Bryan VanSchouwen wrote: > Hello. > > I just tried performing a correlation matrix calculation with > Cygwin's Octave software (having successfully performed this calculation > previously on other similar data sets) using the following commands within > Cygwin: > *(start of commands)* > [vansc@LAPTOP-OHN2RCVM > ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$ > octave > GNU Octave, version 5.2.0 > Copyright (C) 2020 John W. Eaton and others. > This is free software; see the source code for copying conditions. > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or > FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. > > Octave was configured for "x86_64-pc-cygwin". > > Additional information about Octave is available at https://www.octave.org. > > Please contribute if you find this software useful. > For more information, visit https://www.octave.org/get-involved.html > > Read https://www.octave.org/bugs.html to learn how to submit bug reports. > For information about changes from previous versions, type 'news'. > > octave:1> load dm > octave:2> cdmt = cor(dm.') > octave:3> save dm.octave > *(end of commands)* > > > However, when I tried executing the "cdmt = cor(dm.')" command, I got the > following error message: > octave:2> cdmt = cor(dm.') > error: 'cor' undefined near line 1 column 8 > octave:2> > > For reference, I have attached a copy of the input "dm" matrix data file > that I was trying to use in the calculations within Octave (see attached > file). > > Do you have any idea what is going on here, and if there is a way to fix it > (or work around it)?? I do not really understand what you want to do, but corr() or corrcoef(), not cor()? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Previously-functional Octave software routine now mysteriously failing - Please help!
Hello. I just tried performing a correlation matrix calculation with Cygwin's Octave software (having successfully performed this calculation previously on other similar data sets) using the following commands within Cygwin: *(start of commands)* [vansc@LAPTOP-OHN2RCVM ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$ octave GNU Octave, version 5.2.0 Copyright (C) 2020 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. Octave was configured for "x86_64-pc-cygwin". Additional information about Octave is available at https://www.octave.org. Please contribute if you find this software useful. For more information, visit https://www.octave.org/get-involved.html Read https://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type 'news'. octave:1> load dm octave:2> cdmt = cor(dm.') octave:3> save dm.octave *(end of commands)* However, when I tried executing the "cdmt = cor(dm.')" command, I got the following error message: octave:2> cdmt = cor(dm.') error: 'cor' undefined near line 1 column 8 octave:2> For reference, I have attached a copy of the input "dm" matrix data file that I was trying to use in the calculations within Octave (see attached file). Do you have any idea what is going on here, and if there is a way to fix it (or work around it)?? dm Description: Binary data -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: ruby-gtk2-3.4.3-1
The following packages have been uploaded to the Cygwin distribution: - https://cygwin.com/packages/summary/ruby-gtk2-src.html - ruby-gtk2 - ruby-gtk2-doc - ruby-gtk2-devel -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Linking a native msvc dll library to CYGWIN g++ compiler
Mümin A. via Cygwin wrote: Hi, reminder.. Mümin A. , 11 Tem 2023 Sal, 09:47 tarihinde şunu yazdı: Hi, I'm facing a problem while linking my native dll library into the g++ compiler. There is a name mangling problem when calling a msvc function from g++ compiler therefore linker gives an error undefined reference. Is there any method to directly link and call a function from native dll library from the cygwin compiler ? For example, I've a fooCls.h header file for a windows library, I add link the fooCls.dll to g++ compiler then, fooNameSpace::fooConnectionCls instance; instance.FooTest(); gives a linker error , undefined reference. Thank you in advance, Mumin AYDI Did you see Csaba's reply to your initial email? Check the mail archives. Does FAQ 6.36 describe your situation? See the Cygwin home page https://cygwin.com for pointers to those resources. ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple