Skip to content

This is my solution folder for cross-compiling libmesa for arm64 for Raspberry Pi 4 running Windows

Notifications You must be signed in to change notification settings

TheMindVirus/opengl-arm64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opengl-arm64

I have built Mesa3D using Meson and Visual Studio 2019 for ARM64 Windows on Raspberry Pi.

Please see the output at: ./builddir/src/gallium/targets/libgl-gdi/opengl32.dll

Notable Fixes:

MemoryBarrier is defined as a macro in intrin0.h for ARM64 and also in Mesa3D...

//Alastair Cota 30/09/2020 - MemoryBarrier Fix
#ifdef MemoryBarrier
#undef MemoryBarrier
#endif

Visual Studio .vcxproj files when included as generated folders do not include new build targets...

  <ProjectConfiguration Include="debugoptimized|ARM64">
    <Configuration>debugoptimized</Configuration>
    <Platform>ARM64</Platform>
  </ProjectConfiguration>

(Please see ./C#csprojFix for the C# version of this)

Target Architecture for some of the projects in the main solution folder have been deliberately set to x86...

Project Properties->Linker->Advanced->Target Machine /MACHINE:X86 (this should not exist!)

Windows folder names have a length restriction preventing upload to GitHub...

Folder "./builddir/subprojects/zlib-1.2.11/b0b5972@@Windows resource for file 'subprojects_zlib-1.2.11_win32_zlib1.rc'@cus/"
Renamed to: "./builddir/subprojects/zlib-1.2.11/b0b5972@@'@cus/" (post-build)

GitHub on Windows tries to change CR/LF instead of keeping them pure which breaks some projects...

git config --global core.autocrlf false

WARNING! Please do not clean the build.

Mid-build changes have been applied to ensure successful compilation.

This software is provided as is without warranty, with the hope that it may be useful for technological education.

About

This is my solution folder for cross-compiling libmesa for arm64 for Raspberry Pi 4 running Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published