Comments (4)
I have fixed it.
Try master.
from cupoch.
Looking at the generated shader.h, the file name is wrong.
Can you see a debug print in the following CMakeLists and show me what you get?
https://github.com/neka-nat/cupoch/blob/master/src/cupoch/visualization/CMakeLists.txt
--- a/src/cupoch/visualization/CMakeLists.txt
+++ b/src/cupoch/visualization/CMakeLists.txt
@@ -1,4 +1,5 @@
file(GLOB SHADER_FILES "shader/glsl/*.glsl")
+message("test******************** ${SHADER_FILES}")
add_custom_command(
OUTPUT ${PROJECT_SOURCE_DIR}/src/cupoch/visualization/shader/shader.h
I obtained the following outputs.
test******************** /home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/image_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/image_mask_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/image_mask_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/image_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/normal_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/normal_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/phong_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/phong_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/picking_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/picking_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/rgmdimage_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple2d_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple2d_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple_white_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/simple_white_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/texture_phong_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/texture_phong_vertex_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/texture_simple_fragment_shader.glsl;/home/nekanat/project/cubpoc/src/cupoch/visualization/shader/glsl/texture_simple_vertex_shader.glsl
from cupoch.
-
vim cupoch-master-v0.2.8.1/src/cupoch/visualization/CMakeLists.txt
add code at line 2: message("test******************** ${SHADER_FILES}")
cd build
make -j6 -
I obtained the following outputs.
test******************** /home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/image_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/image_mask_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/image_mask_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/image_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/normal_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/normal_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/phong_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/phong_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/picking_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/picking_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/rgmdimage_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple2d_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple2d_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple_white_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/simple_white_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/texture_phong_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/texture_phong_vertex_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/texture_simple_fragment_shader.glsl;/home/cv_group/tools/cupoch/cupoch-master-v0.2.8.1/src/cupoch/visualization/shader/glsl/texture_simple_vertex_shader.glsl
from cupoch.
Compiled successfully ! Thanks very much !
from cupoch.
Related Issues (20)
- Redefinition problem of 3rd party lib when use Cupoch side by side with Open3D
- Outlier Removal Not working HOT 1
- Poisson's surface reconstruction
- Getting cudaErrorMemoryAllocation out of memory HOT 6
- fastglobalregistration.cu have error HOT 1
- icp TransformationEstimationPointToPlane yields different result compare to open3d
- stdgpu::vector::size : Size out of bounds: -120 not in [0, 17527]. Clamping to 0 HOT 1
- Building SHARED_LIBS and run registration_cuda will crash.
- Implementation of LaserScanBuffer::CreateFromPointCloud(pointcloud_to_laserscan)
- Unable to Read Binary PLY File
- speed performace VS open3d HOT 1
- Error: OS call failed or operation not supported on this OS phong_shader.cu:330 HOT 1
- Check collision between a mesh and a set of points.
- The result of using ClusterDBSCAN() is wrong, it treats each point as a cluster HOT 4
- registration_ransac_based_on_feature_matching
- The result of using DBSCAN is wrong. HOT 1
- How to set point cloud as numpy array HOT 2
- ICP algorithm have CUDA version? HOT 3
- MemoryError cph.initialize_allocator(cph.PoolAllocation, 1000000000) HOT 5
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 cupoch.