git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: ./configure fails to link test program due to missing dependencies

From
Eli Schwartz <eschwartz@gentoo.org>
Date
Sep 26, 2024, 16:04 UTC
Message-ID
<71ed5967-0302-42bc-97c7-81886408d688@gentoo.org>
In-Reply-To
<3a303c6e-35b0-4428-9d23-799b33194330@gmail.com>
On 9/26/24 9:55 AM, Phillip Wood wrote:
Show 6 quoted lines
> One thing to bear in mind is why our CMakeLists.txt was introduced in
> the first place [1]. Visual Studio's CMake integration means that so
> long as git-for-windows is installed building git is simply a case of
> clicking on a button, there is no need to install extra software or
> plugins. I'm not sure the same is true for meson and I don't think we
> want to end up supporting both.

I can't really offer suggestions on what may or may not come preinstalled in Visual Studio. That thread does suggest the major problem cmake was trying to solve is:

- having to install the git-for-windows sdk at all (is it still
  necessary? I guess so, because POSIX shell and perl and mingw
  runtimes. Unsure how either meson or cmake could solve this.)
- people who are *unfamiliar with the command line and want a GUI*

Meson has a trivially installable VS Code plugin that is supposed to handle setting up the project for you. You can generate either ninja projects or Visual Studio solutions. "One may need to install a plugin" is hopefully not as big a barrier to entry as "install a bunch of stuff then go to a shell and run make vcxproj". Is the criteria truly "must be one button click"?

I'm aware that Visual Studio and VS Code are different IDEs but I know nothing really about the former, SEO for distinguishing between the two is *atrocious*, they use the same exact plugins marketplace, and I figure using VS Code ought to be easy enough for such users if necessary, anyway.

I think that discussion between Meson / CMake / GNU Make / etc. should be based on technical merit with attention paid to ease of use without coalescing down to "unfortunately, our choice has been made for us. We must support a *specific* Windows IDE and use whichever build system is preinstalled inside that IDE, because it must be a one-button solution with no dependencies".

Stuff like "how painful is it for a Windows contributor to set up an SDK and then also go mess around with Makefile targets and then load the result into their IDE" is an interesting discussion to have but not quite the same as saying "go to the marketplace and install such and such plugin" is an obstacle.

-- 
Eli Schwartz
Previous: Phillip WoodNext: phillip.wood123@gmail.com
Message 16 of 31 in “./configure fails to link test program due to missing dependencies”
  1. Henrik HolstSep 14, 2024
  2. Junio C HamanoSep 15, 2024
  3. brian m. carlsonSep 15, 2024
  4. Patrick SteinhardtSep 16, 2024
  5. Phillip WoodSep 18, 2024
  6. Junio C HamanoSep 18, 2024
  7. Patrick SteinhardtSep 24, 2024
  8. Eli SchwartzSep 24, 2024
  9. Paul SmithSep 24, 2024
  10. Patrick SteinhardtSep 25, 2024
  11. Eli SchwartzSep 25, 2024
  12. Patrick SteinhardtSep 25, 2024
  13. Phillip WoodSep 26, 2024
  14. Patrick SteinhardtSep 26, 2024
  15. Phillip WoodSep 27, 2024
  16. Eli SchwartzSep 26, 2024
  17. phillip.wood123@gmail.comSep 27, 2024
  18. Junio C HamanoSep 26, 2024
  19. Johannes SchindelinSep 29, 2024
  20. Eli SchwartzSep 29, 2024
  21. Phillip WoodSep 30, 2024
  22. Eli SchwartzSep 30, 2024
  23. Junio C HamanoSep 30, 2024
  24. Johannes SchindelinSep 30, 2024
  25. Patrick SteinhardtSep 25, 2024
  26. Patrick SteinhardtSep 25, 2024
  27. Junio C HamanoSep 24, 2024
  28. Paul SmithSep 25, 2024
  29. Eli SchwartzSep 26, 2024
  30. Paul SmithSep 26, 2024
  31. Eli SchwartzSep 24, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.