Re: [eigen] compiler error C2516 for EIGEN_WORKAROUND_MSVC_STL_SUPPORT in details.h |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] compiler error C2516 for EIGEN_WORKAROUND_MSVC_STL_SUPPORT in details.h
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Wed, 1 Dec 2010 08:13:56 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=/CSjByMmPImMtCY814BRZsWFBzmBeGCb68biMjW1p0Y=; b=wxb+5izujHFroPGbVEDdvVp/1ZAFcVlDrbS6lAVfg89gvrZ9SYB9kNzDDLFujcJg1S Y6shQkpn/yl4hPTqTcT02gUgYg3CmYpUqKTqdKwg/T3xa6UhkPHZQztkAjtYmRU0/N15 SSTg/BmlGBBdSVxPeU+y/gkCPIcI+SUw+gcFY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=v3YTb9kukU8zsDKb4+56bL2djfz5Qw5E5VYIVuOwUPgo1TvAKN/v8Qqn8FSjeCQFui L+J4nOjrQ10xfzFYZp90ozu9nipBh7gKsjxnjZQGcz6AwnQ89BMM+d56zYyLUIc1jNlH k+5Sl7sDUmApJw+sKQ/BXveIYmSLJbk7EYkfM=
Hi Stefan,
I took a quick look at the PCL but the build CMake files seem to be
pretty much tailored for ROS. As you are not the only one having
problems, I am eager to fix them so the best would be if you just
skype me or give me a call in Garching.
Alternatively, just provide me with a self-contained "int main() {}"
which brings up the problem on VS10 and I will fix it asap!
Cheers,
Hauke
On Wed, Dec 1, 2010 at 2:32 AM, Stefan Holzer <holzers@xxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm trying to port some code (http://www.ros.org/wiki/pcl) from Linux to
> Windows (Win7 x64 with Visual Studio 2010, compiling for 32-bit). This works
> fine except for a compiler error I get in Eigen/src/StlSupport/details.h in
> line 71:
>
> error C2516: 'T' is not a legal base class
>
> which occurs for the vector:
>
> std::vector<float, Eigen::aligned_allocator<float> > values;
>
> According to the comments in this file this piece of code is specially
> written for Visual Studio. Since the code works fine in Linux there might be
> something wrong with this VS-specific code. I also tested it with Visual
> Studio 2008 and it gives the same error.
>
> I would be happy about any suggestions.
>
> Thanks,
> Stefan
>
>
>
>