Getting Error while trying to generate SciLexer.dll without boost for Notepad++ 7.6.2
-
I’m a beginner trying to generate local Notepad-plus-plus exe file using source code.
I’m able to generate Notepad++.exe using visual Studio 2017, but unable to generate SciLexer.dll file.It might be a silly thing that I’m missing, but at my current level I’m unable to figure Out.
Thanks in advance. 👍
While trying to generate SciLexer.dll without boost:
I’m getting the below error:
C:\sources\notepad-plus-plus-7.6.2\scintilla\win32>nmake NOBOOST=1 DEBUG=1 -f scintilla.makMicrosoft ® Program Maintenance Utility Version 14.16.27026.1
Copyright © Microsoft Corporation. All rights reserved.link -OPT:REF -LTCG -DEBUG -LIBPATH:\debug\link-static\runtime-link-static\threading-multi -DEF:Scintilla.def -DLL -OUT:..\bin\Scintilla.dll .\AutoComplete.obj .\CallTip.obj .\CaseConvert.obj .\CaseFolder.obj .\CellBuffer.obj .\CharacterCategory.obj .\CharacterSet.obj .\CharClassify.obj .\ContractionState.obj .\Decoration.obj .\Document.obj .\EditModel.obj .\Editor.obj .\EditView.obj .\Indicator.obj .\KeyMap.obj .\LineMarker.obj .\MarginView.obj .\PerLine.obj .\PlatWin.obj .\PositionCache.obj .\PropSetSimple.obj .\RESearch.obj .\RunStyles.obj .\Selection.obj .\Style.obj .\UniConversion.obj .\ViewStyle.obj .\XPM.obj .\HanjaDic.obj .\ScintillaBase.obj .\ScintillaWin.obj .\BoostRegexSearch.obj .\UTF8DocumentIterator.obj .\ScintRes.res KERNEL32.lib USER32.lib GDI32.lib IMM32.lib OLE32.LIB OLEAUT32.LIB
Microsoft ® Incremental Linker Version 14.16.27026.1
Copyright © Microsoft Corporation. All rights reserved.LINK : fatal error LNK1104: cannot open file ‘libboost_regex-vc141-mt-s-x32-1_66.lib’
NMAKE : fatal error U1077: ‘“C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\link.EXE”’ : return code ‘0x450’
Stop. -
@viveksejpal said:
not sure if this can be done easily with out modifying the npp source code.
For example you still generate\BoostRegexSearch.obj