Comments (12)
Can you please submit a patch through the pull request system?
from pcl.
Which MSVC is this? We are using %z all over the place so I doubt we can fix this easily. Some information on this: http://stackoverflow.com/questions/174612/cross-platform-format-string-for-variables-of-type-size-t
from pcl.
Ping, @strontium5 - could you reply to @jspricke 's question please? We have been using %zu for quite a while and never heard complaints. You might be using an exotically old version of MSVC.
from pcl.
I'm pretty sure now that %zu is not supported by MSVC.
from pcl.
I confirm that MSVC doesn't support %zu modifier which is part of C99 (MSVC doesn't support C99). A while ago, I've modified several %zu with %lu in PCL sources..
from pcl.
Does %lu have the same behavior with GCC/CLANG? If so, sed to the rescue for changing all PCL lines from one to the other.
from pcl.
Sorry for my late reply, but I was using the MSVC in visual studio 2010
On Tue, Jul 9, 2013 at 11:52 AM, aichim [email protected] wrote:
Ping, @strontium5 https://github.com/strontium5 - could you reply to
@jspricke https://github.com/jspricke 's question please? We have been
using %zu for quite a while and never heard complaints. You might be using
an exotically old version of MSVC.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/146#issuecomment-20684041
.
from pcl.
Is there an action item for this issue? If %zu is not supported by MSVC, then we need a patch/pull request in order to solve it.
from pcl.
Any follow up to this issue?
from pcl.
@bouffa is that an older version of MSVC? I believe newer ones handle it just fine, otherwise we would have heard more bug reports.
from pcl.
Closed due to lack of activity.
from pcl.
Well, I confirm that %zu doesn't work on VS2012. And this is very annoying...
Can someone confirm whether %lu works for other platforms?
from pcl.
Related Issues (20)
- Is the gpu-accelerated VoxelGrid method unavailable in pcl 1.14.0 version? HOT 2
- [compile error] "PointXYZINormal not supported by visualization" HOT 1
- collect2: error: ld returned 1 exit status HOT 3
- error: ‘variate_generator’ is not a member of ‘std’ HOT 2
- error: texture is not a template HOT 2
- [Linker error] "Resolving Linker Errors when Using Custom Point Type with PCL's KdTree" HOT 1
- PCLVisualizer crash HOT 9
- Using PCL in QT Widget HOT 1
- [Cluster_Extraction] Trouble extracting clusters from Zivid pcd file HOT 2
- [request] PCL Concave hull & Convex hull HOT 6
- [SamplingSurfaceNormal]ERROR LNK2001 pcl::SamplingSurfaceNormal<struct pcl::PointXYZ>::applyFilter HOT 5
- [pcl_registration] ICP align broken in Release in new PCL version HOT 8
- [question] Corner detection Algorithm HOT 1
- [FastBilateralFilterOMP] FastBilateralFilterOMP does not support PointXYZI HOT 2
- [custom] error: macro "_mm512_srli_epi32" passed 3 arguments, but takes just 2 HOT 3
- There is a logic error in the code of the computeTransformation function in the gicp.hpp file when calculating the transformation matrix T HOT 5
- [convolution_3d.h] search :: the symbol on the left must be of a type HOT 4
- [visualize normal] Normals are displayed incorrectly HOT 19
- [=]] Provide a general summary of the issue HOT 1
- [custom] chatGPT code on pcl visualization : different behavior between pcl::visualization::PCLVisualizer::Ptr and pcl::visualization::PCLVisualizer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcl.