Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

unresolved external in debug profile for [i|o]stream from STL

$
0
0

Greetings,

In release profile everything works perfectly. But in debug profile I have linker error. I'm on Win 8.1 x64, x64 build, ICC 14 update 2.

output:

1>ipo : warning #11021: unresolved ?do_put@?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MEBA?AV?$ostreambuf_iterator@DU?$char_traits@D@std@@@2@V32@AEAVios_base@2@D_T@Z
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\numconv.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\logger.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\renderer.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\net_streaming_host1_protocol.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\c_conn_keeper.obj
1>ipo : warning #11021: unresolved ?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MEBA?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AEAVios_base@2@AEAHAEA_T@Z
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\numconv.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\c_gui_net_streaming_host1.obj
1>          Referenced in c:\Users\vdmn\Documents\develop\Recorder7.1\Recorder7_Processor\x64\DebugOptimized\c_gui_equalizer.obj
1>ipo : error #11023: Not all components required for linking are present on command line

which demangles to:

do_put@num_put<char,class std::ostreambuf_iterator<char,struct std::char_traits<char> > >

and

do_get@num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >

respectively.

command line:

/Yu"stdafx.h" /MP /GS- /Qopenmp /GA /debug:expr-source-pos /Qrestrict /Qansi-alias /Qftz /W3 /Qdiag-disable:"809" /QxHost /Zc:wchar_t /I"c:\Program Files (x86)\Windows Kits\8.1\Include\um\" /I".\" /I"..\3rd_party\portaudio\include\" /I"..\3rd_party\portaudio\bindings\cpp\include\" /I".\includes\" /I"..\3rd_party\libsndfile\src\" /I"src\" /I"..\3rd_party\freeverb3\" /I"..\3rd_party\fftw\api\" /I"c:\Users\vdmn\Documents\develop\wxWidgets-git4\wxWidgets_intel1_c++0x\include\" /I"c:\Users\vdmn\Documents\develop\wxWidgets-git4\wxWidgets_intel1_c++0x\\lib\vc_x64_dll\mswu\" /I"c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\" /Zi /O3 /Ob2 /Fd"x64\DebugOptimized\vc120.pdb" /fp:precise /Quse-intel-optimized-headers /Qdiag-enable:sc-include /D "_USING_V110_SDK71_=1" /D "HAVE_INTEL_COMPILER_BUG_03=1" /D "LIBFV3_DOUBLE=1" /D "LIBSRATE2_DOUBLE=1" /D "MY_USE_ALIGNED_NEW_DELETE_OPERATORS" /D "wxUSE_LONGLONG_NATIVE=1" /D "_HAS_EXCEPTIONS=0" /D "MATLAB_MODULE_EXPORTS" /D "RECORDER7_HOST" /D "NDEBUG" /D "_HAS_ITERATOR_DEBUGGING=0" /D "_ITERATOR_DEBUG_LEVEL=0" /D "DEVELOPMENT=1" /D "MY_FV3_EXPORT=__declspec(dllimport)" /D "MY_SRC_EXPORT=__declspec(dllimport)" /D "VSTGUI_USES_UTF8" /D "WXUSINGDLL" /D "wxUSE_GUI" /D "_WINDOWS" /D "_CRT_NONSTDC_NO_DEPRECATE=1" /D "_CRT_SECURE_NO_WARNINGS=1" /D "MY_VST_DLL" /D "__RESTRICT" /D "MY_PA_EXPORT=__declspec(dllimport)" /D "MY_SF_EXPORT=__declspec(dllimport)" /D "RECORDER7_EXPORT=__declspec(dllexport)" /D "FV3_EXPORT=" /D "RECORDER7_PROCESSOR" /D "DEBUG_WANT_ASSERTS=1" /D "_UNICODE" /D "UNICODE" /Qstd=c++11 /Qip /GF /Zc:forScope /GR /Oi /MDd /Fa"x64\DebugOptimized\" /EHsc /nologo /Fo"x64\DebugOptimized\" /Ot /Fp"x64\DebugOptimized\Recorder7_Processor.pch" /Qopt-report-file:"x64\DebugOptimized\/Recorder7_Processor.rep"

TIA!


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>