Dirk Reiners wrote:
On Wed, 2006-02-15 at 15:37 +0100, Tobias Kilian wrote:
Hi Dirk!
i tried the dailybuild from 07.02.2006 :
What is that __imp___invalid_parameter_noinfo?
I have no clue, and neither does google. :(
I now have a clue!
This function:
extern "C"
_CRTIMP void __cdecl _invalid_parameter_noinfo(void);
is used by VS8's new secure-ish CRT to indicate errors. It is defined
whenever you compile in release, since in debug, it uses a more
elaborate function with more info. So far, so good.
So, why doesn't it find it? Because OpenSG VS7's config manually links
to msvcrtd.lib and msvcrtpd.lib _in release_, and _ignores_ default
libraries! (I believe I mentioned this issue previously.)
Obviously, this one isn't included in the debug libraries, which we
don't compile against, only link against (ouchie).
Anyway, removing the D-postfix from the librairies makes it link without
errors!
Yay!
Regards
/Marcus
P.S. Heads up: I also tried clearing the 'ignore default libraries' but
then got a warning on libc.lib. I belive this is the static-link
runtime-library, or something, for a very old compiler. Might be that
zlib or libjpeg or some other lib wants to link to that one (via #pragma
comment(lib, "libc.lib") but it is not available any more. This issue
might cause errors in the future, since we aren't linking correctly.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users