Here is the code:
<?xml version="1.0"?>
<!-- This URDF was automatically created by SolidWorks to URDF Exporter! Originally created by Stephen Brawner (brawner@gmail.com)
Commit Version: 1.5.1-0-g916b5db Build Version: 1.5.7152.31018
For more information, please see http://wiki.ros.org/sw_urdf_exporter -->
<robot
name="support">
<link
name="support">
<inertial>
<origin
xyz="1.8474E-17 -1.74959999999683E-07 0.0051827"
rpy="0 0 0" />
<mass
value="0.069915" />
<inertia
ixx="3.6479E-05"
ixy="-9.2155E-21"
ixz="-1.5378E-20"
iyy="0.00011166"
iyz="-2.24059999998037E-10"
izz="0.00014372" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="1.5707963267949 0 0" />
<geometry>
<mesh
filename="package://support/meshes/support.STL" />
</geometry>
<material
name="PLA">
<color
rgba="0.79216 0.81961 0.93333 1" />
<texture
filename="package://support/textures/" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="1.5707963267949 0 0" />
<geometry>
<mesh
filename="package://support/meshes/support.STL" />
</geometry>
</collision>
</link>
<klampt package_root="../.." use_vis_geom="1" >
</robot>
Here is the result from GDB:
Thanks for the reply!
(base) motion@motion:~/Klampt/bin$ gdb ./RobotTest ../../Documents/support/urdf/support.urdf
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./RobotTest...(no debugging symbols found)...done.
"/home/motion/Klampt/bin/../../Documents/support/urdf/support.urdf" is not a core dump: File format not recognized