Teamcenter 13 ITK 在SUSE linux 12 编译
1、安装部署Teamcenter13 服务器(DB、TC Foundation、J2EE 服务端)或应用层服务(TC Foundation、J2EE 服务端)、Sample样例程序,具备支持ITK编译和运行条件。
2、编写编译脚本。
echo "Start compile itk sign"
export TC_ROOT=/usr/Siemens/Teamcenter13
echo $TC_ROOT
export TC_INCLUDE=/usr/Siemens/Teamcenter13/include
echo $TC_INCLUDE
#export TC_INCLUDE=/usr/Siemens/Teamcenter13/include/tccore
#echo $TC_INCLUDE
export TC_LIBRARY=/usr/Siemens/Teamcenter13/lib
echo $TC_LIBRARY
export TC_DATA=/usr/Siemens/tcdata
echo $TC_DATA
export LIBPATH=/usr/Siemens/Teamcenter13/lib
TC_USER_LIB=${TC_LIBRARY};export TC_USER_LIB
/usr/Siemens/tcdata/tc_profilevars
echo "执行的文件名:$0";
# check argumenst 1 is null?
inputPathName=$1;
if [ -z $inputPathName ]; then
echo "arguments error !"
inputPathName=$(cd "$(dirname "$0")";pwd);
else
echo "arguments $inputPathName !"
fi
#check path
if [ ! -d "$inputPathName" ];then
echo "[ $inputPathName ] Path does not exits !";
#--get current path
inputPathName=$(cd "$(dirname "$0")";pwd);
fi
folder=$inputPathName;
echo "current Path:$folder"
echo get all file
fileList=$(ls $folder/*.c)
echo ${fileList}
for fileList in ${fileList}
do
echo -e "**********"
echo -e "compile fileName ${fileList}"
#/usr/Siemens/Teamcenter13/sample/compile ${fileList}
echo -e "********"
done
#compile .c files
$TC_ROOT/sample/compile *.c
if [ -f"/usr/Siemens/Teamcenter13/lib/libZL13.so" ]; then
rm -rf "/usr/Siemens/Teamcenter13/lib/libZL13.so"
fi
$TC_ROOT/sample/link_custom_exits libZL13
3、运行脚本:
4、运行验证
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET10 - 预览版1新功能体验(一)