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

Compiler error "member member xxx already has an explicit dllexport/dllimport specifier"

$
0
0

Hi everyone,

I meet an error with Intel C++ compiler, Error message is following:
 

       icl -c /nologo /Zm200 /Qprec /Zc:wchar_t- /Zi /Od /MDd /GS /GR /EHsc /W3 -DUNICODE -DQT_LARGEFILE_SUPPORT -DMUPA
RSER_DLL -DMUPARSERLIB_EXPORTS -DMAKEDLL -DMUPARSER_BUILD -D_CRT_SECURE_NO_WARNINGS -DEM_VER="\"0300\"" -DEM_VERSION=030
0 -DBUILDNO="\"6128\"" -DTARGETNAME="\"muparser\"" -DQT_DISABLE_DEPRECATED_BEFORE -DDataStreamVersion=12 -DQT_DLL -DQT_S
CRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_GUI_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPP
ORT -I"c:\Qt\4.8.4-icc64\include\QtGui" -I"c:\Qt\4.8.4-icc64\include\QtScriptTools" -I"c:\Qt\4.8.4-icc64\include\QtScrip
t" -I"c:\Qt\4.8.4-icc64\include" -I"..\..\..\easimotor3\include" -I"..\..\..\easimotor3\include\muParser" -I"c:\Qt\4.8.4
-icc64\include\ActiveQt" -I"tmp\moc\debug" -I"." -I"c:\Qt\4.8.4-icc64\mkspecs\win32-icc" -Fotmp\obj\debug\ @C:\Users\lut
x\AppData\Local\Temp\2\nm1028.tmp
muParserBase.cpp
../../../easimotor3/include/muParser/muParserBase.h(199): error: member member "std::numpunct<_Elem>::id [with _Elem=cha
r]" (declared at line 80 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\xlocnum") already has an exp
licit dllexport/dllimport specifier
     class change_dec_sep : public std::numpunct<TChar>
                                   ^
         detected during instantiation of class "mu::ParserBase::change_dec_sep<TChar> [with TChar=mu::char_type={char}
]" at line 50 of "..\..\..\easimotor3\contrib\muParser\muParserBase.cpp"

compilation aborted for ..\..\..\easimotor3\contrib\muParser\muParserBase.cpp (code 2)
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64\icl.EXE"”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\nmake.exe"”: 返回代码“0
x2”
Stop.

I found same message in Intel software website at https://software.intel.com/en-us/articles/cdiag1745. But there is not answer about how to fix it.

Is there anyone has some advice? Thank you.

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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