• Login
Community
  • Login

Errors building current repository

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
30 Posts 3 Posters 28.0k 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.
  • D
    dail
    last edited by Mar 1, 2016, 6:20 PM

    And if I have to uninstall the Express Edition, wouldn’t it better to install the 2015 edition?

    That’s probably up to you. Notepad++ “officially” uses 2013 but don’t think there is an issues with 2015. Personally I use 2013 since some of the other software projects I work on require 2013.

    1 Reply Last reply Reply Quote 0
    • Y
      Yaron
      last edited by Mar 1, 2016, 6:24 PM

      Thanks again! I’m really grateful.

      I guess I’d better stick to the 2013 edition.
      I’ll wait for Claudia’s reply as to uninstalling first.

      BR.

      C 1 Reply Last reply Mar 1, 2016, 7:51 PM Reply Quote 0
      • C
        Claudia Frank @Yaron
        last edited by Mar 1, 2016, 7:51 PM

        Hello Yaron and dail,

        community edition (CE) doesn’t upgrade express edition(EE), but you can install it in parallel.
        CE has the advantage that it act’s like the professional editions, librarys are available,
        you are allowed to develop commercial software (there are restriction in how big the company is
        and that are only up to five developers are allowed to use CE version - please be directed to the
        license terms from MS) and you can use the plugins which are available for visual studio.
        CE disadvantage, from my point of view are the license terms but this needs to be decided by
        everyone for its own.

        If you are fine with the license terms then I don’t see any reason why to use express edition any longer.

        Regarding wdk, no you don’t have to burn a cd/dvd.
        windows 7 and earlier can use cd/dvd mounter like magiciso, daemon tools, wincdemu, poweriso etc…
        Windows8 and later do have it incooperated in explorer. Right click on iso and choose mount.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Y
          Yaron
          last edited by Mar 1, 2016, 9:12 PM

          Hello Claudia and dail,

          @Claudia-Frank,

          Thank you so much! I really appreciate the detailed reply.

          I’ve decided to try the lighter option first.
          I’ve installed MagicISO (thanks for that too), and then wdk7.1.

          Sorry to bother you yet again.
          Could you please elaborate on modifying the include directories?
          Where should I do that?

          @dail,
          Thanks again. I really appreciate your help.

          Best regards.

          C 1 Reply Last reply Mar 1, 2016, 9:27 PM Reply Quote 0
          • C
            Claudia Frank @Yaron
            last edited by Claudia Frank Mar 1, 2016, 9:28 PM Mar 1, 2016, 9:27 PM

            Hello Yaron,

            either you edit the notepadPlus.vcxproj file directly or you use visual studio to do so.

            File editing:
            There are two nodes Unicode Debug|Win32 and Unicode Release|Win32

            IncludePath needs to be extended with D:\WinDDK\7600.16385.1\inc\atl71
            and
            LibraryPath with D:\WinDDK\7600.16385.1\lib\ATL\i386

            Like here

            <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|Win32'">
            	<OutDir>$(Configuration)\</OutDir>
            	<IntDir>$(Configuration)\</IntDir>
            	<LinkIncremental>false</LinkIncremental>
            	<IncludePath>D:\WinDDK\7600.16385.1\inc\atl71;$(IncludePath)</IncludePath>
            	<LibraryPath>D:\WinDDK\7600.16385.1\lib\ATL\i386;$(LibraryPath)</LibraryPath>
            </PropertyGroup>
            
            <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|Win32'">
            	<OutDir>..\bin\</OutDir>
            	<IntDir>$(Configuration)\</IntDir>
            	<LinkIncremental>false</LinkIncremental>
            	<IncludePath>D:\WinDDK\7600.16385.1\inc\atl71;$(IncludePath)</IncludePath>
            	<LibraryPath>D:\WinDDK\7600.16385.1\lib\ATL\i386;$(LibraryPath)</LibraryPath>
            </PropertyGroup>
            

            when using visual studio, load the solution notepadPlus.sln.
            Once done, right click on notepad++ in class view and choose properties.
            In properties window select vc++ directories
            Click on include directories and a trianlge marker appears on the right,
            click it -> two new lines appear click on edit
            Add D:\WinDDK\7600.16385.1\inc\atl71
            click on apply

            Do the same steps for library but add D:\WinDDK\7600.16385.1\lib\ATL\i386

            close.

            Right click on notepad++ and choose build (or via menu)
            No error message should appear.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Y
              Yaron
              last edited by Mar 1, 2016, 10:15 PM

              Hello Claudia,

              Thank you very much. I appreciate your kindness and patience.

              No errors but multiple warnings .
              Should I have changed any thing here ?

              Best regards.

              C 1 Reply Last reply Mar 1, 2016, 10:39 PM Reply Quote 0
              • C
                Claudia Frank @Yaron
                last edited by Mar 1, 2016, 10:39 PM

                Hello Yaron,

                actually I do get the same warnings.
                As I use this npp on my pc only ( others do get the official ones ;-)
                I ignore them, in order to get rid of the warnings I assume you need to change
                alt headers as the error suggest that different permissions are merged.

                Hmm … will try to check this out.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • Y
                  Yaron
                  last edited by Mar 1, 2016, 10:53 PM

                  Hello Claudia,

                  If you ignore them, I’ll do the same. :)
                  And, obviously :), I don’t quite understand your suggestion.
                  I’ll wait for your further tests.

                  Many thanks again. I’m truly grateful.

                  BR.

                  C 1 Reply Last reply Mar 1, 2016, 11:03 PM Reply Quote 0
                  • C
                    Claudia Frank @Yaron
                    last edited by Mar 1, 2016, 11:03 PM

                    Hello Yaron,

                    when right clicking on notepad++ in project view
                    you see a folder external dependencies and under this folder
                    there is a file called atlbase.h If you double click on it
                    search for #pragma section(“ATL$__a”, read, shared)
                    comment the three lines and/or replace it with the ones here.

                    //#pragma section("ATL$__a", read, shared)
                    //#pragma section("ATL$__z", read, shared)
                    //#pragma section("ATL$__m", read, shared)
                    #pragma section("ATL$__a", read)
                    #pragma section("ATL$__z", read)
                    #pragma section("ATL$__m", read)
                    

                    Warnings gone, basically, what ms says, shared means that all process can get access this section
                    but from my understanding this isn’t possible within an win32 environment at all due to memory protection
                    between processes.

                    So from my point it is even safe to ignore it. (but I did the change - less to read on the output ;-))

                    Cheers
                    Claudia

                    1 Reply Last reply Reply Quote 0
                    • C
                      Claudia Frank
                      last edited by Mar 1, 2016, 11:07 PM

                      @dail,

                      could you check if the atlbase.h version provided by community edition has still the shared flag?
                      Actually I don’t see any reason for it. Maybe someone can enlight me.

                      Cheers
                      Claudia

                      D 1 Reply Last reply Mar 2, 2016, 12:16 AM Reply Quote 0
                      • Y
                        Yaron
                        last edited by Mar 1, 2016, 11:21 PM

                        Hello Claudia,

                        Fast and furious. :)
                        Commenting those lines generated some errors.
                        Replacing them works well (no warnings).

                        Thank you.

                        C 1 Reply Last reply Mar 1, 2016, 11:25 PM Reply Quote 0
                        • C
                          Claudia Frank @Yaron
                          last edited by Claudia Frank Mar 1, 2016, 11:26 PM Mar 1, 2016, 11:25 PM

                          Hello Yaron

                          Fast and furious. :)

                          In memories of Paul Walker :-(

                          Commenting those lines generated some errors.

                          Not for me, I actually commented them

                          Replacing them works well (no warnings).

                          Hmmm, sure you commented them correctly ;-)

                          Cheers
                          Claudia

                          1 Reply Last reply Reply Quote 0
                          • Y
                            Yaron
                            last edited by Mar 1, 2016, 11:37 PM

                            Hello Claudia,

                            I have actually not seen the series. I usually prefer European films. :)
                            Anyway, may he RIP.

                            Could you please see this ?

                            BR.

                            C 1 Reply Last reply Mar 1, 2016, 11:41 PM Reply Quote 0
                            • C
                              Claudia Frank @Yaron
                              last edited by Mar 1, 2016, 11:41 PM

                              Hello Yaron,

                              sorry, I 'm a fool :-D (can’t stop laughing)
                              What I meant was commenting the lines to still have the old version
                              but to add the new statements with read flag only.
                              Basically what I have posted but not said :-D

                              Sorry for confusion.

                              Cheers
                              Claudia

                              C 1 Reply Last reply Mar 1, 2016, 11:43 PM Reply Quote 0
                              • C
                                Claudia Frank @Claudia Frank
                                last edited by Mar 1, 2016, 11:43 PM

                                Oh nnoo nooo I said it

                                comment the three lines and/or replace it with the ones here.

                                comment the three lines and replace it with the ones here.

                                comment the three lines or replace it with the ones here.

                                Or?? :-D

                                Cheers
                                Claudia

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  Yaron
                                  last edited by Mar 1, 2016, 11:50 PM

                                  You’re certainly no fool. :)
                                  Being an armature, I understood “and/or” literally.

                                  Great!
                                  Many thanks again.
                                  BR.

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    Yaron
                                    last edited by Mar 1, 2016, 11:57 PM

                                    Being an amateur… :)

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      Claudia Frank
                                      last edited by Mar 2, 2016, 12:02 AM

                                      Just used different translator to find out what this means ;-)

                                      Thx - but you aren’t ;-)

                                      Cheers
                                      Claudia

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        Yaron
                                        last edited by Mar 2, 2016, 12:11 AM

                                        Actually the Penny has dropped for me after posting (i.e. I started analyzing the possible meanings too late). :)

                                        Thanks. Everything is relative.
                                        I certainly didn’t know what I was doing here. :)

                                        BR.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dail @Claudia Frank
                                          last edited by Mar 2, 2016, 12:16 AM

                                          @Claudia-Frank said:

                                          could you check if the atlbase.h version provided by community edition has still the shared flag?
                                          Actually I don’t see any reason for it. Maybe someone can enlight me.

                                          Cheers
                                          Claudia

                                          My header does not have the shared flag, it only has

                                          #pragma section("ATL$__a", read)
                                          #pragma section("ATL$__z", read)
                                          #pragma section("ATL$__m", read)
                                          
                                          C 1 Reply Last reply Mar 2, 2016, 12:18 AM Reply Quote 0
                                          18 out of 30
                                          • First post
                                            18/30
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors