Git Product home page Git Product logo

luoxuhai / pcl.js Goto Github PK

View Code? Open in Web Editor NEW
441.0 7.0 38.0 56.24 MB

☁️ ⚡ Point Cloud Library (PCL) for browser, powered by WebAssembly.|在浏览器运行的点云库 (PCL),由 WebAssembly 提供支持。

Home Page: https://pcl.js.org

License: MIT License

Shell 0.39% C++ 25.76% CMake 1.09% TypeScript 36.92% JavaScript 5.71% Dockerfile 1.79% MDX 28.33%
pcl pointcloudlibrary webassembly point-cloud wasm javascript emscripten typescript

pcl.js's Introduction

title=

Point Cloud Library (PCL) for browser, powered by WebAssembly.

Tests npm version Bundle Size License: MIT Downloads jsDelivr Rate this package DeepScan

English | 简体中文

Overview

pcl.js is a Point Cloud Library (PCL) that runs in the browser, powered by Emscripten and WebAssembly

The Point Cloud Library (PCL) is a large scale, open project for 2D/3D image and point cloud processing. The PCL framework contains numerous state-of-the art algorithms including filtering, feature estimation, surface reconstruction, registration, model fitting and segmentation. PCL has its own data format for storing point clouds - PCD (Point Cloud Data), but also allows datasets to be loaded and saved in many other formats.

A point cloud is a set of data points in space. The points may represent a 3D shape or object. Each point position has its set of Cartesian coordinates (X, Y, Z). Point clouds are generally produced by Lidar(light detection and ranging) or by photogrammetry software, which measure many points on the external surfaces of objects around them.

Featured Demos

See all demos

Features

  • 💌 Provides an API similar to PCL(C++), easy to use
  • 🌍 Supports all modern browsers and Node.js 14+
  • 💪 Written in TypeScript, with predictable static typing
  • 🚀 And many, many more!

Resources

Environment Support

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Node.js
Node.js
16+ 52+ 57+ 11+ 44+ 14+

Bundle Size

pcl.js version: latest

Source Link Size
pcl.js https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl.js ~36k gzip’d
pcl-core.wasm https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl-core.wasm ~553k gzip’d

Installation

NPM

# NPM
npm install pcl.js

# Yarn
yarn add pcl.js

CDN

<!-- Development -->
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl.js"><script>

<!-- Production -->
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl.min.js"><script>

Usage

NPM

Browser

import * as PCL from 'pcl.js';

async function main() {
  // Initialization
  await PCL.init({
    /**
     * Recommend, optional configuration, custom WebAssembly file link.
     * @default js file dir + pcl-core.wasm
     */
    url: 'https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl-core.wasm',
    // You can also pass an ArrayBuffer of WebAssembly files.
    // arrayBuffer: ArrayBuffer
  });

  // ...
}

main();

Node.js

const PCL = require("pcl.js");

async function main() {
  // Initialization
  await PCL.init();
  // ...
}

main();

CDN

<script>
async function main() {
  // Initialization, PCL is a global object.
  await PCL.init();
  // ...
}

main();
</script>

Basic Usage Example

// TypeScript

import * as PCL from 'pcl.js';

async function main() {
  await PCL.init({
    url: 'https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl-core.wasm',
  });

  // Get PCD file
  const data = await fetch('https://cdn.jsdelivr.net/gh/luoxuhai/pcl.js@master/data/rops_tutorial/points.pcd').then(res => res.arrayBuffer());
  // Load PCD file data, return point cloud object
  const cloud = PCL.loadPCDData<PCL.PointXYZ>(data, PCL.PointXYZ);

  // Filtering a PointCloud using a PassThrough filter
  // See: https://pcl.readthedocs.io/projects/tutorials/en/master/passthrough.html#passthrough
  const pass = new PCL.PassThrough<PCL.PointXYZ>(PCL.PointXYZ);
  pass.setInputCloud(cloud);
  pass.setFilterFieldName('z');
  pass.setFilterLimits(0.0, 1.0);
  const cloudFiltered = pass.filter();

  // Save filtered point cloud objects as PCD files, the content is ArrayBuffer
  const cloudFilteredData = PCL.savePCDDataASCII(cloudFiltered);
}

main();

Changelog

The changelog is regularly updated to reflect what's changed in each new release.

Roadmap

Checkout the full roadmap here.

Online Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Contributing

pcl.js has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to pcl.js!

Contributors

License

This project is licensed under the terms of the MIT license.

Star History Chart

pcl.js's People

Contributors

dependabot[bot] avatar leaderqaq avatar lengoanhcat avatar luoxuhai avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcl.js's Issues

Support for Sample Consensus

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

/

Current Behavior

Hi guys, I was not sure where to ask this question so please remove from issues if there is a better forum to discuss

First this is a great project and I hope it gets some traction.

It does a lot of what I would like to do in a project but I don't see any support for Sample Consensus. Namely I would like to fit planes, spheres etc.. to pointclouds in a web browser.

Are there plans to support this in the future?

Thanks

JT

Expected Behavior

/

Steps To Reproduce

/

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

/

Anything else?

/

Added RegionGrowing api and passed all the test cases, but failed to run it in browser | 增加了RegionGrowing的扩展,也通过了测试用例,但是浏览器里跑不起来

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

extension based on 1.16.0

Current Behavior

When running in browser, all the class we added are not loaded into the PCLCore.
跑在浏览器的时候,暴露出来的一系列类都没加载到PCLCore里面。

image

Expected Behavior

PCLCore should look like the following(pcl.js v1.16.0)
image

Steps To Reproduce

check my code here
diffs
Just build it and use the new-built pcl-core.wasm and pcl.js

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

开发流程请教

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.15.0

Current Behavior

我在~/pcl.js/src路径下和~/pcl.js/test路径下执行,出现下列错误,如何解决。因为个人对前端开发完全不了解,pcl.js开发能否补充一个详细的教程。目前环境已经配置好了。
(base) anyi@anyi-ThinkStation-P720:~/pcl.js/src$ npm run test

[email protected] test /home/anyi/pcl.js
jest

FAIL tests/segmentation/MinCutSegmentation.test.ts
● Test suite failed to run

tests/setup-tests.ts:8:8 - error TS2339: Property 'ROOT_DIR' does not exist on type 'Global & typeof globalThis'.

8 global.ROOT_DIR = process.env.PWD;
         ~~~~~~~~

FAIL tests/search/SearchKdTree.test.ts
● Test suite failed to run

tests/setup-tests.ts:8:8 - error TS2339: Property 'ROOT_DIR' does not exist on type 'Global & typeof globalThis'.

8 global.ROOT_DIR = process.env.PWD;
         ~~~~~~~~

FAIL tests/filters/VoxelGrid.test.ts
● Test suite failed to run

tests/setup-tests.ts:8:8 - error TS2339: Property 'ROOT_DIR' does not exist on type 'Global & typeof globalThis'.

8 global.ROOT_DIR = process.env.PWD;
         ~~~~~~~~

FAIL tests/filters/PassThrough.test.ts
● Test suite failed to run

tests/setup-tests.ts:8:8 - error TS2339: Property 'ROOT_DIR' does not exist on type 'Global & typeof globalThis'.

8 global.ROOT_DIR = process.env.PWD;
         ~~~~~~~~

Expected Behavior

as expected

Steps To Reproduce

none

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

none

[Question] Contribution Guideline

Hi Luoxuhai,

I would like to actively contribute into this pcl.js repo. Is there any contribution guideline which I should follow ? Btw, I don't know how to read Chinese texts.

Regards,

Cat Le

Uncaught (in promise) TypeError: Cannot read property 'refcount' of undefined

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.6.0

Current Behavior

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'refcount')
    at __emval_decref (pcl.esm.js:4070:51)
    at pcl-core.wasm:0x62e02
    at callRuntimeCallbacks (pcl.esm.js:456:26)
    at initRuntime (pcl.esm.js:310:7)
    at doRun (pcl.esm.js:5261:9)
    at run (pcl.esm.js:5266:9)
    at runCaller (pcl.esm.js:5245:24)
    at removeRunDependency (pcl.esm.js:332:11)
    at receiveInstance (pcl.esm.js:408:9)
    at receiveInstantiationResult (pcl.esm.js:412:9)

Expected Behavior

No response

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

https://codesandbox.io/s/kl2zjs

Anything else?

No response

PointCloudViewer.setSize method causes the point cloud to be invisible

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.6.0

Current Behavior

image

Expected Behavior

image

Steps To Reproduce

window.addEventListener("resize", () => {
  viewer.setSize(window.innerWidth, window.innerHeight);
});

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Uncaught ReferenceError: OrbitControls is not defined

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.13.0

Current Behavior

image

Expected Behavior

No response

Steps To Reproduce

<script src="https://cdn.jsdelivr.net/npm/three/build/three.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three/examples/js/loaders/PCDLoader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/visualization/PointCloudViewer.js"></script>

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

points.get(i): Uncaught (in promise) 12780552

Expected Behavior

Current Behavior

image

Possible Solution

Steps to Reproduce

for (let i = 0; i < cloud.points.size(); i++) {
  const point = cloud.points.get(i);
}

Environment

  • pcl.js version: 1.3.0
  • Browser & Version: e.g. Chrome 67
  • OS & Version: e.g. Ubuntu 18.04
  • Running Example: url

TypeError: points.size is not a function at PointCloudViewer.addPointCloud

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.7.0

Current Behavior

image

Expected Behavior

No response

Steps To Reproduce

pointCloudViewer.addPointCloud(input);

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

`setSize` method of `PointCloudViewer` does not scale correctly

Expected Behavior

image

Current Behavior

image

Possible Solution

Steps to Reproduce

window.addEventListener("resize", () => {
    viewer.setSize(window.innerWidth, window.innerHeight);
});

Environment

  • pcl.js version: 1.4.0
  • Browser & Version: e.g. Chrome 67
  • OS & Version: e.g. Ubuntu 18.04
  • Running Example: url

FAIL tests/VoxelGrid.test.ts

Expected Behavior

PASS tests/VoxelGrid.test.ts

Current Behavior

FAIL  tests/VoxelGrid.test.ts
  VoxelGrid
    ✕ should downsampling a PointCloud using a VoxelGrid filter (25 ms)

  ● VoxelGrid › should downsampling a PointCloud using a VoxelGrid filter

    ReferenceError: performance is not defined

      41 | function(PCLCore) {

Possible Solution

Steps to Reproduce

  1. Pull commit 7239f91 (origin/master)
  2. npm run build
  3. npm run test

Environment

  • pcl.js version: 1.2.0
  • Browser & Version: e.g. Chrome 67
  • OS & Version: devcontainer
  • Running Example: url

Cannot find module 'pcl.js' or its corresponding type declarations.ts(2307)

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

1.16.0

Current Behavior

use pcl.js in vite=4.3.9 & react=18.2.0 & typescript=4.7.4 project

import * as pcl from 'pcl.js';

error: Cannot find module 'pcl.js' or its corresponding type declarations

Expected Behavior

No response

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Errors in building pcl-core.wasm

Steps taken:

  • Run devcontainer.json on Visual Studio Code
  • Run a build script source ./scripts/build.sh
    Below are errors:
/workspaces/pcl.js
./scripts/build.sh: line 15: [: ==: unary operator expected
configure: cmake -DCMAKE_BUILD_TYPE=Debug -DPCL_ROOT=/workspace/pcl.js/core/pcl .. -DCMAKE_TOOLCHAIN_FILE=/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/emsdk/node/14.18.2_64bit/bin/node;--experimental-wasm-threads
-- /workspaces/pcl.js/src/bind/common.cpp
-- /workspaces/pcl.js/src/bind/embind.cpp
-- /workspaces/pcl.js/src/bind/filters.cpp
-- /workspaces/pcl.js/src/bind/io.cpp
-- /workspaces/pcl.js/src/bind/kdtree.cpp
-- /workspaces/pcl.js/src/bind/keypoints.cpp
-- /workspaces/pcl.js/src/bind/octree.cpp
-- /workspaces/pcl.js/src/bind/point_types.cpp
-- /workspaces/pcl.js/src/bind/registration.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /workspaces/pcl.js/src/bind/build
make: make -j
[ 10%] Building CXX object CMakeFiles/pcl-core.dir/common.cpp.o
[ 30%] Building CXX object CMakeFiles/pcl-core.dir/io.cpp.o
[ 30%] Building CXX object CMakeFiles/pcl-core.dir/embind.cpp.o
[ 40%] Building CXX object CMakeFiles/pcl-core.dir/filters.cpp.o
[ 60%] Building CXX object CMakeFiles/pcl-core.dir/keypoints.cpp.o
[ 60%] Building CXX object CMakeFiles/pcl-core.dir/kdtree.cpp.o
[ 70%] Building CXX object CMakeFiles/pcl-core.dir/octree.cpp.o
[ 80%] Building CXX object CMakeFiles/pcl-core.dir/point_types.cpp.o
[ 90%] Building CXX object CMakeFiles/pcl-core.dir/registration.cpp.o
/workspaces/pcl.js/src/bind/common.cpp:1:10: fatal error: 'pcl/io/pcd_io.h' file not found
#include <pcl/io/pcd_io.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=17 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/workspace/pcl.js/core/pcl/build/include/pcl-1.12 -I/workspace/pcl.js/core/pcl/wasm/deps/boost/build/include -I/workspace/pcl.js/core/pcl/wasm/deps/eigen -I/workspace/pcl.js/core/pcl/wasm/deps/flann/build/include -g3 -std=gnu++14 -MD -MT CMakeFiles/pcl-core.dir/common.cpp.o -MF CMakeFiles/pcl-core.dir/common.cpp.o.d -c /workspaces/pcl.js/src/bind/common.cpp -o CMakeFiles/pcl-core.dir/common.cpp.o' failed (returned 1)
make[2]: *** [CMakeFiles/pcl-core.dir/build.make:77: CMakeFiles/pcl-core.dir/common.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/workspaces/pcl.js/src/bind/registration.cpp:2:10: fatal error: 'pcl/point_types.h' file not found
#include <pcl/point_types.h>
         ^~~~~~~~~~~~~~~~~~~
/workspaces/pcl.js/src/bind/filters.cpp:2:10: fatal error: 'pcl/point_types.h' file not found
#include <pcl/point_types.h>
         ^~~~~~~~~~~~~~~~~~~
/workspaces/pcl.js/src/bind/point_types.cpp:2:10: fatal error: 'pcl/point_types.h' file not found
#include <pcl/point_types.h>
         ^~~~~~~~~~~~~~~~~~~
/workspaces/pcl.js/src/bind/io.cpp:2:10: fatal error: 'pcl/io/pcd_io.h' file not found
#include <pcl/io/pcd_io.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=17 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/workspace/pcl.js/core/pcl/build/include/pcl-1.12 -I/workspace/pcl.js/core/pcl/wasm/deps/boost/build/include -I/workspace/pcl.js/core/pcl/wasm/deps/eigen -I/workspace/pcl.js/core/pcl/wasm/deps/flann/build/include -g3 -std=gnu++14 -MD -MT CMakeFiles/pcl-core.dir/registration.cpp.o -MF CMakeFiles/pcl-core.dir/registration.cpp.o.d -c /workspaces/pcl.js/src/bind/registration.cpp -o CMakeFiles/pcl-core.dir/registration.cpp.o' failed (returned 1)
1 error generated.
1 error generated.
1 error generated.
em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=17 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/workspace/pcl.js/core/pcl/build/include/pcl-1.12 -I/workspace/pcl.js/core/pcl/wasm/deps/boost/build/include -I/workspace/pcl.js/core/pcl/wasm/deps/eigen -I/workspace/pcl.js/core/pcl/wasm/deps/flann/build/include -g3 -std=gnu++14 -MD -MT CMakeFiles/pcl-core.dir/filters.cpp.o -MF CMakeFiles/pcl-core.dir/filters.cpp.o.d -c /workspaces/pcl.js/src/bind/filters.cpp -o CMakeFiles/pcl-core.dir/filters.cpp.o' failed (returned 1)
em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=17 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/workspace/pcl.js/core/pcl/build/include/pcl-1.12 -I/workspace/pcl.js/core/pcl/wasm/deps/boost/build/include -I/workspace/pcl.js/core/pcl/wasm/deps/eigen -I/workspace/pcl.js/core/pcl/wasm/deps/flann/build/include -g3 -std=gnu++14 -MD -MT CMakeFiles/pcl-core.dir/point_types.cpp.o -MF CMakeFiles/pcl-core.dir/point_types.cpp.o.d -c /workspaces/pcl.js/src/bind/point_types.cpp -o CMakeFiles/pcl-core.dir/point_types.cpp.o' failed (returned 1)
make[2]: *** [CMakeFiles/pcl-core.dir/build.make:197: CMakeFiles/pcl-core.dir/registration.cpp.o] Error 1
em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=17 -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/workspace/pcl.js/core/pcl/build/include/pcl-1.12 -I/workspace/pcl.js/core/pcl/wasm/deps/boost/build/include -I/workspace/pcl.js/core/pcl/wasm/deps/eigen -I/workspace/pcl.js/core/pcl/wasm/deps/flann/build/include -g3 -std=gnu++14 -MD -MT CMakeFiles/pcl-core.dir/io.cpp.o -MF CMakeFiles/pcl-core.dir/io.cpp.o.d -c /workspaces/pcl.js/src/bind/io.cpp -o CMakeFiles/pcl-core.dir/io.cpp.o' failed (returned 1)
make[2]: *** [CMakeFiles/pcl-core.dir/build.make:107: CMakeFiles/pcl-core.dir/filters.cpp.o] Error 1
make[2]: *** [CMakeFiles/pcl-core.dir/build.make:122: CMakeFiles/pcl-core.dir/io.cpp.o] Error 1
make[2]: *** [CMakeFiles/pcl-core.dir/build.make:182: CMakeFiles/pcl-core.dir/point_types.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pcl-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
emmake: error: 'make -j' failed (returned 2)
cp: cannot stat 'pcl-core.wasm': No such file or directory

Expectation:

Build pcl-core.wasm successfully

Potential solutions:

set -DINCLUDE_DIRECTORIES

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.