Git Product home page Git Product logo

Comments (15)

mkazhdan avatar mkazhdan commented on September 4, 2024 1

I am assuming you are running from a command prompt. Is there an error message?

It's also possibly that you are running on older hardware. The code is compiled to leverage hardware acceleration on newer machines. If yours doesn't support it and you have a Visual Studios compiler, you can try setting the extended architecture support to SSE2.

-- misha

On September 27, 2016 10:23:34 AM EDT, nmm02003 [email protected] wrote:

Hi, I'm having the same problem. Trying to run 64 bit executable (tried
both version 8 and 9) on Windows 10 64 bit. Poissonrecon.exe crashes
immediately without any error message. I have the redistributable
packages installed fpr 2010-2015. Are there any other dependencies?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#11 (comment)

from poissonrecon.

mkazhdan avatar mkazhdan commented on September 4, 2024

There shouldn’t be any other dependencies.

Can you confirm that you are running a 64-bit OS? (http://www.tenforums.com/tutorials/4399-system-type-32-bit-x86-64-bit-x64-windows-10-a.html)

-- Misha

From: puffosauro [mailto:[email protected]]
Sent: Friday, February 5, 2016 3:15 AM
To: mkazhdan/PoissonRecon [email protected]
Subject: [PoissonRecon] crash on startup (#11)

Hi
I'm trying to run the last version (binary distibution of v8, 64 bit) on a Windows 10 system I have installed the VS2013 redist package The application crashes on startup (even with no arguments)
Instead the 32 bit version seems to work, if I run it with no arguments it prints the usage
There are some dependencies needed?


Reply to this email directly or view it on GitHub #11 . https://github.com/notifications/beacon/AKXc5arl5O0j_CiiifHrvB2eJkifTNPUks5phFGDgaJpZM4HUFxp.gif

from poissonrecon.

puffosauro avatar puffosauro commented on September 4, 2024

Yes I have a 64 bit OS. I can run all version up to 5.71. The versions 6 and next crash in my system.
I have also tried on another PC with Windows 7 but I can't run it.
If I'm not wrong, I remember that in a old PC with Windows Vista there was not problems (but now I can't try because that PC is dead :( )
Some time ago I needed the v 7 (because of the color extrapolation) and I have built it with my Visual Studio (2008 Standard Edition), and the executable works, but without OpenMP (because OpenMP is not supported in VS2008 SE).

from poissonrecon.

mkazhdan avatar mkazhdan commented on September 4, 2024

It might be the case that the OpenMP is still causing trouble.

Do you get an error message when it crashes? Have you been able to run other stuff that requires OpenMP?

If you do have some version of Visual Studios, you could just try disabling OpenMP.

To do this, go to

Properties -> C/C++ -> Language
and make sure that “Open MP Support” is not enabled.

-- Misha

From: puffosauro [mailto:[email protected]]
Sent: Friday, February 5, 2016 11:25 AM
To: mkazhdan/PoissonRecon [email protected]
Cc: mkazhdan [email protected]
Subject: Re: [PoissonRecon] crash on startup (#11)

Yes I have a 64 bit OS. I can run all version up to 5.71. The versions 6 and next crash in my system.
I have also tried on another PC with Windows 7 but I can't run it.
If I'm not wrong, I remember that in a old PC with Windows Vista there was not problems (but now I can't try because that PC is dead :( )
Some time ago I needed the v 7 (because of the color extrapolation) and I have built it with my Visual Studio (2008 Standard Edition), and the executable works, but without OpenMP (because OpenMP is not supported in VS2008 SE).


Reply to this email directly or view it on GitHub #11 (comment) . https://github.com/notifications/beacon/AKXc5echzDZ8lCOO83ZtxBgIfzfPdJmRks5phMRSgaJpZM4HUFxp.gif

from poissonrecon.

puffosauro avatar puffosauro commented on September 4, 2024

Unfortunately I don't get any error message.
I don't know about other stuff, but I can run PoissonRecon 5.71 that requires OpenMP (I think! I read something about OpenMP in the changelog of 5.7 version). I don't know what is changed between v 5.71 and v 6.
I could build using VS2008 SE (as the v 7), but I think that OpenMP make it faster. What a pity!

from poissonrecon.

mkazhdan avatar mkazhdan commented on September 4, 2024

Hi,

It’s strange that there are no messages. Not even one about missing .dlls.

You could try running “depends.exe” (you will need to download it) to check for missing dependencies.

It’s likely that it’s a problem with OpenMP, so recompiling w/o it should work, though that will also make the application run slower. You could try and see if you can download the vcomp.dll directly and place it in the directory with the executable.

-- Misha

From: puffosauro [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 2:49 AM
To: mkazhdan/PoissonRecon [email protected]
Cc: mkazhdan [email protected]
Subject: Re: [PoissonRecon] crash on startup (#11)

Unfortunately I don't get any error message.
I don't know about other stuff, but I can run PoissonRecon 5.71 that requires OpenMP (I think! I read something about OpenMP in the changelog of 5.7 version). I don't know what is changed between v 5.71 and v 6.
I could build using VS2008 SE (as the v 7), but I think that OpenMP make it faster. What a pity!


Reply to this email directly or view it on GitHub #11 (comment) .

from poissonrecon.

giancan avatar giancan commented on September 4, 2024

Hi @mkazhdan ,
I know it is an old post but I just tried to download the v8 executable and it crashes as soon as I run it without explanation. SurfaceTrimmer seems to work fine
Thanks

from poissonrecon.

mkazhdan avatar mkazhdan commented on September 4, 2024

Strange.

I am assuming you are running on Windows (10?).

It could be the case that you need to download the Microsoft redistributable package (https://www.microsoft.com/en-us/download/details.aspx?id=40784).

-- Misha

From: Gianluca [mailto:[email protected]]
Sent: Tuesday, May 10, 2016 10:29 AM
To: mkazhdan/PoissonRecon [email protected]
Cc: mkazhdan [email protected]; Mention [email protected]
Subject: Re: [mkazhdan/PoissonRecon] crash on startup (#11)

Hi @mkazhdan https://github.com/mkazhdan ,
I know it is an old post but I just tried to download the v8 executable and it crashes as soon as I run it without explanation. SurfaceTrimmer seems to work fine
Thanks


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #11 (comment) https://github.com/notifications/beacon/AKXc5RUvEK2LV1FVIU4VoOdZL6GYYyWIks5qAJYkgaJpZM4HUFxp.gif

from poissonrecon.

giancan avatar giancan commented on September 4, 2024

I had it installed and I tried with a repair. Nothing seems to have changed.
And yes, I am on windows (but 7, not 10).
Anything else I can try?

from poissonrecon.

nmm02003 avatar nmm02003 commented on September 4, 2024

Hi, I'm having the same problem. Trying to run 64 bit executable (tried both version 8 and 9) on Windows 10 64 bit. Poissonrecon.exe crashes immediately without any error message. I have the redistributable packages installed fpr 2010-2015. Are there any other dependencies?

from poissonrecon.

nmm02003 avatar nmm02003 commented on September 4, 2024

Thank you mkazhdan, that was exactly the issue. Code is running now.

from poissonrecon.

puffosauro avatar puffosauro commented on September 4, 2024

Hi.
Maybe I've found the cause of the problem but I'm not sure how to solve it.
Now I've built PoissonRecon 9.0 with Visual Studio 2015, both Debug and Realease mode. In Debug mode it works without errors, in Release mode crashes at startup. Running under Visual Studio, I get this error:

Illegal Instruction.
PoissonRecon.exe!`dynamic initializer for 'face_props''() Line 241 (Ply.h)

So the problem is in the initialization of this static variable:
static PlyProperty face_props[] =
{
{ _strdup( "vertex_indices" ) , PLY_INT , PLY_INT , offsetof( PlyFace , vertices ) , 1 , PLY_UCHAR, PLY_UCHAR , offsetof(PlyFace,nr_vertices) },
};

in Ply.h line 241.

Googoling for "Illegal Instruction dynamic initializer for" I've found some similar cases.

from poissonrecon.

mloskot avatar mloskot commented on September 4, 2024

Would it be possible to just remove the _strdup?

from poissonrecon.

FlowzZz avatar FlowzZz commented on September 4, 2024

Hi,
I have a similar issue when running in release mode (with last source, VS2015 and no args), the code crash in Octree.inl (line 84). In debug, no problem. I try to set extended architecture support to SSE2, but it does not solve the problem. Is it a known issue?
I am running on Win7 64bits.
Thank you,

from poissonrecon.

mkazhdan avatar mkazhdan commented on September 4, 2024

Sorry for the delayed response. Removing _strdup may work.
Alternatively, you may be able to declare the string "vertex_indices" as a static char* outside of the definition of face_props and then use the pointer in the definition (without having to use _strdup to make a copy).

from poissonrecon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.