Cubitect / cubiomes

C library that mimics the Minecraft biome generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows compatibility issues?

4gboframram opened this issue · comments

When trying to compile on Windows, there are weird errors. Pretty much the same exact errors happened to another person on the Java edition speedrunning Discord.

Note: We were building my module Pyubiomes, but reading the logs confirms that they are most certainly from Cubiomes. Everything works perfectly on Linux.

I think I was able to pin down one of the problems. The code uses __attribute__, which is GNU-only. This could be fixed with this macro in the headers:

#ifndef __GNUC__
#  define  __attribute__(x)
#endif

Here are my error logs before attempting to fix the problem myself by adding the macro above

  ERROR: Command errored out with exit status 1:
   command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Zach\AppData\Local\Temp\pip-wheel-kqdrutuk'
       cwd: C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\
  Complete output (131 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\Pyubiomes
  copying Pyubiomes\genconsts.py -> build\lib.win-amd64-3.9\Pyubiomes
  copying Pyubiomes\map.py -> build\lib.win-amd64-3.9\Pyubiomes
  copying Pyubiomes\nether.py -> build\lib.win-amd64-3.9\Pyubiomes
  copying Pyubiomes\__init__.py -> build\lib.win-amd64-3.9\Pyubiomes
  running egg_info
  writing Pyubiomes.egg-info\PKG-INFO
  writing dependency_links to Pyubiomes.egg-info\dependency_links.txt
  writing top-level names to Pyubiomes.egg-info\top_level.txt
  reading manifest file 'Pyubiomes.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'Pyubiomes.egg-info\SOURCES.txt'
  copying Pyubiomes\overworld.c -> build\lib.win-amd64-3.9\Pyubiomes
  copying Pyubiomes\wrap.c -> build\lib.win-amd64-3.9\Pyubiomes
  running build_ext
  building 'Pyubiomes.overworld' extension
  creating build\temp.win-amd64-3.9
  creating build\temp.win-amd64-3.9\Release
  creating build\temp.win-amd64-3.9\Release\Pyubiomes
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\python\python39\include -Ic:\python\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tc./Pyubiomes/wrap.c /Fobuild\temp.win-amd64-3.9\Release\./Pyubiomes/wrap.obj
  wrap.c
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(100): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(100): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2146: syntax error: missing ')' before identifier 'invSeed48'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2061: syntax error: identifier 'invSeed48'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(134): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(134): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2146: syntax error: missing ')' before identifier 'mulInv'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2061: syntax error: identifier 'mulInv'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2061: syntax error: identifier '__attribute__'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2059: syntax error: '<cv-qualifer>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(288): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(288): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2146: syntax error: missing ')' before identifier 'getConfig'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2061: syntax error: identifier 'getConfig'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(296): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(296): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2146: syntax error: missing ')' before identifier 'getFeaturePos'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2061: syntax error: identifier 'getFeaturePos'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(299): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(299): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2146: syntax error: missing ')' before identifier 'getFeatureChunkInRegion'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2061: syntax error: identifier 'getFeatureChunkInRegion'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(302): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(302): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2146: syntax error: missing ')' before identifier 'getLargeStructurePos'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2061: syntax error: identifier 'getLargeStructurePos'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(305): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(305): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2146: syntax error: missing ')' before identifier 'getLargeStructureChunkInRegion'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2061: syntax error: identifier 'getLargeStructureChunkInRegion'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2059: syntax error: ';'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2059: syntax error: '<parameter-list>'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(317): error C2143: syntax error: missing ')' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(317): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(318): error C2085: 'isSlimeChunk': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(318): error C2143: syntax error: missing ';' before '{'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(319): error C2065: 'seed': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(320): error C2065: 'chunkX': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(321): error C2065: 'chunkX': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(322): error C2065: 'chunkZ': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(323): error C2065: 'chunkZ': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(326): warning C4047: 'return': 'int (__cdecl *)(const int)' differs in levels of indirection from 'int'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2143: syntax error: missing ')' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2122: 'const int': prototype parameter in name list illegal
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2084: function 'int (__cdecl *__attribute__())(const int)' already has a body
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): note: see previous definition of '__attribute__'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2085: 'isQuadBaseFeature24Classic': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(385): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(385): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2143: syntax error: missing ')' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2122: 'const int': prototype parameter in name list illegal
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2082: redefinition of formal parameter '__attribute__'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2143: syntax error: missing ';' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(387): error C2085: 'isQuadBaseFeature24': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(389): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(389): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2143: syntax error: missing ')' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2122: 'const int': prototype parameter in name list illegal
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2082: redefinition of formal parameter '__attribute__'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2143: syntax error: missing ';' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(391): error C2085: 'isQuadBaseFeature': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(393): error C2143: syntax error: missing ')' before '('
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(393): error C2059: syntax error: ')'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2143: syntax error: missing ')' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2122: 'const int': prototype parameter in name list illegal
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2091: function returns function
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2082: redefinition of formal parameter '__attribute__'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2143: syntax error: missing ';' before 'type'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(395): error C2085: 'isQuadBaseLarge': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(428): error C2085: 'searchAll48': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(445): error C2085: 'getOptimalAfk': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(468): error C2085: 'scanForQuads': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(477): error C2085: 'getBiomeAtPos': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(482): error C2085: 'getShadow': not in formal parameter list
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(482): error C2143: syntax error: missing ';' before '{'
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(483): error C2065: 'seed': undeclared identifier
  C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(483): fatal error C1003: error count exceeds 100; stopping compilation
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for Pyubiomes
  Running setup.py clean for Pyubiomes
Failed to build Pyubiomes
Installing collected packages: Pyubiomes
    Running setup.py install for Pyubiomes ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Zach\AppData\Local\Temp\pip-record-6vlkrmix\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\Pyubiomes'
         cwd: C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\
    Complete output (131 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\Pyubiomes
    copying Pyubiomes\genconsts.py -> build\lib.win-amd64-3.9\Pyubiomes
    copying Pyubiomes\map.py -> build\lib.win-amd64-3.9\Pyubiomes
    copying Pyubiomes\nether.py -> build\lib.win-amd64-3.9\Pyubiomes
    copying Pyubiomes\__init__.py -> build\lib.win-amd64-3.9\Pyubiomes
    running egg_info
    writing Pyubiomes.egg-info\PKG-INFO
    writing dependency_links to Pyubiomes.egg-info\dependency_links.txt
    writing top-level names to Pyubiomes.egg-info\top_level.txt
    reading manifest file 'Pyubiomes.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'Pyubiomes.egg-info\SOURCES.txt'
    copying Pyubiomes\overworld.c -> build\lib.win-amd64-3.9\Pyubiomes
    copying Pyubiomes\wrap.c -> build\lib.win-amd64-3.9\Pyubiomes
    running build_ext
    building 'Pyubiomes.overworld' extension
    creating build\temp.win-amd64-3.9
    creating build\temp.win-amd64-3.9\Release
    creating build\temp.win-amd64-3.9\Release\Pyubiomes
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\python\python39\include -Ic:\python\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tc./Pyubiomes/wrap.c /Fobuild\temp.win-amd64-3.9\Release\./Pyubiomes/wrap.obj
    wrap.c
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(100): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(100): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2146: syntax error: missing ')' before identifier 'invSeed48'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2061: syntax error: identifier 'invSeed48'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(101): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(134): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(134): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2146: syntax error: missing ')' before identifier 'mulInv'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2061: syntax error: identifier 'mulInv'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\javarnd.h(135): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2061: syntax error: identifier '__attribute__'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\layers.h(382): error C2059: syntax error: '<cv-qualifer>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(288): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(288): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2146: syntax error: missing ')' before identifier 'getConfig'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2061: syntax error: identifier 'getConfig'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(289): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(296): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(296): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2146: syntax error: missing ')' before identifier 'getFeaturePos'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2061: syntax error: identifier 'getFeaturePos'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(297): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(299): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(299): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2146: syntax error: missing ')' before identifier 'getFeatureChunkInRegion'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2061: syntax error: identifier 'getFeatureChunkInRegion'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(300): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(302): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(302): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2146: syntax error: missing ')' before identifier 'getLargeStructurePos'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2061: syntax error: identifier 'getLargeStructurePos'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(303): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(305): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(305): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2146: syntax error: missing ')' before identifier 'getLargeStructureChunkInRegion'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2061: syntax error: identifier 'getLargeStructureChunkInRegion'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2059: syntax error: ';'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(306): error C2059: syntax error: '<parameter-list>'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(317): error C2143: syntax error: missing ')' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(317): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(318): error C2085: 'isSlimeChunk': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(318): error C2143: syntax error: missing ';' before '{'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(319): error C2065: 'seed': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(320): error C2065: 'chunkX': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(321): error C2065: 'chunkX': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(322): error C2065: 'chunkZ': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(323): error C2065: 'chunkZ': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(326): warning C4047: 'return': 'int (__cdecl *)(const int)' differs in levels of indirection from 'int'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2143: syntax error: missing ')' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2122: 'const int': prototype parameter in name list illegal
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(382): error C2084: function 'int (__cdecl *__attribute__())(const int)' already has a body
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(316): note: see previous definition of '__attribute__'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(383): error C2085: 'isQuadBaseFeature24Classic': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(385): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(385): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2143: syntax error: missing ')' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2122: 'const int': prototype parameter in name list illegal
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2082: redefinition of formal parameter '__attribute__'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(386): error C2143: syntax error: missing ';' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(387): error C2085: 'isQuadBaseFeature24': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(389): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(389): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2143: syntax error: missing ')' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2122: 'const int': prototype parameter in name list illegal
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2082: redefinition of formal parameter '__attribute__'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(390): error C2143: syntax error: missing ';' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(391): error C2085: 'isQuadBaseFeature': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(393): error C2143: syntax error: missing ')' before '('
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(393): error C2059: syntax error: ')'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2143: syntax error: missing ')' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2122: 'const int': prototype parameter in name list illegal
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2091: function returns function
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2082: redefinition of formal parameter '__attribute__'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(394): error C2143: syntax error: missing ';' before 'type'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(395): error C2085: 'isQuadBaseLarge': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(428): error C2085: 'searchAll48': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(445): error C2085: 'getOptimalAfk': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(468): error C2085: 'scanForQuads': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(477): error C2085: 'getBiomeAtPos': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(482): error C2085: 'getShadow': not in formal parameter list
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(482): error C2143: syntax error: missing ';' before '{'
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(483): error C2065: 'seed': undeclared identifier
    C:\Users\Zach\AppData\Local\Temp\pip-install-vq06ynqy\pyubiomes_61695e952e6f436990298b64a6df5543\cubiomes\finders.h(483): fatal error C1003: error count exceeds 100; stopping compilation
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zach\\AppData\\Local\\Temp\\pip-install-vq06ynqy\\pyubiomes_61695e952e6f436990298b64a6df5543\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Zach\AppData\Local\Temp\pip-record-6vlkrmix\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\Pyubiomes' Check the logs for full command output.

Here are my error logs after trying to fix it myself

building 'Pyubiomes.overworld' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\Pyubiomes
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python\Python39\include -IC:\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tc./Pyubiomes/wrap.c /Fobuild\temp.win-amd64-3.9\Release\./Pyubiomes/wrap.obj
wrap.c
C:\Users\Zach\Downloads\pyubiomes-1\cubiomes\finders.h(818): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\cubiomes\finders.h(820): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\cubiomes\finders.h(1071): warning C4244: 'function': conversion from 'int' to 'float', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(30): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(42): warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(55): warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(305): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(306): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(307): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(308): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(395): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(553): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(555): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(711): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(587): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(607): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(654): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(754): warning C4244: 'function': conversion from 'int64_t' to 'const int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(754): warning C4244: 'function': conversion from 'int64_t' to 'const int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(760): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(761): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1611): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1612): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1618): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1619): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1631): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1632): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1647): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1647): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1653): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1654): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1659): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1660): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1699): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1699): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1708): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1708): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1717): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1718): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1729): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1730): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1669): warning C4244: 'initializing': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(1670): warning C4244: 'initializing': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/finders.c(2734): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(16): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(18): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(20): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(22): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(24): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(53): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(74): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(80): error C2143: syntax error: missing ':' before '...'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(580): warning C4305: 'initializing': truncation from 'double' to 'const float'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(582): warning C4305: 'initializing': truncation from 'double' to 'const float'
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(585): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(586): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(661): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(762): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(762): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(785): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(785): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/layers.c(2825): warning C4013: '__builtin_bswap32' undefined; assuming extern returning int
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/util.c(276): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\../cubiomes/util.c(280): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(16): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(32): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(117): warning C4244: 'return': conversion from 'int64_t' to 'long', possible loss of data
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(157): error C2057: expected constant expression
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(157): error C2466: cannot allocate an array of constant size 0C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(157): error C2133: 'Strongholds': unknown size
C:\Users\Zach\Downloads\pyubiomes-1\Pyubiomes\overworld.c(204): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
./Pyubiomes/wrap.c(32): error C2057: expected constant expression
./Pyubiomes/wrap.c(32): error C2466: cannot allocate an array of constant size 0
./Pyubiomes/wrap.c(32): error C2133: 'biomes_array': unknown size
./Pyubiomes/wrap.c(86): warning C4244: 'function': conversion from 'int64_t' to 'long', possible loss of data
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

The one time I had to use VisualStudio I was really frustrated that it did not support C99 and I have not touched it since.
Apparently in recent versions there is now partial support for C99, and nowadays I try to keep the code C++ compatible anyway, so using cl.exe might not be quite as problematic as it used to be. However, even if the code compiles with VisualStudio, it might not work correctly. I could not find an equivalent option to -fwrapv in the documentation.

I usually aim to get the code to compile without warnings for GCC and CLANG using the provided makefile, so the code does indeed depend on GNU extensions but as mentioned before, I suspect the problems run deeper than support for GNU attributes. Both Cygwin and MinGW should work on Windows though.

Support for Windows should be okay now. See also #72.