You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

ArtoolKit编译后示例项目源码位置咨询:无法找到可修改代码

Troubleshooting Missing ARToolKit Sample Source Code on Ubuntu

Hey there! I’ve dealt with this exact head-scratcher when working with ARToolKit on Ubuntu, so let me walk you through the most likely places to find those sample source files:

  • Check the samples directory in your ARToolKit root folder
    ARToolKit almost always stores its example project sources in a top-level samples (or sometimes examples) directory, right alongside the bin and lib folders you’re already seeing. Each subfolder here (like simpleLite, simpleTest, or multiMarker) corresponds directly to an executable in your bin folder—you’ll find .c/.cpp files, makefiles, and resource files inside these subdirectories.

  • Search for source files via terminal
    If you’re still coming up empty, open a terminal in your ARToolKit root directory and run this command to hunt down all C/C++ source files:

    find . -name "*.c" -o -name "*.cpp"
    

    Look for filenames that match the executables in your bin folder (e.g., if you have simpleLite in bin, look for simpleLite.c in the results). This will point you straight to the source’s location, even if it’s tucked away in a less obvious subdirectory like src/examples.

  • Double-check your download package
    Since you grabbed the kit from the "Software y Extras" link, make sure you didn’t accidentally download a pre-built binary package that only includes compiled samples (without source). But since you ran ./Configure and make successfully, you almost certainly have a full source package—so this is a last-resort check.

Once you locate the source files, you can modify them, re-run make from the ARToolKit root, and your updated executables will be rebuilt in the bin folder automatically.

内容的提问来源于stack exchange,提问作者coolest

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 08:04:33