Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is it a difference where I compile a code?
Forum Update on Monday, May 27th 2025

Is it a difference where I compile a code?

Scheduled Pinned Locked Moved Unsolved General and Desktop
compile
19 Posts 4 Posters 1.4k Views
  • 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.
  • T Offline
    T Offline
    TomNow99
    wrote on last edited by
    #3

    https://github.com/mregmi/ext2read

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Hi
      For that project i think its just its uses win 7 API and that has changed in win 10
      so it must be upgraded to work. It uses low level disk access.
      I used it a lot in older times.

      1 Reply Last reply
      3
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #5

        Hi
        Sorry i was thinking of
        https://sourceforge.net/projects/ext2read/

        I never tried the Qt version.

        Interresting.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TomNow99
          wrote on last edited by TomNow99
          #6

          I have to create project which can read linux partitions on Windows 10, but I don't know which function I have to use...

          @mrjj I know that is big issue, but I don't have win 10 ( I have win 7 - I have to buy own Win 10 version ) - can you check that ext2read if you have Win10 and tell me is it works?

          @mrjj I only want can read from linux partitions - no write

          mrjjM Pablo J. RoginaP 2 Replies Last reply
          0
          • T TomNow99

            I have to create project which can read linux partitions on Windows 10, but I don't know which function I have to use...

            @mrjj I know that is big issue, but I don't have win 10 ( I have win 7 - I have to buy own Win 10 version ) - can you check that ext2read if you have Win10 and tell me is it works?

            @mrjj I only want can read from linux partitions - no write

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #7

            Hi
            Ok. i would start with
            https://github.com/mregmi/ext2read/blob/master/platform_win32.c

            and see if it can still detect linux partitions.

            if yes then look into ext2.cpp to actually start reading from it.

            Just as note. this seems to be read only .
            So no writing to the linux file system.

            1 Reply Last reply
            1
            • T TomNow99

              I have to create project which can read linux partitions on Windows 10, but I don't know which function I have to use...

              @mrjj I know that is big issue, but I don't have win 10 ( I have win 7 - I have to buy own Win 10 version ) - can you check that ext2read if you have Win10 and tell me is it works?

              @mrjj I only want can read from linux partitions - no write

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #8

              @TomNow99 said in Is it a difference where I compile a code?:

              I have to create project which can read linux partitions on Windows 10,

              I'd say why don't you try to find a library that provides (read) access to ext2/3/4 filesystems from Windows and then you can use this ext2read project as squeleton or guideline given that it has a lot of the GUI already developed...

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TomNow99
                wrote on last edited by
                #9

                @Pablo-J-Rogina I searched, but I can't find library c++ to access to ext3 on Windows 10. I see only posts which are very old ( for example 2010 ).

                mrjjM Pablo J. RoginaP 2 Replies Last reply
                0
                • T TomNow99

                  @Pablo-J-Rogina I searched, but I can't find library c++ to access to ext3 on Windows 10. I see only posts which are very old ( for example 2010 ).

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @TomNow99
                  Hi
                  I only found plug able filesystems
                  https://sourceforge.net/projects/ext2fsd/
                  That allows any app to access the linux system but that
                  is a system driver.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    TomNow99
                    wrote on last edited by
                    #11

                    @mrjj We try this in company too.

                    When windows 10 PRO was updated that Ext2Fsd doesn't work on this system.

                    If you have Win 10 Enterprise everything is ok.

                    mrjjM 1 Reply Last reply
                    0
                    • T TomNow99

                      @mrjj We try this in company too.

                      When windows 10 PRO was updated that Ext2Fsd doesn't work on this system.

                      If you have Win 10 Enterprise everything is ok.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      @TomNow99

                      Ah so 1909 update broke it. ( or later ?)
                      Also broke my vmware and usb sound speaker and other stuff.
                      So unless it get fixed for newer versions, its a no go, i guess.

                      Can i ask a bit about the use case ?
                      It rarely i see anyone else but me wanting to read linux partitions in Windows :)

                      SGaistS 1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TomNow99
                        wrote on last edited by
                        #13

                        We have photos on externals hard drives, which have ext3 file system :)

                        I don't know which update. I only get information that "When we have update Win 10 Pro that app ( ext2fsd ) stop work now"

                        mrjjM 1 Reply Last reply
                        0
                        • T TomNow99

                          We have photos on externals hard drives, which have ext3 file system :)

                          I don't know which update. I only get information that "When we have update Win 10 Pro that app ( ext2fsd ) stop work now"

                          mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #14

                          @TomNow99

                          ahh that way. And it must be ext3 since what ever writes it can only use that ?
                          Linux can read / write ntfs fine. But i guess its not an option.

                          Ok, and it was reinstalled and still not working ?

                          1 Reply Last reply
                          0
                          • mrjjM mrjj

                            @TomNow99

                            Ah so 1909 update broke it. ( or later ?)
                            Also broke my vmware and usb sound speaker and other stuff.
                            So unless it get fixed for newer versions, its a no go, i guess.

                            Can i ask a bit about the use case ?
                            It rarely i see anyone else but me wanting to read linux partitions in Windows :)

                            SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #15

                            @mrjj said in Is it a difference where I compile a code?:

                            @TomNow99

                            Ah so 1909 update broke it. ( or later ?)
                            Also broke my vmware and usb sound speaker and other stuff.
                            So unless it get fixed for newer versions, its a no go, i guess.

                            Can i ask a bit about the use case ?
                            It rarely i see anyone else but me wanting to read linux partitions in Windows :)

                            @mrjj Long time ago, dual boot and wanted to avoid the need of a Fat32 partition to share files between Linux and Windows :-D

                            @TomNow99 did you consider trying the Linux Subsystem for Windows ? Depending on your use case, it might simplify your life.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            mrjjM 1 Reply Last reply
                            1
                            • SGaistS SGaist

                              @mrjj said in Is it a difference where I compile a code?:

                              @TomNow99

                              Ah so 1909 update broke it. ( or later ?)
                              Also broke my vmware and usb sound speaker and other stuff.
                              So unless it get fixed for newer versions, its a no go, i guess.

                              Can i ask a bit about the use case ?
                              It rarely i see anyone else but me wanting to read linux partitions in Windows :)

                              @mrjj Long time ago, dual boot and wanted to avoid the need of a Fat32 partition to share files between Linux and Windows :-D

                              @TomNow99 did you consider trying the Linux Subsystem for Windows ? Depending on your use case, it might simplify your life.

                              mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by
                              #16

                              @SGaist
                              Hehe 100% the same back then. Luckily then came virtualization and life was good.

                              Hmm actually a good idea with Linux Subsystem for Windows
                              https://superuser.com/questions/1245210/access-ubuntu-partition-from-windows-sub-system

                              it should actually be possible from Windows 10 1709+ so that is promising.

                              But wont his windows program need to run inside Linux Subsystem to actually use it ?
                              Not sure :)

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                TomNow99
                                wrote on last edited by
                                #17

                                We have to use disks with ext3 and our customers will have windows :)

                                mrjjM 1 Reply Last reply
                                0
                                • T TomNow99

                                  We have to use disks with ext3 and our customers will have windows :)

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by mrjj
                                  #18

                                  @TomNow99
                                  ok so asking them to install Linux subsystem might not be an option.

                                  I would go with
                                  https://github.com/mregmi/ext2read
                                  I just tried to compile it with mingw 64 as doc says one MUST use and it just
                                  compiled.
                                  However, i cant say if it works as no linux partions to test with :)

                                  In any case, you can quite easily then try it on your system and debug if it fails and maybe a fix is not that bad.

                                  1 Reply Last reply
                                  0
                                  • T TomNow99

                                    @Pablo-J-Rogina I searched, but I can't find library c++ to access to ext3 on Windows 10. I see only posts which are very old ( for example 2010 ).

                                    Pablo J. RoginaP Offline
                                    Pablo J. RoginaP Offline
                                    Pablo J. Rogina
                                    wrote on last edited by
                                    #19

                                    @TomNow99 I guess you may want to take a look at this library: lwext4

                                    Although "The main goal of the lwext4 project is to provide ext2/3/4 filesystem for microcontrollers" documentation also mentions compilation for Windows.

                                    And then take a look at project ext4-browser which relies on that library to provide "a file-archiver like utility which can create, read and modify ext2/3/4 disks and disk images on Windows and Mac OS systems." although the GUI is written using wxWidgets framework.

                                    So getting back to my suggestion, I guess you might combine lwext4 library and the ext2read GUI to achieve your goal...

                                    Upvote the answer(s) that helped you solve the issue
                                    Use "Topic Tools" button to mark your post as Solved
                                    Add screenshots via postimage.org
                                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                                    1 Reply Last reply
                                    1

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved