Linker error in juce_win32_native_code


#1

Hi,

I am using juce 1.53 with visual studio 13 express. I am building JUCE in DLL Debug mode, but it gives me some linker error related to juce_win32_nativeCode. I will be very helfull for any help 

Folllowing is output of build.


1>------ Build started: Project: Juce, Configuration: DLL Debug Win32 ------
1>  juce_win32_Network.cpp
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1186,5): warning MSB8012: TargetPath(G:\Browser_Refactoring\REUSABLECOMPONENTSREPO\Trunk\JUCE\juce_1_53\Builds\VisualStudio2005\../../bin\Juce.dll) does not match the Linker's OutputFile property value (G:\Browser_Refactoring\REUSABLECOMPONENTSREPO\Trunk\JUCE\juce_1_53\bin\Juce_Debug_vs2013.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1188,5): warning MSB8012: TargetName(Juce) does not match the Linker's OutputFile property value (Juce_Debug_vs2013). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function __catch$?messageWndProc@WindowsMessageHelpers@juce@@YGJPAUHWND__@@IIJ@Z$1
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function __catch$?messageWndProc@WindowsMessageHelpers@juce@@YGJPAUHWND__@@IIJ@Z$1
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglGetCurrentContext@0 referenced in function "public: virtual bool __thiscall juce::WindowedGLContext::isActive(void)const " (?isActive@WindowedGLContext@juce@@UBE_NXZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglGetProcAddress@4 referenced in function __catch$?messageWndProc@WindowsMessageHelpers@juce@@YGJPAUHWND__@@IIJ@Z$1
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function __catch$?messageWndProc@WindowsMessageHelpers@juce@@YGJPAUHWND__@@IIJ@Z$1
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__wglShareLists@8 referenced in function "public: __thiscall juce::WindowedGLContext::WindowedGLContext(class juce::Component * const,struct HGLRC__ *,class juce::OpenGLPixelFormat const &)" (??0WindowedGLContext@juce@@QAE@QAVComponent@1@PAUHGLRC__@@ABVOpenGLPixelFormat@1@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "public: void __thiscall juce::Win32ComponentPeer::IMEHandler::handleComposition(class juce::ComponentPeer &,struct HWND__ *,long)" (?handleComposition@IMEHandler@Win32ComponentPeer@juce@@QAEXAAVComponentPeer@3@PAUHWND__@@J@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _ImmReleaseContext@8 referenced in function "public: void __thiscall juce::Win32ComponentPeer::IMEHandler::handleComposition(class juce::ComponentPeer &,struct HWND__ *,long)" (?handleComposition@IMEHandler@Win32ComponentPeer@juce@@QAEXAAVComponentPeer@3@PAUHWND__@@J@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _ImmGetCompositionStringW@16 referenced in function "private: class juce::Range<int> __thiscall juce::Win32ComponentPeer::IMEHandler::getCompositionSelection(struct HIMC__ *,long)const " (?getCompositionSelection@IMEHandler@Win32ComponentPeer@juce@@ABE?AV?$Range@H@3@PAUHIMC__@@J@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _ImmNotifyIME@16 referenced in function "public: void __thiscall juce::Win32ComponentPeer::IMEHandler::handleEndComposition(class juce::ComponentPeer &,struct HWND__ *)" (?handleEndComposition@IMEHandler@Win32ComponentPeer@juce@@QAEXAAVComponentPeer@3@PAUHWND__@@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _ImmSetCandidateWindow@8 referenced in function "private: void __thiscall juce::Win32ComponentPeer::IMEHandler::moveCandidateWindowToLeftAlignWithSelection(struct HIMC__ *,class juce::ComponentPeer &,class juce::TextInputTarget *)const " (?moveCandidateWindowToLeftAlignWithSelection@IMEHandler@Win32ComponentPeer@juce@@ABEXPAUHIMC__@@AAVComponentPeer@3@PAVTextInputTarget@3@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutGetNumDevs@0 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutGetDevCapsW@12 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutOpen@20 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutClose@4 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutPrepareHeader@12 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutUnprepareHeader@12 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutShortMsg@8 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiOutLongMsg@12 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInGetNumDevs@0 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInGetDevCapsW@12 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInOpen@20 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInClose@4 referenced in function "public: __thiscall juce::MidiInCollector::~MidiInCollector(void)" (??1MidiInCollector@juce@@QAE@XZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInPrepareHeader@12 referenced in function "public: void __thiscall juce::MidiInCollector::MidiHeader::write(struct HMIDIIN__ *)" (?write@MidiHeader@MidiInCollector@juce@@QAEXPAUHMIDIIN__@@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInUnprepareHeader@12 referenced in function "public: void __thiscall juce::MidiInCollector::MidiHeader::unprepare(struct HMIDIIN__ *)" (?unprepare@MidiHeader@MidiInCollector@juce@@QAEXPAUHMIDIIN__@@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInAddBuffer@12 referenced in function "public: void __thiscall juce::MidiInCollector::MidiHeader::write(struct HMIDIIN__ *)" (?write@MidiHeader@MidiInCollector@juce@@QAEXPAUHMIDIIN__@@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInStart@4 referenced in function "public: void __thiscall juce::MidiInCollector::start(void)" (?start@MidiInCollector@juce@@QAEXXZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInStop@4 referenced in function "public: void __thiscall juce::MidiInCollector::stop(void)" (?stop@MidiInCollector@juce@@QAEXXZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__midiInReset@4 referenced in function "public: void __thiscall juce::MidiInCollector::stop(void)" (?stop@MidiInCollector@juce@@QAEXXZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__timeBeginPeriod@4 referenced in function "public: __thiscall juce::HiResCounterHandler::HiResCounterHandler(void)" (??0HiResCounterHandler@juce@@QAE@XZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _DrawDibOpen@0 referenced in function "public: void __thiscall juce::WindowsBitmapImage::blitToWindow(struct HWND__ *,struct HDC__ *,bool,int,int,class juce::RectangleList const &,unsigned char)" (?blitToWindow@WindowsBitmapImage@juce@@QAEXPAUHWND__@@PAUHDC__@@_NHHABVRectangleList@2@E@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol _DrawDibDraw@52 referenced in function "public: void __thiscall juce::WindowsBitmapImage::blitToWindow(struct HWND__ *,struct HDC__ *,bool,int,int,class juce::RectangleList const &,unsigned char)" (?blitToWindow@WindowsBitmapImage@juce@@QAEXPAUHWND__@@PAUHDC__@@_NHHABVRectangleList@2@E@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetCrackUrlW@16 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetOpenW@20 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetCloseHandle@4 referenced in function "private: void __thiscall juce::WebInputStream::close(void)" (?close@WebInputStream@juce@@AAEXXZ)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetConnectW@32 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetReadFile@16 referenced in function "public: virtual int __thiscall juce::WebInputStream::read(void *,int)" (?read@WebInputStream@juce@@UAEHPAXH@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetSetFilePointer@20 referenced in function "public: virtual bool __thiscall juce::WebInputStream::setPosition(__int64)" (?setPosition@WebInputStream@juce@@UAE_N_J@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetWriteFile@16 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__InternetSetOptionW@16 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__FtpOpenFileW@20 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__HttpOpenRequestW@32 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__HttpSendRequestExW@20 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__HttpEndRequestW@16 referenced in function "private: void __thiscall juce::WebInputStream::createConnection(bool (__cdecl*)(void *,int,int),void *)" (?createConnection@WebInputStream@juce@@AAEXP6A_NPAXHH@Z0@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__HttpQueryInfoW@20 referenced in function "public: __thiscall juce::WebInputStream::WebInputStream(class juce::String const &,bool,class juce::MemoryBlock const &,bool (__cdecl*)(void *,int,int),void *,class juce::String const &,int,class juce::StringPairArray *)" (??0WebInputStream@juce@@QAE@ABVString@1@_NABVMemoryBlock@1@P6A_NPAXHH@Z30HPAVStringPairArray@1@@Z)
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__PathStripToRootW@4 referenced in function __catch$?freeDynamicLibrary@PlatformUtilities@juce@@SAXPAX@Z$0
1>juce_win32_NativeCode.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function __catch$?messageWndProc@WindowsMessageHelpers@juce@@YGJPAUHWND__@@IIJ@Z$1
1>../../bin\Juce_Debug_vs2013.dll : fatal error LNK1120: 48 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========