PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

david.a.p.
This post was updated on .
I recently installed the PCL from source with the prebuild binaries.
The Installation was successfull. There were 2 files which failed, but i couln't find them in the build log.

Anyway, i just wanted to try an example Code and included two headers in an empty cpp File

"pcl\io\openni_grabber.h"
"pcl\visualization\cloud_viewer.h"

After setting the correct additional include directories in Visual C++ 2010 Express, VS finds the openni_grabber.h, but i also geht the following error Message:

C:\Program Files\PCL\include\pcl-1.6\pcl\io\openni_grabber.h(44): fatal error C1083: Cannot open include file: 'Eigen/Core': No such file or directory

I followed exactly the installation instructions as listed in the Windows tutorial.
And CMake found all of the Dependencies.

Any guesses where the error may come from? :/
Reply | Threaded
Open this post in threaded view
|

Re: PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

david.a.p.
This post was updated on .
I installed the prebuild Binaries into "C:\includes\" and added "C:\includes\Eigen\include\" to the additional include directories in VS.

Now VS can't find "boost/signals2.hpp"...

Do i have to add the include and bin Paths of all required dependencies in every Project?
I thought the compiled and build PCL would do that for me? :/
Reply | Threaded
Open this post in threaded view
|

Re: PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

david.a.p.
In reply to this post by david.a.p.
I've now added all of these to the additional include directories:
C:\includes\VTK\lib;
C:\includes\VTK\bin;
C:\includes\VTK\include\vtk-5.8;
C:\OpenNI\Lib;C:\OpenNI\Bin;
C:\OpenNI\Include;
C:\includes\Boost\lib;
C:\includes\Boost\include;
C:\includes\Eigen\bin;
C:\includes\Eigen\include\;
C:\Program Files\PCL\lib;
C:\Program Files\PCL\bin;
C:\Program Files\PCL\include\pcl-1.6;

And now VS tells me:
LINK : fatal error LNK1104: cannot open file 'pcl.lib'

:/
Reply | Threaded
Open this post in threaded view
|

Re: PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

Radu B Rusu
Administrator
David,

Did you follow our tutorials for compiling and using PCL in Windows?

Cheers,
Radu.

On 06/18/2012 11:26 AM, david.a.p. wrote:

> I've now added all of these to the additional include directories:
> C:\includes\VTK\lib;
> C:\includes\VTK\bin;
> C:\includes\VTK\include\vtk-5.8;
> C:\OpenNI\Lib;C:\OpenNI\Bin;
> C:\OpenNI\Include;
> C:\includes\Boost\lib;
> C:\includes\Boost\include;
> C:\includes\Eigen\bin;
> C:\includes\Eigen\include\;
> C:\Program Files\PCL\lib;
> C:\Program Files\PCL\bin;
> C:\Program Files\PCL\include\pcl-1.6;
>
> And now VS tells me:
> LINK : fatal error LNK1104: cannot open file 'pcl.lib'
>
> :/
>
> --
> View this message in context: http://www.pcl-users.org/PCL-Installation-Successfull-however-Visual-C-2010-Express-can-t-find-Eigen-tp4019405p4019407.html
> Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

david.a.p.
This post was updated on .
Now i tried the example build from
http://pointclouds.org/documentation/tutorials/using_pcl_pcl_config.php#using-pcl-pcl-config

and it works. Only problem is that cmake could not find openni and gave me the following warning
Could NOT find openni (missing: OPENNI_LIBRARY)
** WARNING ** io features related to openni will be disabled

There was no problem finding the openni includepath and library while building PCL :/.


Also, now i have 6 Folders and 13 Files where there should be just maybe 2 Folders and 3-4 Files.
This seems to me like it's not the most cleanest approach :/.
I worked alot with Qt and the Qt Projects were so tiny and tidy.

Is there a way to create smaller Projects, without the VS Solution?
Or do i have to stick with it that way?! :/


And, thank you for your effort! :)
Reply | Threaded
Open this post in threaded view
|

Re: PCL Installation Successfull, however Visual C++ 2010 Express can't find Eigen

Radu B Rusu
Administrator
David,

I'm not a Windows developer, but as far as I know the recommended way is to use the CMake generated VS project
solutions. There might be ways in which you can create them manually but I believe other VS developers will strongly
advice against that, especially if you plan to be upgrading to newer versions of PCL in the future.

Cheers,
Radu.

On 06/19/2012 12:56 AM, david.a.p. wrote:

> Now i tried the example build from
> http://pointclouds.org/documentation/tutorials/using_pcl_pcl_config.php#using-pcl-pcl-config
>
> and it works. Only problem is that cmake could not find openni and gave me
> the following warning
> Could NOT find openni (missing: OPENNI_LIBRARY)
> ** WARNING ** io features related to openni will be disabled
>
> There was no problem finding the openni includepath and library while
> building PCL :/.
>
>
> Also, now i have 6 Folders and 13 Files where there should be just maybe 2
> Folders and 3-4 Files.
> This seems to me like it's not the most cleanest approach :/.
> I worked alot with Qt and the Qt Projects were so tiny and tidy.
>
> Is there a way to create smaller Projects, without the VS Solution?
> Or do i have to stick with that way?! :/
>
> --
> View this message in context: http://www.pcl-users.org/PCL-Installation-Successfull-however-Visual-C-2010-Express-can-t-find-Eigen-tp4019405p4019428.html
> Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users