Notepad++ build problem

Apologize in advance but I do have this notepad++ build problem shattered me into bits..
After install VS 2017 with CLI, and fulfill the steps all way up to the fifth on To build SciLexer.dll with boost (and changed -std:c++17 to -std:c++latest):

...
5. Go in scintilla\win32\ and run
nmake BOOSTPATH=your_boost_root_path BOOSTREGEXLIBPATH=your_built_lib_path -f scintilla.mak

And on me this:
nmake BOOSTPATH=D:\MSYS\usr\src\boost_1_70_0\ BOOSTREGEXLIBPATH=X:\T\boostregexLib\x64\ -f scintilla.mak

1
2
3
4
5
6
7
8
cl -Zi -TP -MP -W4 -EHsc -std:c++latest -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_DEPRECATE=1 -D_SCL_SECURE_NO_WARNINGS=1  -O1 -MT -DNDEBUG -GL -I../include -I../src -I../lexlib -ID:\MSYS\usr\src\boost_1_70_0\ -DSCI_OWNREGEX -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS -c ../boostregex/BoostRegexSearch.cxx

Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25017 for x64
Copyright (C) Microsoft Co

notepad-plus-plus-master\scintilla\include\Platform.h(401): error C2039: 'unique_ptr': is not a member of 'std'
D:\APP\VS2017\VC\Tools\MSVC\14.10.25017\include\vector(15): note: see declaration of 'std'
D:\MSYS\usr\src\notepad-plus-plus-master\scintilla\include\Platform.h(401): error C2143: syntax error: missing ';' before '<'

...
with other errors in 7 .h files, and Platform.h at line 401 is

1
2
3
400	virtual void Copy(PRectangle rc, Point from, Surface &surfaceSource)=0;

401	virtual std::unique_ptr<IScreenLineLayout> Layout(const IScreenLine *screenLine) = 0;


Anyone kind enough guide me clarifying what actually this means and how to solve?
Last edited on
std::unique_ptr is defined in <memory>.
Topic archived. No new replies allowed.