cleaning up compile issues with voxelize 992 on Ubuntu

36 views
Skip to first unread message

Gregory Hornby

unread,
Jun 9, 2014, 5:57:55 PM6/9/14
to vox...@googlegroups.com
I recently downloaded the voxelize library and encountered the following issues in building it:

1. There is no Makefile to create a library (.a) file.  NickC gave me a copy of his Makefile for his fork and that helped.

2. Using NickC's Makefile it compiled until it reached the error:
$ Voxelyze/VX_Object.cpp:2112: error: ‘UINT_MAX’ was not declared in this scope
This error was fixed by adding the line:
#include <climits>
I put this on line 22, just after the line, "#include <cstdlib> // ..."


3. My next compile issue was:

In file included from Voxelyze/VX_MeshUtil.cpp:15:
Voxelyze/VXS_SimGLView.h:19:139: error: OpenGLInclude.h: No such file or directory
In file included from Voxelyze/VX_Voxel.h:16,
                 from Voxelyze/VXS_Voxel.h:14,
                 from Voxelyze/VX_Sim.h:14,
                 from Voxelyze/VX_MeshUtil.cpp:14:

To fix this I removed the reference to VXS_SimGLView.h since OpenGL shouldn't be needed in this library.


I'll clean up the Makefiles and share at some point in the future.

Greg




Gregory Hornby

unread,
Jun 10, 2014, 6:35:40 PM6/10/14
to vox...@googlegroups.com
Here's a Makefile I created to compile voxelize into a library along with a brief readme.txt file.
Note: Google groups won't let me upload the former when called just "Makefile", so I've renamed it to "Makefile.txt".  To use it, just rename it back to "Makefile".

Greg
readme.txt
Makefile.txt

Jon

unread,
Jun 11, 2014, 9:51:26 AM6/11/14
to vox...@googlegroups.com

Thanks Greg! I'll integrate these changes into the repo so everyone has easy access.

  J

--
You received this message because you are subscribed to the Google Groups "VoxCad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voxcad+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages