Garth Dahlstrom a écrit :
> The thing if I check in the one that depends on the debug assembly,
> nobody accept you will be able to do a windows release build. :P
> (since the rest of us sorry suckers don't have the patched source,
> project files, etc for sndfile... )
>
> Could you please just compile it so it doesn't require the debug
> stuff, if it's not too much trouble?
>
>
>
> if platform == 'win32':
> if int(flags_msvcdebug):
> env.Append(CCFLAGS = '/MDd')
> else
> env.Append(CCFLAGS = '/MD')
>
>
>
The above snippet links mixxx with the MSVCRT debug library if msvcdebug
is defined (/MDd) or the release MSVCRT otherwise (/MD).
The compiled libsndfile is a release compile and works with both debug
or release compile of mixxx.
Previously the MSVCRT code was into the libsndfile.lib import library,
which is a hack that must have add some purpose (?), but I think is not
necessary and got me confused for a while :).
It's a good idea to link to the debug version of MSVCRT when compiling
mixxx in debug because it can catch some things like memory corruption.
But if you wish you can just add
if platform == 'win32':
env.Append(CCFLAGS = '/MD')
it will always link mixxx to the release version of MSVRT.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel