ricardog
Topic Author
Posts: 3
Joined: 01 Mar 2013, 23:17

MSVC runtime dependencies

28 Nov 2013, 23:47

Hello,

Currently you offer Windows binaries that depend on the MSVC 2010 runtime. It would be very nice if you could also make builds for 2012 and 2013 versions, so we don't have to distribute two runtimes with the application.

Thanks!
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: MSVC runtime dependencies

29 Nov 2013, 00:46

Hi!

We should have no MSVC runtimes dependencies. If you are observing that, it is a bug. Could you tell me which binary is the problematic? (sorry, I am not in from of a computer now). I will investigate it asap.
 
ricardog
Topic Author
Posts: 3
Joined: 01 Mar 2013, 23:17

Re: MSVC runtime dependencies

29 Nov 2013, 02:44

Good to know that, it seems that we are using some of the lib files included in your OgreBindings package, and they're probably creating the dependency with VS 2010. We'll replace them with our own compiled libs and that should fix the problem. Thank you anyway!
 
ricardog
Topic Author
Posts: 3
Joined: 01 Mar 2013, 23:17

Re: MSVC runtime dependencies

29 Nov 2013, 03:09

While replacing the header dependencies, we stumbled over a different issue. The Noesis::File::BaseFileSystem class contains methods named "CreateDirectory", "CreateFile" and "DeleteFile". Those names conflict with functions of the same name in <windows.h>, which are #defined to other names there (i.e. CreateFileA / CreateFileW). That is causing linker errors. There are some workarounds such as #undef'ing those names but I think it might be better to use different method names and avoid those conflicts.
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: MSVC runtime dependencies

29 Nov 2013, 20:56

Good to know that, it seems that we are using some of the lib files included in your OgreBindings package, and they're probably creating the dependency with VS 2010. We'll replace them with our own compiled libs and that should fix the problem. Thank you anyway!
Yes, it is better if you update those binaries in your program because apart from this, the ogre version is probably outdated. I think we should remove the binaries from the respository.
While replacing the header dependencies, we stumbled over a different issue. The Noesis::File::BaseFileSystem class contains methods named "CreateDirectory", "CreateFile" and "DeleteFile". Those names conflict with functions of the same name in <windows.h>, which are #defined to other names there (i.e. CreateFileA / CreateFileW). That is causing linker errors. There are some workarounds such as #undef'ing those names but I think it might be better to use different method names and avoid those conflicts.
Yes, we got a ticket opened related to that issue. That problem with the macros is really a nightmare. But we don't want to change the API for the next minor versions. Could you file us a bug about this problem?

Thanks.

Who is online

Users browsing this forum: No registered users and 0 guests