Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
The two tests that are not initially building correctly are test_z_exp tstdint However, after closing Visual Studio 2008 and re-booting Windows Vista, I now find that I am able to successfully build the two tests that are failing. I right-clicked on lib_mpfr_tests folder in the lib_mpfr solut

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Cactus
On Apr 11, 8:57 pm, Nicholas Kinar wrote: > > Can you discover why two tests are failing to build? > > > If you build them by right clicking on each of these two individually > > and then using 'project only' and 'build only', you should be able to > > see the output giving the reason for these

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
Can you discover why two tests are failing to build? If you build them by right clicking on each of these two individually and then using 'project only' and 'build only', you should be able to see the output giving the reason for these failures. Brian The two tests that are not init

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Cactus
On Apr 11, 7:14 pm, Nicholas Kinar wrote: > >> Although I still cannot explain the two build failures, the 37 test > >> failures have shown up a bug in the Visual Studio 2008 compiler. > > >> If you disable optimisation for the file mul.c (right click on the > >> file in the IDE and look in the

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
Although I still cannot explain the two build failures, the 37 test failures have shown up a bug in the Visual Studio 2008 compiler. If you disable optimisation for the file mul.c (right click on the file in the IDE and look in the C++ properties dialogue under the Optimisation item, select '

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
Although I still cannot explain the two build failures, the 37 test failures have shown up a bug in the Visual Studio 2008 compiler. If you disable optimisation for the file mul.c (right click on the file in the IDE and look in the C++ properties dialogue under the Optimisation item, select 'di

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
157 tests: 2 failed to build 118 ran correctly 37 failed .. completed - press ENTER I can't explain the two that failed to build but I also find the 37 test failures, which means that something has changed since I last built the win32 version. Sadly I don't

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Nicholas Kinar
Hello Brian--- Thank you very much for your response; this is greatly appreciated! 1>fits_intmax.obj : warning LNK4221: no public symbols found; archive member will be inaccessible 1>Performing Post-Build Event... 1>Build log was saved at "file://e:\Programs\common\MPIR\mpfr\build.vc9\lib_mpfr\W

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Cactus
On Apr 11, 5:13 pm, Cactus wrote: > On Apr 11, 2:06 am, Nicholas Kinar wrote: > > > 157 tests: > >          2 failed to build > >          118 ran correctly > >          37 failed > > .. completed - press ENTER > > I can't explain the two that failed to build but I also find the 37 > test failu

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Cactus
On Apr 11, 2:06 am, Nicholas Kinar wrote: > 157 tests: >          2 failed to build >          118 ran correctly >          37 failed > .. completed - press ENTER I can't explain the two that failed to build but I also find the 37 test failures, which means that something has changed since I las

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-11 Thread Cactus
On Apr 11, 2:06 am, Nicholas Kinar wrote: > > Actually I have just uploaded a ZIP file containing the MPFR build > > files to the files area here (mpfr.build.vc9.zip). > > > Just subsitute the new build.vc9 directory and its contents for the > > old one. > > >     Brian > > Brian--- > > Thank yo

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
No that is not what I meant, I'll try to be more clear. When I installed Visual Studio it had a directory in my "My Documents" directory called "Projects". Under this directory I put a directory call "MPIR", one called "MPFR" and one called "MPC". Here is the "Projects" directory path as

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Chris Saunders
No that is not what I meant, I'll try to be more clear. When I installed Visual Studio it had a directory in my "My Documents" directory called "Projects". Under this directory I put a directory call "MPIR", one called "MPFR" and one called "MPC". Here is the "Projects" directory path as it

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
Actually I have just uploaded a ZIP file containing the MPFR build files to the files area here (mpfr.build.vc9.zip). Just subsitute the new build.vc9 directory and its contents for the old one. Brian Brian--- Thank you very much for uploading this file; this is greatly appreciate

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
On 10/04/2010 4:25 PM, Chris Saunders wrote: Hi Nicholas. I recently built MPIR, MPFR and MPC using Brian Gladmans Visual Studio 2008 projects for MPFR and MPC. I used the SVN for MPFR. I was successful in doing this and did one thing different from you. I put all of the projects in separat

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
Hi Nicholas Your directory layout is fine. The problem you are seeing is caused because my project files on my site are a bit out of date. If you open the project in the iDE and remove the three files that are causing these errors it might then be ok. But if you can let me have a suitable em

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Cactus
On Apr 10, 11:15 pm, Cactus wrote: > On Apr 10, 10:12 pm, Nicholas Kinar wrote: > > > > > > > > > > Yes - see my page at: > > > >http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php > > > > You need to obtain MPFR from their SVN repository as the release > > > version fails because it us

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Chris Saunders
turday, April 10, 2010 5:12 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X Yes - see my page at: http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php You need to obtain MPFR from their SVN repository as the releas

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Cactus
On Apr 10, 10:12 pm, Nicholas Kinar wrote: > > Yes - see my page at: > > >http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php > > > You need to obtain MPFR from their SVN repository as the release > > version fails because it uses some obsolete symbols. > > > But I can advise you on all

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
Yes - see my page at: http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php You need to obtain MPFR from their SVN repository as the release version fails because it uses some obsolete symbols. But I can advise you on all of this because I have all of these packages working together. G

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
I don't know whether this is possible on a MAC but I use MPIR, MPFR and Pavel Holoborodko's MPFR C++ interface on Windows x64 so the packages themselves are compatible. Brian Brian - thank you very much for pointing this out. How do you link MPIR with MPFR? Apparen

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Cactus
On Apr 10, 5:28 pm, Nicholas Kinar wrote: > > I don't know whether this is possible on a MAC but I use MPIR, MPFR > > and Pavel Holoborodko's MPFR C++ interface on Windows x64 so the > > packages themselves are compatible. > > >     Brian > > Brian - thank you very much for pointing this out.  H

Re: [mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Nicholas Kinar
I don't know whether this is possible on a MAC but I use MPIR, MPFR and Pavel Holoborodko's MPFR C++ interface on Windows x64 so the packages themselves are compatible. Brian Brian - thank you very much for pointing this out. How do you link MPIR with MPFR? Apparently MPFR is look

[mpir-devel] Re: Link error when attempting to interface to Matlab MEX on Mac OS X

2010-04-10 Thread Cactus
On Apr 10, 2:47 pm, Nicholas Kinar wrote: > Hello--- > > I've written a program in C++ using the GMP and MPFR libraries.  I > would ideally like to use the MPFR library interfaced with MPIR.  My > program uses a wrapper (http://www.holoborodko.com/pavel/?page_id=12) > to interface my C++ code to