Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows bug #10

Open
jacqmin opened this issue Feb 10, 2014 · 6 comments
Open

Windows bug #10

jacqmin opened this issue Feb 10, 2014 · 6 comments
Labels
Milestone

Comments

@jacqmin
Copy link

jacqmin commented Feb 10, 2014

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

@aflux
Copy link
Owner

aflux commented Feb 11, 2014

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

  • right click on the neutrino icon on your Desktop, select "properties", find the "target" line in the Shortcut tab and copy (right click+copy) the text. Should be something like
"C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe"
  • open a command prompt (Start->Programs->Accessories->Command prompt), paste the copied line and add at the end the characters
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
  • press enter
  • use the just opened program until it dies
  • send us the file "errorfile.txt" you should find in c:\Users\yourname

@aflux aflux added this to the v1.0 milestone Feb 11, 2014
@aflux aflux added the bug label Feb 11, 2014
@jacqmin
Copy link
Author

jacqmin commented Feb 11, 2014

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.

  • right click on the neutrino icon on your Desktop, select "properties", find the "target" line in the Shortcut tab and copy (right click+copy) the text. Should be something like
"C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\neutrino\neutrino.exe"
  • open a command prompt (Start->Programs->Accessories->Command prompt), paste the copied line and add at the end the characters
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
  • use the program until it dies
  • send us the file "errorfile.txt" you should find in c:\Users\yourname

Reply to this email directly or view it on GitHub:
#10 (comment)
[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
Copy link
Owner

aflux commented Feb 13, 2014

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
Copy link

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
Copy link
Owner

aflux commented Jul 21, 2015

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:
#10 (comment)

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants