yuki-koyama / elasty

A research-oriented elastic body simulator
MIT License
363 stars 29 forks source link

Fix compile error. #3

Closed 0x0c closed 5 years ago

0x0c commented 5 years ago

I fix the issue that 'tiny_obj_loader.h' not found when -DELASTY_EXAMPLES is disabled. This issue is reproduced on an environment as follows.

- Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
- Apple LLVM version 10.0.1 (clang-1001.0.46.4)
- Target: x86_64-apple-darwin18.5.0
- Thread model: posix
- InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
- cmake version 3.14.3

Also I added .gitignore for linux, macos, windows and Xcode for cmake -G Xcode.

yuki-koyama commented 5 years ago

Thanks for this useful PR!!!