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

PCL Extern cannot be found #11

Open
petrasvestartas opened this issue Dec 4, 2019 · 11 comments
Open

PCL Extern cannot be found #11

petrasvestartas opened this issue Dec 4, 2019 · 11 comments

Comments

@petrasvestartas
Copy link

Hi,

I just pulled Nuget package to Visual Studio 2017 .NET framework.
I am trying to test segmentation example, with either Release and Debug 64 bit version, but I get error when running the app:

Why it cannot find the .dll?

Question1
Question2
Question3

@matangpanchal
Copy link

Dear Sir,
Thank you for making this wrapper, its going to be very usefull to me but unfortunately I am having a Same issue when Selecting 64 bit version and If I go for Any CPU or x86 Target, I get following Error:

Could not load file or assembly 'PclSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

So I request you to please provide some step by step instructions to get this This wrapper work with .net environment we have.

@nicolacovallerodisys
Copy link
Contributor

HI all, any update regarding this issue? I have the same problem.

@sandris-b
Copy link

I have the same issue, will you fix this?

@nicolacovallerodisys
Copy link
Contributor

Hi, you can review the PR #15 in the master branch, it should be fixed, but maybe the nuget package is not updated so you might need to compile it by yourself.

If it doesn't work you can try to install c++ 2010 redistributable package.

@Lanch97
Copy link

Lanch97 commented Jun 15, 2020

Using the Dependency.Many DLL files were found missing on my system, including "API-Ms-win-core-Apiquery-L1 1-0".And "API - Ms - win - core - Fibers - L2-1-1. DLL".It's about 80 +not found
What should I do

@nicolacovallerodisys
Copy link
Contributor

Lanch 97, that is normal, DependencyWalker is not updated and it always returns that some APIs dlls are not found. You should try to pull this repo, install PCL with VTK and OPENNI2 and compile everything by youserlf.

@myamich
Copy link

myamich commented Apr 18, 2021

Hi, I had the same problem as petrasvestartas (System.DllNotFoundException: 'PclSharp.Extern.dll'), so I pulled the source code and have tried to compile the solution. Unfortunately, I have a list of errors like: "Error C1083 Cannot open include file: 'pcl\io\pcd_io.h': No such file or directory" (for PclSharp.Extern, PclSharp.ExternVis projects) and I have no clue how to fix it.
Any suggestions? Thank you in advance for any tips.

I'm using: VS2017

image

@nicolacovallerodisys
Copy link
Contributor

Hi @myamich , since this is PCLWrapper, if you compile it you need it PCL installed in your system too. After that you should also configure the project in order to link correctly to the PCL libraries.

@myamich
Copy link

myamich commented Apr 19, 2021

Hi @myamich , since this is PCLWrapper, if you compile it you need it PCL installed in your system too. After that you should also configure the project in order to link correctly to the PCL libraries.

Thank you for your comment! It works now. :)

@sesenlik
Copy link

Hi @nicolacovallerodisys @myamich , can you provide guidance on how to link to the PCL libraries? I've pulled the latest PCLSharp repo and installed the PCL with its dependencies.

@whogoesthere
Copy link

Would really like to use this library but it still comes up with the
Unable to load DLL 'PclSharp.Extern': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I've tried everything I can think of to fix this problem but its a series of endless rabbit holes. Does anyone have a definite fix that doesn't involve recompilation of source code etc?

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

No branches or pull requests

8 participants