I am trying to compile a Shared Object (.so) with Visual Studio 2015 RC.
I am linking against the Opus Codec libs in my stdafx.h:
#pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\celt.lib")
#pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\opus.lib")
#pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_common.lib")
#pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_fixed.lib")
#pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_float.lib")
I am getting the linker error:
linker command failed with exit code 1 (use -v to see invocation) SharedObject1 C:\Users\MyUser\Documents\Visual Studio 2015\Projects\SharedObject1\SharedObject1\clang.exe 1
Can anybody tell me how to investigate what might have gone wrong there? Where would I state this "-v"?
And is it not ok to use .libs in a cross-platform project? I was wondering why everybody talks about .a files, .so, but never about .libs.
Edit: I have uploaded my small example project here if somebody would be willing to have a look.