Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i faced issue when build windows export template on linux mint 18 #21901

Closed
ahmedyounis75 opened this issue Sep 9, 2018 · 3 comments
Closed
Labels

Comments

@ahmedyounis75
Copy link

i get this errors - im search more to solve my export issue for windows and android
but i want to solve export to windows first
my godot version is 3.1

~/godot.3.1 $ scons p=windows -j 8
scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
Using Mingw
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[ 19%] Compiling ==> thirdparty/etc2comp/EtcImage.cpp
[ 21%] Compiling ==> modules/gdnative/net/register_types.cpp
[ 21%] Compiling ==> modules/gdnative/arvr/arvr_interface_gdnative.cpp
[ 21%] Compiling ==> modules/gdnative/arvr/register_types.cpp
[ 21%] Compiling ==> modules/gdnative/pluginscript/pluginscript_loader.cpp
[ 21%] Compiling ==> modules/gdnative/pluginscript/pluginscript_language.cpp
[ 21%] Compiling ==> modules/gdnative/pluginscript/pluginscript_script.cpp
[ 21%] Compiling ==> modules/gdnative/pluginscript/pluginscript_instance.cpp
[ 21%] Compiling ==> modules/gdnative/pluginscript/register_types.cpp
[ 21%] Compiling ==> modules/gdnative/gdnative_api_struct.gen.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_compiler.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_parser.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_tokenizer.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_function.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_editor.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript_functions.cpp
[ 21%] Compiling ==> modules/gdscript/gdscript.cpp
[ 21%] Compiling ==> modules/gdscript/register_types.cpp
[ 21%] Compiling ==> modules/gdscript/editor/gdscript_highlighter.cpp
thirdparty/etc2comp/EtcImage.cpp: In member function 'Etc::Image::EncodingStatus Etc::Image::Encode(Etc::Image::Format, Etc::ErrorMetric, float, unsigned int, unsigned int)':
thirdparty/etc2comp/EtcImage.cpp:259:64: error: invalid use of incomplete type 'class std::future'
std::future *handle = new std::future[a_uiMaxJobs];
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:268:12: error: invalid use of incomplete type 'class std::future'
handle[i] = async(std::launch::async, &Image::RunFirstPass, this, i, uiNumThreadsNeeded);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:268:91: error: invalid use of incomplete type 'class std::future'
= async(std::launch::async, &Image::RunFirstPass, this, i, uiNumThreadsNeeded);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:275:12: error: invalid use of incomplete type 'class std::future'
handle[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:275:13: error: invalid use of incomplete type 'class std::future'
handle[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:330:107: error: invalid use of incomplete type 'class std::future'

*handleToBlockEncoders = new std::future[uiNumThreadsNeeded-1];
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:334:30: error: invalid use of incomplete type 'class std::future'
handleToBlockEncoders[i] = async(std::launch::async, &Image::IterateThroughWorstBlocks, this, blocksToIterateThisPass, i, uiNumThreadsNeeded);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:334:147: error: invalid use of incomplete type 'class std::future'
erateThroughWorstBlocks, this, blocksToIterateThisPass, i, uiNumThreadsNeeded);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:340:50: error: invalid use of incomplete type 'class std::future'
uiIteratedBlocks += handleToBlockEncoders[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:340:51: error: invalid use of incomplete type 'class std::future'
uiIteratedBlocks += handleToBlockEncoders[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:356:12: error: invalid use of incomplete type 'class std::future'
handle[i] = async(std::launch::async, &Image::SetEncodingBits, this, i, a_uiJobs);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:356:84: error: invalid use of incomplete type 'class std::future'
dle[i] = async(std::launch::async, &Image::SetEncodingBits, this, i, a_uiJobs);
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:362:12: error: invalid use of incomplete type 'class std::future'
handle[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
thirdparty/etc2comp/EtcImage.cpp:362:13: error: invalid use of incomplete type 'class std::future'
handle[i].get();
^
In file included from thirdparty/etc2comp/EtcImage.cpp:40:0:
/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/include/c++/future:115:11: note: declaration of 'class std::future'
class future;
^~~~~~
[ 22%] scons: *** [thirdparty/etc2comp/EtcImage.windows.tools.64.o] Error 1
Compiling ==> modules/gridmap/grid_map.cpp
scons: building terminated because of errors.


thanks in advance

@bruvzg
Copy link
Member

bruvzg commented Sep 9, 2018

Duplicate of #20405, #12417 and #9258, make sure your MinGW installation is using posix threads (check compiling_for_windows.html#troubleshooting for instructions).

@ahmedyounis75
Copy link
Author

yes many thanks for your reply and help it's working - but i want to know the restart pc make anything to this configuration because i was make it as the same steps but not working

sorry for mt late to reply - my system was stopped and reinstall it :)

now im try to re-complete the steps for android and other export template i need and come back if any issues happen :)

regards and again sorry for late to thank you

@ahmedyounis75
Copy link
Author

hi again . this error when i start the 3d project i working on or empty new project

`OpenGL ES 3.0 Renderer: GeForce GTX 970/PCIe/SSE2
OPENING: /home/ahmedyounis/Desktop/New Game Project (::home::ahmed::Desktop::New Game Project)
OpenGL ES 3.0 Renderer: GeForce GTX 970/PCIe/SSE2
user@user:~/Desktop$ WARNING: not found: _global_script_class_icons
update options
ERROR: _EDITOR_GET: Condition ' !EditorSettings::get_singleton()->has_setting(p_setting) ' is true. returned: Variant()
At: editor/editor_settings.cpp:1062.

thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants