Different Sizing Field for Different Subdomains

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

Different Sizing Field for Different Subdomains

Shrabani Ghosh
Hi,

I am trying to compile this program.

https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_3D_image_variable_size_8cpp-example.html

But I am getting this error.

[ 50%] Building CXX object
CMakeFiles/executable.dir/skin_surface_subdiv.cpp.o
[100%] Linking CXX executable executable
CMakeFiles/executable.dir/skin_surface_subdiv.cpp.o: In function
`CGAL::Image_3::read(char const*)':
skin_surface_subdiv.cpp:(.text._ZN4CGAL7Image_34readEPKc[_ZN4CGAL7Image_34readEPKc]+0x18):
undefined reference to `_readImage(char const*)'
skin_surface_subdiv.cpp:(.text._ZN4CGAL7Image_34readEPKc[_ZN4CGAL7Image_34readEPKc]+0x2a):
undefined reference to `CGAL::Image_3::private_read(point_image*)'
collect2: error: ld returned 1 exit status
CMakeFiles/executable.dir/build.make:98: recipe for target 'executable'
failed
make[2]: *** [executable] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/executable.dir/all'
failed
make[1]: *** [CMakeFiles/executable.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
 
And in this program, the output file format is .mesh . I am using Meshlab,
but I am not able to open this file. Which software should I use to open
this file?






--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Different Sizing Field for Different Subdomains

Sebastien Loriot (GeometryFactory)
I think you need to link with libCGAL_ImageIO.

Best,

Sebastien.

On 8/27/19 8:32 PM, Shrabani Ghosh wrote:

> Hi,
>
> I am trying to compile this program.
>
> https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_3D_image_variable_size_8cpp-example.html
>
> But I am getting this error.
>
> [ 50%] Building CXX object
> CMakeFiles/executable.dir/skin_surface_subdiv.cpp.o
> [100%] Linking CXX executable executable
> CMakeFiles/executable.dir/skin_surface_subdiv.cpp.o: In function
> `CGAL::Image_3::read(char const*)':
> skin_surface_subdiv.cpp:(.text._ZN4CGAL7Image_34readEPKc[_ZN4CGAL7Image_34readEPKc]+0x18):
> undefined reference to `_readImage(char const*)'
> skin_surface_subdiv.cpp:(.text._ZN4CGAL7Image_34readEPKc[_ZN4CGAL7Image_34readEPKc]+0x2a):
> undefined reference to `CGAL::Image_3::private_read(point_image*)'
> collect2: error: ld returned 1 exit status
> CMakeFiles/executable.dir/build.make:98: recipe for target 'executable'
> failed
> make[2]: *** [executable] Error 1
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/executable.dir/all'
> failed
> make[1]: *** [CMakeFiles/executable.dir/all] Error 2
> Makefile:94: recipe for target 'all' failed
> make: *** [all] Error 2
>  
> And in this program, the output file format is .mesh . I am using Meshlab,
> but I am not able to open this file. Which software should I use to open
> this file?
>
>
>
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Different Sizing Field for Different Subdomains

Shrabani Ghosh
Thank You. I was able to fix that. But I am facing a problem how to view the
output in  .mesh file format.
Because  I was able to open .off file format using  meshlab. Is there any
way to convert into .off file format or is there software to view the .mesh
file format?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss