- This topic has 2 replies, 3 voices, and was last updated 9 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Macro definition of snprintf conflicts
Just checking if others are having problems building a fresh checkout from github with VS2015.
This thread http://stackoverflow.com/questions/27754492/vs-2015-compiling-cocos2d-x-3-3-error-fatal-error-c1189-error-macro-definiti
explains the issue with VS2015 well.
So far I found this declaration in ftlm/type.cpp in FlowVR and framework\sofa\helper\system\config.h. I commented and I am proceeding though I expect further problems downstream.
I wonder how the nightly builds are working. Does it get tested for each build config?
BTW , I have skirted around using Sofa for a while. I always seem to find myself in trouble building the thing. I muscle thru and eventually it works. However I think it would put off a lot of people.
However not many people seem to be asking build related questions, so it could just be me.
Anyone with a view on the snprintf thing?
Best
Sourav
Hello Sourav,
Few developers work under Windows, and I don’t know if any of them works with
VS2015, so you might be off the beaten track, and it is not surprising that you
have compiler-specific issues.
It seems we have to check the version of MSVC before defining the snprintf
macro, I’ll take care of this.
As for automatic builds, Sofa is built continuously on Linux, OS X, and
Windows. However, on Windows we only have VS2012 setups.
Sorry to hear that you have trouble building Sofa. (Again, few Windows devs
means more compilation issues). Don’t hesitate to report problems, or even
suggest fixes, that would be awesome.
Thanks,
Marc
Hi Sourav,
Just keeping you informed and setting this topic “Solved”.
A lot of work has been done in SOFA since your question, including solving this snprintf problem.
VS2015 is not yet a automatically tested setup but some guys are working on it.
Keep an eye on the dashboard 😉
https://www.sofa-framework.org/dash
Regards,
Guillaume.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.