[osg-users] MSVS2015 3rdparty build

Carl-Gustaf Kung memory_leak at fastmail.fm
Sat Jun 18 07:16:52 PDT 2016


bbjorn wrote:
> 
> memory_leak wrote:
> > Jaaaa :-) and I as well commented on that include defined and possibility that my script maybe messed up includes after I checked it up for the post above, if you read the text you quoted .... It is not important, but I don't think Linux people would use your modified getopt.c build which is intended for sole purpose of windows build, and should probably not use strings.h either since it is an obsolete header predating standard, but that just as curiosa .-)
> > 
> > Anyway thanks for hjälp with your cmakes.
> 
> 
> You're welcome. 
> 
> And just as a side note. The getopt.c is certainly not something that I have written. It is verbatim from:
> https://gist.github.com/ashelly/7776712
> 
> And it is included due to having to include unistd.h.
> 
> Regards
> Björn

Björn ingen är idiot. I know you haven't writen getopt, I am a 20 year+ linux user and programmer I am quite aware where getopt comes from. I didn't insinuate it either :). But your getopt.c and stbool etc are there so you can compile with visualstudio since certain includes are not shipped with ms compiler. So those few files certainlyu wouldn't broke stuff for "linux people" :-). But id does not matter, let's just leave that behind. Cheers.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67679#67679








More information about the osg-users mailing list