These are chat archives for highfidelity/hifi

14th
Jun 2014
Mohammed Nafees
@mnafees
Jun 14 2014 10:43
can someone help me please - http://pastebin.com/AB7eEPTb
Mohammed Nafees
@mnafees
Jun 14 2014 10:52
I get this error while trying to build target assignment-client
Mohammed Nafees
@mnafees
Jun 14 2014 11:20
fixed it, was a simple zlib linking error
Thijs Wenker
@thoys
Jun 14 2014 13:38
:+1:
Mohammed Nafees
@mnafees
Jun 14 2014 15:01
has anyone compiled hifi using MSVC 2012?
Mohammed Nafees
@mnafees
Jun 14 2014 15:24
I used MSVC 2012 and SDL 2 on Windows 8.1 and I had to make two changes in JoystickManager.cpp and AudioRingBuffer.h for a successful compilation
Thijs Wenker
@thoys
Jun 14 2014 17:08
@binaryking nice, I want to build it with MSVC2013, would that be simular you think?
David Rowe
@ctrlaltdavid
Jun 14 2014 18:28
I build using VS 2013 - configure and load project as VS 2010 but build with VS 2013 - no source changes required.
Mohammed Nafees
@mnafees
Jun 14 2014 18:40
@ctrlaltdavid can you elaborate on the procedure, please? (newbie to Windows :P )
@ctrlaltdavid @thoys I used NMake Makfiles generator for CMake
Mohammed Nafees
@mnafees
Jun 14 2014 18:50

btw, there's an API change in SDL 2 -

const char* SDL_JoystickName(int index)

has become:

const char* SDL_JoystickName(SDL_Joystick* joystick)

and there's a new method for the previous functionality:

const char* SDL_JoystickNameForIndex(int device_index)

I had to make this change.

@huffman what do you think about the absurd font-size in Windows?
David Rowe
@ctrlaltdavid
Jun 14 2014 20:21
@binaryking I haven't bothered using the SDL library - it's optional and is only used with PrioVR, which is the other library I haven't bothered using in my builds.
@binaryking Build procedure per https://github.com/highfidelity/hifi/blob/master/BUILD.md ... incl. cmake .. -G "Visual Studio 10" to configure the build; after that can load in VS2013 (without upgrading the project files to VS2013) and build.