Is it a difference where I compile a code?
-
Hello,
I would like to compile one project "ext2read". In other forum I saw a topic that this code isn't run on Win 10 ( I don't know - I saw only opinion ).
Is it a difference between compile that on Win 7 ( i know that works perfect on this OS ) and compile on Win10?
-
@TomNow99 said in Is it a difference where I compile a code?:
project "ext2read".
It would have been nice if you provided a link to that project, just to understand how it is related to Qt framework
-
-
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. -
Hi
Sorry i was thinking of
https://sourceforge.net/projects/ext2read/I never tried the Qt version.
Interresting.
-
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
-
Hi
Ok. i would start with
https://github.com/mregmi/ext2read/blob/master/platform_win32.cand 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. -
@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...
-
@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 ).
-
@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. -
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 said in Is it a difference where I compile a code?:
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.
-
@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-systemit 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 :) -
@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.
-
@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...