Community
    • Login

    Troubles building and executing NPP

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    build notepad++run
    25 Posts 4 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • andrecool-68A
      andrecool-68
      last edited by

      My build of the SciLexer.dll project, in two clicks

      Run as administrator x86 Native Tools Command Prompt for VS 2017
      Copy all code, paste into x86 Native Tools Command Prompt for VS 2017, and press Enter

      cd C:\sources\boost_1_70_0
      bootstrap.bat
      cd C:\sources\boost_1_70_0\libs\regex\build
      C:\sources\boost_1_70_0\b2.exe toolset=msvc link=static threading=multi runtime-link=static address-model=32 release stage
      C:\sources\boost_1_70_0\b2.exe toolset=msvc link=static threading=multi runtime-link=static address-model=64 release stage
      
      md C:\tmp\boostregexLib\x32
      md C:\tmp\boostregexLib\x64
      copy C:\sources\boost_1_70_0\stage\lib\libboost_regex-vc141-mt-s-x32-1_70.lib C:\tmp\boostregexLib\x32
      copy C:\sources\boost_1_70_0\stage\lib\libboost_regex-vc141-mt-s-x64-1_70.lib C:\tmp\boostregexLib\x64
      
      exit /b
      

      Run as administrator x86 Native Tools Command Prompt for VS 2017
      Copy all code, paste into x86 Native Tools Command Prompt for VS 2017, and press Enter

      cd C:\notepad-plus-plus-master\scintilla\win32\
      nmake BOOSTPATH=C:\sources\boost_1_70_0\ BOOSTREGEXLIBPATH=C:\tmp\boostregexLib\x32\ -f scintilla.mak
      
      copy /y "C:\notepad-plus-plus-master\scintilla\bin\SciLexer.dll" "C:\notepad-plus-plus-master\PowerEditor\bin\SciLexer.dll"
      
      exit /b
      

      This is an assembly of the x64 project
      Run as administrator x86_x64 Cross Tools Command Prompt for VS 2017
      Copy all code, paste into x86_x64 Cross Tools Command Prompt for VS 2017, and press Enter

      cd C:\notepad-plus-plus-master\scintilla\win32\
      nmake BOOSTPATH=C:\sources\boost_1_70_0\ BOOSTREGEXLIBPATH=C:\tmp\boostregexLib\x64\ -f scintilla.mak
      
      copy /y "C:\notepad-plus-plus-master\scintilla\bin\SciLexer.dll" C:\notepad-plus-plus-master\SciLexer.64.dll
      
      exit /b
      
      1 Reply Last reply Reply Quote 2
      • andrecool-68A
        andrecool-68
        last edited by

        I forgot to say that the project was built on Windows 7 Home Premium (32-bit)

        1 Reply Last reply Reply Quote 0
        • ErwanDelhoveUCLE
          ErwanDelhoveUCL @Alan Kilborn
          last edited by

          @Alan-Kilborn
          I’m pretty sure to have the necessary files since there is no change on the branch I’m compiling(master commit=8516c7b).
          What I’m not sure about is if it’s from the "\visual.net\x64\Unicode Debug.” that my debug version should be located. It’s auto-generated by VS-2017, so it should normally be right.

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @ErwanDelhoveUCL
            last edited by Alan Kilborn

            @ErwanDelhoveUCL said in Troubles building and executing NPP:

            the version I try to launch is located at “\visual.net\x64\Unicode Debug.”

            I don’t think it will run directly from there without “help”: I think you may have to copy some files into that folder as well first.

            I’m pretty sure to have the necessary files since there is no change on the branch I’m compiling…

            That’s not what I mean.
            Okay, here’s what I’d do as a quick test of your built exe:

            • Grab a released portable zip.

            • Unzip into a folder.

            • Put your build of notepad++.exe in that folder (overwriting the released one).

            • Try running that.

            I’m not saying for sure that this will solve the problem you cited, but it is worth trying.

            ErwanDelhoveUCLE 1 Reply Last reply Reply Quote 2
            • ErwanDelhoveUCLE
              ErwanDelhoveUCL @Alan Kilborn
              last edited by ErwanDelhoveUCL

              @Alan-Kilborn
              I did it with the most recent version(Notepad++ 7.9: Stand with Hong Kong) and it works fine.
              I think i found the issue: SciLexer.dll is baldy made or miss some elements(release version is bigger than generated one)
              1dae3752-ddae-4d56-b0ee-5de5054b5bc8-image.png

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @ErwanDelhoveUCL
                last edited by

                @ErwanDelhoveUCL said in Troubles building and executing NPP:

                SciLexer.dll is baldy made or miss some elements(release version is bigger than generated one)

                So I’m not sure what your goals are for building Notepad++.
                Maybe just for fun?

                But if you are going to experiment and change code, then you want to do this in the “Debug” build.

                And with that it doesn’t matter if for Scintilla the “release version is bigger…”

                So I think your issues are all solved now?

                ErwanDelhoveUCLE 1 Reply Last reply Reply Quote 0
                • ErwanDelhoveUCLE
                  ErwanDelhoveUCL @Alan Kilborn
                  last edited by

                  @Alan-Kilborn
                  I think that you didn’t understand what I wanted to tell you.
                  I 'm speaking of the SciLexer.dll that I generate myself for the last version of the project. I’ve put the SciLexer.dll version of the release in the debug folder. When I executed the debug version again, it worked!
                  I deduct so that it was my generated SciLexer.dll who leads to the given error. Maybe I made a mistake in my command line or something like that. So I’m going to investigate there.

                  Alan KilbornA 1 Reply Last reply Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @ErwanDelhoveUCL
                    last edited by

                    @ErwanDelhoveUCL said in Troubles building and executing NPP:

                    I think that you didn’t understand what I wanted to tell you.

                    Correct. :-)

                    I deduct so that it was my generated SciLexer.dll who leads to the given error.

                    Maybe I made a mistake in my command line

                    Hmm, I think if it builds, it should work.
                    Again, as long as we are talking about a “debug” version of notepad++.exe running it.

                    1 Reply Last reply Reply Quote 0
                    • andrecool-68A
                      andrecool-68
                      last edited by

                      @ErwanDelhoveUCL said in Troubles building and executing NPP:

                      I think i found the issue: SciLexer.dll is baldy made or miss some elements(release version is bigger than generated one)

                      1601900126368-1dae3752-ddae-4d56-b0ee-5de5054b5bc8-image.png

                      The x32 and x64 versions have different file sizes!

                      Alan KilbornA 1 Reply Last reply Reply Quote 2
                      • andrecool-68A
                        andrecool-68
                        last edited by

                        I got this file size:

                        000.png

                        ErwanDelhoveUCLE 1 Reply Last reply Reply Quote 2
                        • Alan KilbornA
                          Alan Kilborn @andrecool-68
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • ErwanDelhoveUCLE
                            ErwanDelhoveUCL @andrecool-68
                            last edited by

                            @andrecool-68
                            A new problem appear with this following command execution:
                            78940876-e0ca-49e9-913f-a0cc1e0daff8-image.png
                            FYI i use the x86_x64 Cross Tools Command Prompt for VS 2017 as an adminstrator

                            I got this error in return.
                            It basically tell me that I should target the same processor. Because the Front end and Back end are not compatible.
                            ee12f393-e1d1-4c5f-953a-14a673814446-image.png

                            Any idea how to fix it?

                            1 Reply Last reply Reply Quote 0
                            • ErwanDelhoveUCLE
                              ErwanDelhoveUCL
                              last edited by ErwanDelhoveUCL

                              I think I found a page for my error. Trying it right now and I will tell you if it works.
                              https://sourceforge.net/p/notepad-plus/discussion/331753/thread/b2610e04/

                              andrecool-68A 1 Reply Last reply Reply Quote 1
                              • ErwanDelhoveUCLE
                                ErwanDelhoveUCL
                                last edited by

                                Yeah it works. Thanks to you guys(@Alan-Kilborn ,@andrecool-68 ). I finally succeed to run notepad++ (debug version) with my own generated Scintilla.dll(x64 version).

                                Maybe we should keep this discussion at disposal for other people encountering the same problem (and I’m also not the only one to have 64 processor version ;) ).

                                What do think? Maybe I should add tag or something else?

                                1 Reply Last reply Reply Quote 0
                                • andrecool-68A
                                  andrecool-68 @ErwanDelhoveUCL
                                  last edited by

                                  @ErwanDelhoveUCL I am doing SCINTILLA cleanup with bat file CLEAR_SCINTILLA.bat
                                  I did not know about other methods))

                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Accessor.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\AutoComplete.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\BoostRegexSearch.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CallTip.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CaseConvert.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CaseFolder.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Catalogue.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CellBuffer.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CharacterCategory.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CharacterSet.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\CharClassify.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ContractionState.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\DBCS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Decoration.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\DefaultLexer.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Document.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\EditModel.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Editor.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\EditView.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ExternalLexer.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\HanjaDic.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Indicator.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\KeyMap.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexA68k.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAbaqus.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAda.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAPDL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAsm.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAsn1.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexASY.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAU3.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAVE.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexAVS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBaan.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBash.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBasic.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBatch.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBibTeX.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexBullant.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCaml.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCIL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCLW.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCmake.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCOBOL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCoffeeScript.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexConf.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCPP.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCrontab.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCsound.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexCSS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexD.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexDataflex.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexDiff.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexDMAP.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexDMIS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexECL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexEDIFACT.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexEiffel.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexerBase.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexErlang.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexerModule.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexErrorList.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexerSimple.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexEScript.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexFlagship.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexForth.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexFortran.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexGAP.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexGui4Cli.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexHaskell.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexHex.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexHTML.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexIndent.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexInno.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexJSON.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexKix.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexKVIrc.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexLaTeX.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexLisp.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexLout.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexLua.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMagik.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMake.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMarkdown.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMatlab.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMaxima.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMetapost.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMMIXAL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexModula.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMPT.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMSSQL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexMySQL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexNim.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexNimrod.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexNsis.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexNull.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexObjC.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexOpal.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexOScript.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPascal.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPB.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPerl.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPLM.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPO.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPOV.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPowerPro.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPowerShell.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexProgress.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexProps.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexPython.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexR.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexRebol.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexRegistry.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexRuby.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexRust.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSAS.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexScriptol.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSearchResult.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSmalltalk.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSML.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSorcus.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSpecman.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSpice.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSQL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexStata.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexSTTXT.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTACL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTADS3.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTAL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTCL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTCMD.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTeX.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexTxt2tags.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexUser.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexVB.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexVerilog.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexVHDL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexVisualProlog.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexX12.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LexYAML.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\LineMarker.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\MarginView.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\PerLine.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\PlatWin.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\PositionCache.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\PropSetSimple.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\RESearch.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\RunStyles.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintillaBase.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintillaBaseL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintillaDLL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintillaWin.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintillaWinL.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ScintRes.res
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Selection.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\Style.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\StyleContext.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\UniConversion.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\UniqueString.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\UTF8DocumentIterator.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\vc140.pdb
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\ViewStyle.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\WordList.obj
                                  del /f /q C:\notepad-plus-plus-master\scintilla\win32\XPM.obj
                                  
                                  del /f /s /q C:\notepad-plus-plus-master\scintilla\bin
                                  
                                  exit /b
                                  
                                  1 Reply Last reply Reply Quote 3
                                  • andrecool-68A
                                    andrecool-68
                                    last edited by

                                    @ErwanDelhoveUCL

                                    It can be even easier to build a project if you run it from these three bat-files:

                                    Run as administrator x86 Native Tools Command Prompt for VS 2017

                                    call "full_file_path\x32_x64_START_BOOST.bat" Enter

                                    @echo on
                                    
                                    cd C:\sources\boost_1_70_0
                                    call bootstrap.bat
                                    
                                    cd C:\sources\boost_1_70_0\libs\regex\build
                                    C:\sources\boost_1_70_0\b2.exe toolset=msvc link=static threading=multi runtime-link=static address-model=32 release stage
                                    C:\sources\boost_1_70_0\b2.exe toolset=msvc link=static threading=multi runtime-link=static address-model=64 release stage
                                    
                                    md C:\tmp\boostregexLib\x32
                                    md C:\tmp\boostregexLib\x64
                                    copy C:\sources\boost_1_70_0\stage\lib\libboost_regex-vc141-mt-s-x32-1_70.lib C:\tmp\boostregexLib\x32
                                    copy C:\sources\boost_1_70_0\stage\lib\libboost_regex-vc141-mt-s-x64-1_70.lib C:\tmp\boostregexLib\x64
                                    
                                    exit
                                    

                                    Run as administrator x86 Native Tools Command Prompt for VS 2017

                                    call "full_file_path\x32_START_SCINTILLA.bat" Enter

                                    @echo on
                                    
                                    cd C:\notepad-plus-plus-master\scintilla\win32\
                                    
                                    nmake -f scintilla.mak clean
                                    
                                    nmake BOOSTPATH=C:\sources\boost_1_70_0\ BOOSTREGEXLIBPATH=C:\tmp\boostregexLib\x32\ -f scintilla.mak
                                    
                                    copy /y "C:\notepad-plus-plus-master\scintilla\bin\SciLexer.dll" "C:\notepad-plus-plus-master\PowerEditor\bin\SciLexer32.dll"
                                    
                                    exit
                                    

                                    Run as administrator x86_x64 Cross Tools Command Prompt for VS 2017

                                    call "full_file_path\x64_START_SCINTILLA.bat" Enter

                                    @echo on
                                    
                                    cd C:\notepad-plus-plus-master\scintilla\win32\
                                    
                                    nmake -f scintilla.mak clean
                                    
                                    cd C:\notepad-plus-plus-master\scintilla\win32\
                                    nmake BOOSTPATH=C:\sources\boost_1_70_0\ BOOSTREGEXLIBPATH=C:\tmp\boostregexLib\x64\ -f scintilla.mak
                                    
                                    copy /y "C:\notepad-plus-plus-master\scintilla\bin\SciLexer.dll" "C:\notepad-plus-plus-master\PowerEditor\bin\SciLexer64.dll"
                                    
                                    exit
                                    
                                    1 Reply Last reply Reply Quote 3
                                    • First post
                                      Last post
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors