Comments (5)
scons minizip=no bin/godot leads to this:
...
patform/windows/...
...
platform/android/export/export.cpp:373:14: warning: unused variable 'string_data_offset' [-Wunused-variable]
platform/android/export/export.cpp:374:14: warning: unused variable 'styles_offset' [-Wunused-variable]
platform/android/export/export.cpp:443:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:430:14: warning: unused variable 'line' [-Wunused-variable]
platform/android/export/export.cpp:431:14: warning: unused variable 'nspace' [-Wunused-variable]
platform/android/export/export.cpp:433:14: warning: unused variable 'check' [-Wunused-variable]
platform/android/export/export.cpp:556:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:600:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:326:12: warning: unused variable 'CHUNK_AXML_FILE' [-Wunused-variable]
platform/android/export/export.cpp:327:12: warning: unused variable 'CHUNK_RESOURCEIDS' [-Wunused-variable]
platform/android/export/export.cpp:329:12: warning: unused variable 'CHUNK_XML_END_NAMESPACE' [-Wunused-variable]
platform/android/export/export.cpp:330:12: warning: unused variable 'CHUNK_XML_END_TAG' [-Wunused-variable]
platform/android/export/export.cpp:331:12: warning: unused variable 'CHUNK_XML_START_NAMESPACE' [-Wunused-variable]
platform/android/export/export.cpp:333:12: warning: unused variable 'CHUNK_XML_TEXT' [-Wunused-variable]
platform/android/export/export.cpp:341:11: warning: unused variable 'header' [-Wunused-variable]
platform/android/export/export.cpp:342:11: warning: unused variable 'filesize' [-Wunused-variable]
platform/android/export/export.cpp:347:11: warning: unused variable 'string_count' [-Wunused-variable]
platform/android/export/export.cpp:348:11: warning: unused variable 'styles_count' [-Wunused-variable]
platform/android/export/export.cpp:349:11: warning: unused variable 'string_flags' [-Wunused-variable]
platform/android/export/export.cpp:350:11: warning: unused variable 'string_data_offset' [-Wunused-variable]
platform/android/export/export.cpp:352:11: warning: unused variable 'styles_offset' [-Wunused-variable]
platform/android/export/export.cpp: In static member function 'static Error EditorExportPlatformAndroid::save_apk_file(void_, const String&, const Vector&, int, int)':
platform/android/export/export.cpp:669:24: error: 'zipOpenNewFileInZip' was not declared in this scope
platform/android/export/export.cpp:672:56: error: 'zipWriteInFileInZip' was not declared in this scope
platform/android/export/export.cpp:673:27: error: 'zipCloseFileInZip' was not declared in this scope
platform/android/export/export.cpp: In member function 'virtual Error EditorExportPlatformAndroid::export_project(const String&, bool, const String&)':
platform/android/export/export.cpp:706:55: error: 'unzOpen2' was not declared in this scope
platform/android/export/export.cpp:714:32: error: 'unzGoToFirstFile' was not declared in this scope
platform/android/export/export.cpp:719:78: error: 'zipOpen2' was not declared in this scope
platform/android/export/export.cpp:727:66: error: 'unzGetCurrentFileInfo' was not declared in this scope
platform/android/export/export.cpp:735:25: error: 'unzOpenCurrentFile' was not declared in this scope
platform/android/export/export.cpp:736:48: error: 'unzReadCurrentFile' was not declared in this scope
platform/android/export/export.cpp:737:26: error: 'unzCloseCurrentFile' was not declared in this scope
platform/android/export/export.cpp:791:25: error: 'zipOpenNewFileInZip' was not declared in this scope
platform/android/export/export.cpp:793:49: error: 'zipWriteInFileInZip' was not declared in this scope
platform/android/export/export.cpp:794:24: error: 'zipCloseFileInZip' was not declared in this scope
platform/android/export/export.cpp:796:28: error: 'unzGoToNextFile' was not declared in this scope
platform/android/export/export.cpp:810:19: error: 'zipClose' was not declared in this scope
platform/android/export/export.cpp:811:14: error: 'unzClose' was not declared in this scope
platform/android/export/export.cpp: In static member function 'static void EditorExportPlatformAndroid::device_poll_thread(void)':
platform/android/export/export.cpp:999:12: warning: unused variable 'err' [-Wunused-variable]
platform/android/export/export.cpp:940:9: warning: unused variable 'err' [-Wunused-variable]
platform/android/export/export.cpp: In member function 'virtual Error EditorExportPlatformAndroid::run(int)':
platform/android/export/export.cpp:1099:4: warning: statement has no effect [-Wunused-value]
scons: *** [platform/android/export/export.o] Error 1
scons: building terminated because of errors.
from godot.
minizip is needed, but I'm not sure what the original errors mean. My guess is that gentoo does something weird regarding zlib
from godot.
Gentoo sanitizes the zlib headers because of namespace polution:
https://bugs.gentoo.org/show_bug.cgi?id=383179
This patch fixes it for me and should be okay for distros that don't do this:
--- core/io/ioapi.h.bak 2014-02-20 19:54:44.056383280 -0500
+++ core/io/ioapi.h 2014-02-20 19:55:31.060374495 -0500
@@ -99,6 +99,11 @@
extern "C" {
#endif
+#ifdef _Z_OF
+#undef OF
+#define OF _Z_OF
+#endif
+
#define ZLIB_FILEFUNC_SEEK_CUR (1)
#define ZLIB_FILEFUNC_SEEK_END (2)
from godot.
Just as an info: Godot compiles perfectly fine on Gentoo (amd64) nowadays.
I’ve successfully done Linux, Android and Javascript* builds (debug & release).
So I don’t think this bug is needed anymore.
The integrated libraries are not welcome on Gentoo, and would have to be removed in the ebuild [Gentoo install script], for it to have a chance of becoming integrated in to the package repository. (This is already done with Mozilla software, where it can be turned on with USE flags.)
But generally, everything is fine.
- JS is of course still broken, but that’s another story. :)
from godot.
This issue is old, and apparently fixed judging by the last comment, so archiving it.
from godot.
Related Issues (20)
- TileMap Editor Preview does not respect CanvasItem Texture Filter HOT 1
- Custom Translation `ResourceFormatLoader` not parsed at startup HOT 2
- Animation truncated/cut short/incomplete when importing from blender .blend file. HOT 1
- Nested MultiplayerSpawner causes node not found error if a peer joins after some spawnable scenes are freed. HOT 3
- Cubemap Node does not accept an imported cubemap
- C#: Using dynamic object resolving results in `CSC : warning AD0001: Analyzer 'Godot.SourceGenerators.MustBeVariantAnalyzer'`
- Particles which only have a velocity but no acceleration don't collide properly HOT 3
- Maya navigation scheme breaks Viewport MMB panning
- Auto Complete Not Contextually Correct HOT 1
- MbedTLS 3.6 fails building on Linux arm32
- Could not resolve SDK "Godot.NET.Sdk" HOT 7
- Godot 4 - Linux Nvidia Wayland - Editor Lag and Stutters
- Crash on indexing static null from GDScript HOT 3
- Remote Debugger only working once HOT 1
- [4.2] Headless import leads to invalid geometry in GDQuest TPS demo HOT 3
- VRAM Compressed Texture2DArray formats do not work in Compatibility renderer HOT 1
- `ExportAttribute` is ignored when decorating a generated property using source generators from Roslyn HOT 1
- AStarGrid2D with jumping_enabled is significantly slower than with it disabled. HOT 1
- Wayland DisplayServer does not properly support `opengl3_es` rendering driver HOT 1
- Error with the Vulkan-renderers Forward+ and Mobile: game window shows black and closes without errors shortly after HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.