aflux / neutrino

A light, expandable and full featured image analysis tool for research
10 stars 1 forks source link

Windows bug #10

Open jacqmin opened 10 years ago

jacqmin commented 10 years ago

With Windows 7 professionnel (Pack Service 1), the wavelet analysis does not work.

aflux commented 10 years ago

Hi, please do the following in order to give us more details about the possible causes.

"C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe"
2>errorfile.txt

It should look like

C:\Users\yourname> "C:\Users\john\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe" 2> errorfile.txt
jacqmin commented 10 years ago

Hi,

I followed the procedure and the error file is attached to this mail.

Thank you,

Hermance Jacqmin

----- Mail original ----- De: "aflux" notifications@github.com À: "aflux/neutrino" neutrino@noreply.github.com Cc: "jacqmin" hermance.jacqmin@ensta-paristech.fr Envoyé: Mardi 11 Février 2014 12:05:07 Objet: Re: [neutrino] Windows bug (#10)

Hi, please do the following in order to give us more details about the possible causes.

"C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe"
2>e

It should look like

C:\Users\yourname> "C:\Users\john\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe" 2> errorfile.txt

Reply to this email directly or view it on GitHub: https://github.com/aflux/neutrino/issues/10#issuecomment-34744473 [WARNING] nPhysFormats.cc:1619 (phys_open) DEBUG in warning for release! [WARNING] nPhysFormats.cc:1633 (phys_open) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [WARNING] nPhysFormats.cc:1681 (phys_open) DEBUG in warning for release 2! [WARNING] nPhysFormats.cc:1685 (phys_open) DEBUG in warning for release! -> 0 [nGenericPan] pan thread running...

aflux commented 10 years ago

The error seems to be due to incorrect packaging of shared libraries. For some unknown reason it works on some windows systems and not on other.

http://stackoverflow.com/questions/17023419/win-7-64-bit-dll-problems

Possibly resolved in the next packaging.

sfeister commented 9 years ago

Has this "Wavelet in Windows" problem been fixed in the current source code? If so, could you advise on the steps you use to compile for Windows, especially on how to build nPhysImage.dll? I would love to integrate that DLL into a real-time Windows analysis function. Also, is CUDA functional in the current source code? Thank you very much!

aflux commented 9 years ago

Dear Scott,

glad to hear you'd integrate nPhysD in some other project! Can you tell us something about it?

Concerning the bug in windows, have you tried the last version?

Also I wouldn't be surprised (at all) if the memory leak comes from the qt part of the code (neutrino) instead of from the nPhysD part. Have you tried to make a test linking on nPhysImage.dll directly? (you should find nPhysImage.dll packaged in the installer)

As for compiling it separately this is a bad moment, for we are switching from autoconf to cmake, and the whole procedure is far from being perfectly stable -- MSWindows being the worst case scenario ;-)

This situation will eventually get better, not sure if during holydays..

CUDA: not working in windows, it's a mess. Should be working in linux and in OSX.

A.

On 07/21/2015 03:46 PM, Scott Feister wrote:

Has this "Wavelet in Windows" problem been fixed in the current source code? If so, could you advise on the steps you use to compile for Windows, especially on how to build nPhysImage.dll? I would love to integrate that DLL into a real-time Windows analysis function. Also, is CUDA functional in the current source code? Thank you very much!


Reply to this email directly or view it on GitHub: https://github.com/aflux/neutrino/issues/10#issuecomment-123311004

Esta epístola inútil y palabrera ya existe en uno de los treinta volúmenes de los cinco anaqueles de uno de los incontables hexágonos, y también su refutación. (Borges)

4096R/B7997C2C .alex.

sfeister commented 9 years ago

A.,

Thanks for getting back to me so quickly!

Regarding this "Wavelet in Windows" bug, I see that it is indeed fixed in the latest binary for Windows. (I did not realize that any new binaries had been uploaded since last February, since it still says "1 release" at the top of GitHub! Oops!)

Now for the DLL part: I am looking into the possibility of calling interferometry analysis functions from LabVIEW. The desired workflow here would be:

  1. LabVIEW acquires an interferometric image from the camera
  2. LabVIEW calls a DLL with nPhysD functions, or a wrapper function for nPhysD functions
  3. The DLL/wrapper functions return analyzed data (such as a phase map) which is displayed in LabVIEW

I really don't know how realistic this will be, given my limited experience with Windows DLLs and C/C++, but we will see! In the meantime, I am very happy to have access to the python scripting in Windows through the "...v1.0rc-234...pythonQtAll.exe" binary! I really like the new interferometry analysis window that has been added since I last downloaded.

Best,

Scott