# GTK-Fortran GTK3 for visual studio community 2022 error in opening the compiled module file

**URL:** <https://fortran-lang.discourse.group/t/gtk-fortran-gtk3-for-visual-studio-community-2022-error-in-opening-the-compiled-module-file/8374>\
**Category:** Help\
**Created:** [July 22, 2024, 6:08am UTC](https://fortran-lang.discourse.group/t/gtk-fortran-gtk3-for-visual-studio-community-2022-error-in-opening-the-compiled-module-file/8374 "2024-07-22T06:08:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [July 23, 2024, 9:22am UTC](https://fortran-lang.discourse.group/t/gtk-fortran-gtk3-for-visual-studio-community-2022-error-in-opening-the-compiled-module-file/8374/2 "2024-07-23T09:22:09Z")

</div>

Unhappily, I can’t help much concerning gtk-fortran under Windows and Visual Studio.

It seems the `gtk-fortran\src\gtk.f90` module `.mod` file is not accessible.

Note also that the GTK 3 version of gtk-fortran is now also available as a fpm dependency:

> [@Gtk-fortran for GTK 3 can now also be used as a fpm dependency and with MacPorts](https://fortran-lang.discourse.group/t/gtk-fortran-for-gtk-3-can-now-also-be-used-as-a-fpm-dependency-and-with-macports/7990):
>
> The gtk3 branch of gtk-fortran has been exceptionnally updated with backports from gtk4 and can now be used as a fpm dependency. The Fortran interfaces have been regenerated: nothing new of course concerning GTK 3.24 itself (last GTK 3 version released in 2018), but it includes especially the latests GLib 2.80 and Cairo 1.18. See the [CHANGELOG.md](https://github.com/vmagnin/gtk-fortran/blob/gtk3/CHANGELOG.md) file. You may be interested by this branch if you don’t plan to migrate toward GTK 4, or if you use Glade (For GTK 4, Cambalache is not yet in version…

But once again, I don’t know how to make the whole stuff work in Windows.

---

_[View the full topic](https://fortran-lang.discourse.group/t/gtk-fortran-gtk3-for-visual-studio-community-2022-error-in-opening-the-compiled-module-file/8374)._
