Re: [hatari-devel] program autostart, visual studio Hatari compilation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] program autostart, visual studio Hatari compilation
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Mon, 25 Oct 2021 13:31:58 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1635168720; bh=GVnYvU/Sa5oT7G3aYGGS0ySTSmy1JiXK4Ab1DKcKJaE=; h=Subject:To:From:Date:From; b=mFQf3GTxTDHYXRoXcwQkf01uvgMvXKq3s9tf/18wowy6vPjPtRBpmuIIbIRN6kr/W gECcDC2iYN6rxvCiNDVYzQcAMcre54Tzpy+Z0wRoBwPeq14HP6TS7VCPvm492xObVj NuArsXzb1m88QNbRl4yubIrSjW8F4hrItzS060qxlktuwg4wwhPlyu4U2y11NmK+Va 3fTE7Q1jY4UjoiIDIh28sdeYCMZwRpG+qD6v8euWozmiy1PeEBXHDXcQkxZ6r2HEoV LYbbRIs+uj6MqxvtuvrrZ/vYOOP/WFGzkujxaQsX+N6dmFCG4i8rw2ila7Pq8KIusD fU/vGiDxKG69w==
On 25/10/2021 11.22, D C wrote:
I normally build and run Hatari through Visual Studio since I prefer their
debugger (but with a custom project/solution file and not through cmake).
I don't recall any show stoppers getting it to build.
That being said, it's been a while and I remember there being a lot of
warnings and errors that need to be fixed such as includes for unistd.h or
dirent.h and related calls which don't normally exist on windows and haven't
been wrapped with ifdefs or converted to the windows equivalents.
There are also some issues that need fixing if you're building with unicode
support as well.
FWIW, we're testing building with Visual Studio in the CI nowadays and it's
building fine there:
https://cirrus-ci.com/task/5235837156720640
So you could use the build script from the CI as instructions how to
recreate that build on your own:
https://git.tuxfamily.org/hatari/hatari.git/tree/.cirrus.yml#n96
HTH,
Thomas
It's definitely simpler to just build using cmake and mingw unless you want
to spend some time going through all the errors and warnings.
----------------------------------------------------------------------------
*From:* Paweł Góralski <pgoralski@xxxxxxxxxxxx>
*Sent:* Sunday, 24 October 2021 9:56 PM
*To:* hatari-devel@xxxxxxxxxxxxxxxxxxx <hatari-devel@xxxxxxxxxxxxxxxxxxx>
*Subject:* [hatari-devel] program autostart, visual studio Hatari compilation
Secondly, anyone has any successes with building Hatari with Visual
Studio and CMake (VS2019 should have c99 support as far I know)? Any
show stoppers before I dive in? On first glance SDL2 and other
dependencies prebuild dependencies should be setup (without pkg-config)
along with VS2019 custom flags.
Regards,
Pawel Goralski