We nuked that whole project and set volume directly on Windows using 
waveOutSetVolume(HWAVEOUT, DWORD).
https://bitbucket.org/alchemyviewer/alchemy/commits/b3e54a075de4440390bb1be8c9f73bfd94053a01

The shim is only needed up to XP and is completely unnecessary with the 
availability of WASAPI in Vista and above.
 
 
-- 
Cinder Roxley
Sent with Airmail
 

On November 30, 2016 at 7:36:24 PM, Callum Linden (cal...@lindenlab.com 
<mailto:cal...@lindenlab.com> ) wrote:

 
Thanks so much for the speedy reply Cinder. I hoped that was the case and the 
build seems okay without it. 

The other perplexing one is for the winmm_shim project. For 64 bit builds it 
fails with a bunch of unresolved externals which look to be related to MMX 
intrinsic maybe. Not at my computer right now and haven't really started to 
investigate but if that rings s bell after your work, please do let me know. 

Cheers! 

On Nov 30, 2016, at 5:16 PM, Cinder Roxley <cin...@alchemyviewer.org 
<mailto:cin...@alchemyviewer.org> > wrote:

It’s not needed. We dropped it in Alchemy when adding 64-bit support, and it 
continues to run fine. /FIXED:NO just ensures that code can be position 
independent. Maybe at some point this was needed a long time ago for apr 
hijinks or Windows98 compatibility or something of that nature, but you can 
safely remove it.

-- 
Cinder Roxley
Sent with Airmail

On November 30, 2016 at 6:55:37 PM, Callum Prentice (Callum) 
(cal...@lindenlab.com <mailto:cal...@lindenlab.com> ) wrote:

I'm working with Nat Linden on the 64 bit viewer build and we've been 
encountering an odd error - A number of projects in 64 bit only configurations 
have an entry for "Force Includes" files set to XED:NO.  Nothing on Google so 
we were stumped for a while but eventually tracked it down to a number of lines 
in CMakeLists.txt files of the form: add_definitions(/FIXED:NO). Evidently, /FI 
is the compiler command to include a forced header file - hence the XED:NO 
entry. You can see one here: 
https://bitbucket.org/lindenlab/viewer64/src/3f7ba2a06e5cea596e3a4006d57e3fbc4703d90f/indra/llcommon/CMakeLists.txt?at=default&fileviewer=file-view-default#CMakeLists.txt-248

The FIXED command is evidently for the linker and not the compiler but I'm not 
sure (a) if it's needed or (b) if it is, how to direct it at the right place.

Has anyone else encountered this and already and figured it out?

--

​Callum Prentice
| Software Engineer

LINDEN LAB | Create Virtual Experiences <http://www.lindenlab.com/> 


_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev 
<http://wiki.secondlife.com/wiki/OpenSource-Dev> 
Please read the policies before posting to keep unmoderated posting privileges

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to