Error compiling d887fce163757c50ec95ed204d50b02675db830c

21 views
Skip to first unread message

Andreas Tscharner

unread,
May 21, 2013, 2:59:55 AM5/21/13
to scintilla Interest
Hello World,

If I try to compile scintilla (r4571,
d887fce163757c50ec95ed204d50b02675db830c), I get the following error
when linking SciLexer.dll:


link -OPT:REF -LTCG -DEBUG -DEF:Scintilla.def -DLL
-OUT:..\bin\SciLexer.
dll .\Accessor.obj .\AutoComplete.obj .\CallTip.obj .\Catalogue.obj
.\CellBuffer
.obj .\CharacterSet.obj .\CharClassify.obj .\ContractionState.obj
.\Decoration.o
bj .\Document.obj .\Editor.obj .\ExternalLexer.obj .\Indicator.obj
.\KeyMap.obj
.\LexerBase.obj .\LexerModule.obj .\LexerSimple.obj .\LineMarker.obj
.\PerLine.o
bj .\PlatWin.obj .\PositionCache.obj .\PropSetSimple.obj .\RESearch.obj
.\RunSty
les.obj .\ScintillaBaseL.obj .\ScintillaWinL.obj .\Selection.obj
.\Style.obj .\S
tyleContext.obj .\UniConversion.obj .\ViewStyle.obj .\WordList.obj
.\XPM.obj .\L
exA68k.obj .\LexAbaqus.obj .\LexAda.obj .\LexAPDL.obj .\LexAsm.obj
.\LexAsn1.obj
.\LexASY.obj .\LexAU3.obj .\LexAVE.obj .\LexAVS.obj .\LexBaan.obj
.\LexBash.obj
.\LexBasic.obj .\LexBullant.obj .\LexCaml.obj .\LexCLW.obj
.\LexCmake.obj .\Lex
COBOL.obj .\LexCoffeeScript.obj .\LexConf.obj .\LexCPP.obj
.\LexCrontab.obj .\Le
xCsound.obj .\LexCSS.obj .\LexD.obj .\LexECL.obj .\LexEiffel.obj
.\LexErlang.obj
.\LexEScript.obj .\LexFlagship.obj .\LexForth.obj .\LexFortran.obj
.\LexGAP.obj
.\LexGui4Cli.obj .\LexHaskell.obj .\LexHTML.obj .\LexInno.obj
.\LexKix.obj .\Le
xLaTeX.obj .\LexLisp.obj .\LexLout.obj .\LexLua.obj .\LexMagik.obj
.\LexMarkdown
.obj .\LexMatlab.obj .\LexMetapost.obj .\LexMMIXAL.obj .\LexModula.obj
.\LexMPT.
obj .\LexMSSQL.obj .\LexMySQL.obj .\LexNimrod.obj .\LexNsis.obj
.\LexOpal.obj .\
LexOScript.obj .\LexOthers.obj .\LexPascal.obj .\LexPB.obj .\LexPerl.obj
.\LexPL
M.obj .\LexPO.obj .\LexPOV.obj .\LexPowerPro.obj .\LexPowerShell.obj
.\LexProgre
ss.obj .\LexPS.obj .\LexPython.obj .\LexR.obj .\LexRebol.obj
.\LexRuby.obj .\Lex
Scriptol.obj .\LexSmalltalk.obj .\LexSML.obj .\LexSorcus.obj
.\LexSpecman.obj .\
LexSpice.obj .\LexSQL.obj .\LexTACL.obj .\LexTADS3.obj .\LexTAL.obj
.\LexTCL.obj
.\LexTCMD.obj .\LexTeX.obj .\LexTxt2tags.obj .\LexVB.obj
.\LexVerilog.obj .\Lex
VHDL.obj .\LexVisualProlog.obj .\LexYAML.obj .\ScintRes.res KERNEL32.lib
USER32.
lib GDI32.lib IMM32.lib OLE32.LIB
Microsoft (R) Incremental Linker Version 11.00.60315.1
Copyright (C) Microsoft Corporation. All rights reserved.

WordList.obj : error LNK2005: "public: __thiscall
WordList::~WordList(void)" (??
1WordList@@QAE@XZ) already defined in LexerBase.obj
WordList.obj : error LNK2005: "public: __thiscall
WordList::WordList(bool)" (??0
WordList@@QAE@_N@Z) already defined in LexerBase.obj
Creating library ..\bin\SciLexer.lib and object ..\bin\SciLexer.exp
..\bin\SciLexer.dll : fatal error LNK1169: one or more multiply defined
symbols
found
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0
\VC\BIN\link.EXE"' : return code '0x491'
Stop.


Windows 7 Professional, all patches applied
Visual Studio 12 (NMAKE respectively)

Best regards
Andreas
--
Andreas Tscharner <sterne...@gmail.com>
----------------------------------------------------------------------
"Intruder on level one. All Aliens please proceed to level one."
-- Call in "Alien: Resurrection"

Andreas Tscharner

unread,
May 21, 2013, 3:05:38 AM5/21/13
to scintilla Interest
On 21.05.2013 08:59, Andreas Tscharner wrote:
> If I try to compile scintilla (r4571,
> d887fce163757c50ec95ed204d50b02675db830c), I get the following error
> when linking SciLexer.dll:

Never mind! I forgot to clean the project first. Sorry for the noise!

Neil Hodgson

unread,
May 23, 2013, 8:52:30 PM5/23/13
to scintilla...@googlegroups.com
Andreas Tscharner:

> Never mind! I forgot to clean the project first. Sorry for the noise!

The make file doesn't list all header dependencies so its easy to have a build failure after an update. In particular, no dependencies are listed for lexers. It might help some to fix this. Scintilla builds so fast (with a reasonable -j) that its OK to always 'make -B' so that everything is recompiled.

Neil

Reply all
Reply to author
Forward
0 new messages