Building FAR Manager

You have encountered a problem using Far Manager? Here you can get help.
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Building FAR Manager

Post by DrKnS »

Latest post of the previous page:

We cannot test and support every mingw distribution in the universe - take the one from the 2useven10's link above, it "just works".
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Building FAR Manager

Post by 2useven10 »

ChemicalDruid wrote: Hmmm... _WIN32_WINNT seems to be 0x0502 on my Windows 10.0.14393
It is not about the system it is about SDK version.
0x0502 version used in sdkddkver.h if neither WINVER nor _WIN32_WINNT was defined.
It looks like __GNUC__ is not defined in gcc you used, otherwise it should be defined in headers.hpp

Code: Select all

# undef WINVER
# undef _WIN32_WINNT
# undef _WIN32_IE
# define WINVER       0x0603
# define _WIN32_WINNT 0x0603
Last edited by 2useven10 on Fri 03 Feb, 2017 22:53, edited 3 times in total.
ChemicalDruid
Posts: 6
Joined: Fri 03 Feb, 2017 01:21

Building FAR Manager

Post by ChemicalDruid »

DrKnS wrote: We cannot test and support every mingw distribution in the universe - take the one from the 2useven10's link above, it "just works".
I am using the latest MSYS2 64bit installation with the mingw-w64-x86_64-toolchain and base-devel packages on Windows 10 - is that not a distribution worthy of support?
ChemicalDruid
Posts: 6
Joined: Fri 03 Feb, 2017 01:21

Building FAR Manager

Post by ChemicalDruid »

2useven10 wrote: It is not about the system it is about SDK version.
0x0502 version used in sdkddkver.h if neither WINVER nor _WIN32_WINNT was defined.
It looks like __GNUC__ is not defined in gcc you used, otherwise it should be defined in headers.hpp
When using a barebones C++ source file, __GNUC__ is output as 6 below:

Code: Select all

    printf("__GNUC__ = %ld\n",__GNUC__);
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Building FAR Manager

Post by DrKnS »

ChemicalDruid wrote: is that not a distribution worthy of support?
I have no idea.
You have mentioned windows 10 several times, does that mean it's a 'standard' toolset there?
ChemicalDruid
Posts: 6
Joined: Fri 03 Feb, 2017 01:21

Building FAR Manager

Post by ChemicalDruid »

DrKnS wrote:
ChemicalDruid wrote: is that not a distribution worthy of support?
I have no idea.
You have mentioned windows 10 several times, does that mean it's a 'standard' toolset there?
As the Windows Subsystem for Linux is now released, albeit marked as beta, the MinGW environment, especially inside the MSYS2 shell, is pretty standard for non-VS uses, IMHO.

Anyway, the workarounds I mentioned have fixed the issues, so what I was looking for was mostly an opinion or two about what could cause the issues in an otherwise vanilla system with pretty standard setup software and settings.
Post Reply

Return to “Support and Troubleshooting”