========== Rebuild All: 20 succeeded, 0 failed, 4 skipped ==========

successful 1.4.1 build in VC2008 IDE. 2013 still downloading but i might not need it
I had to manually add the path to NASM, it stopped complaining then. So in XP that was right-click My Computer -> Properties -> Advanced -> Environment Variables, and add your nasm path to both User and System PATH, and restart Visual Studio. Make sure CMAKE is there also! but it probably already is. Just need to add nasm so it can create the .obj's
Ok so basically it seems if we use the MSVCRT.LIB from Visual Studio 2005 or later we have to link against msvcr80/90/100 instead of msvcrt... so if we just use an older msvcrt.lib like the one from Visual Studio 6, or even better the one from Purebasic which is still old (intentionally - for these reasons!) but more recent, then we're linking against msvcrt.dll. (no hex-edit patching required lol)
But then there's the problem of some missing functions...
If we turn off Buffer Checks that gets rid of the two __security ones:
So now it's just iob_func..... *googling*
lol, one of the search results is Fred providing solution for the exact problem of iob_func!
http://www.purebasic.fr/english/viewtop ... 28#p317028
so ive added the macro thingy as per Fred's direction, im assuming ive added it to the right place here in Additional Options:
...
SUCCESS! compiles and runs
Here is the resulting static 32bit lib from VS2008:
v1.4.1:
https://www.sendspace.com/file/jfzrgp
So dont forget to use the existing msvcrt.lib that comes with PB and not a newer Visual Studio one
I was also able to get 1.4.2 compiled this time, i had to comment-out the putenv and printf's again the same as 1.4.1:
v1.4.2:
https://www.sendspace.com/file/w441ap
and then because all the planets have aligned or something i was also able to build the latest, but its a beta, don't go there wilbert we beg you!
v.1.4.90 (1.5 beta 1):
https://www.sendspace.com/file/hl1qnn
Hope you like these optimization settings heehee, it sounded like you were after extra speed from this lib:
*looks around for another waiter*
GONNA NEED SOME MORE COFFEE HERE!