pbsproject
pbsproject copied to clipboard
Tinyformat
Hi,
I tried to run your code in Windows but, when I compile the code, tinyformat can't be found. Do you have any idea why?
@cjsb I had the same problem. The reason is: there is no tinyformat.h in ext/tinyformat folder. Just download tinyformat.h from https://github.com/c42f/tinyformat and put it in ext/tinyformat folder.
hi, there are a few git submodules that need to be initialized. you can either clone the repo using
git clone --recursive https://github.com/westlicht/pbsproject.git
or later initialize them using
git submodule update --init --recursive
from within the ext folder.
Great, I added the tinyformat.h and solved the problem. But M_PI is not defined and the compilation went wrong. (thanks @iamyoukou for the extra help)
Do I have to change anything?
@cjsb All I did are:
- Use @westlicht 's way to download the code (not "download as a zip")
- Then I download the tinyformat.h into the ext/tinyformat folder
- Build the code according to the project's guide
and it worked