-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Installation is resulting as error stating "The system cannot find the file specified Linking Static Library" #1618
Comments
even though the object files are getting created in the scr/classes folder, but the "libgodot-cpp.windows.template_debug.x86_64.a" is not getting created
|
I have tried a couple times now and have not been able to reproduce this. scons v4.6, minggw v12.2, windows 10 |
Are you sure that it's using gcc/g++? If you have MSVC installed, and don't pass the Can you try adding that argument? Or, you could add |
I was also trying to install, and this particular file took me like 15 minutes (I thought it was an error, so I found this GitHub issue). By the way I also passed |
Godot version
4.2.1
godot-cpp version
4.2
System information
windows 11, Intel i7, 64bit
Issue description
I am trying to install GDExtension for my godot, i am following the https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html
I have installed my "gcc" and g++ with Cygwin
C:\Users\india>g++ --version
g++ (GCC) 12.4.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\india>scons --version
SCons by Steven Knight et al.:
SCons: v4.0.0.64fd44ef6c4ea257b065f1ba45e1c202f72e9b5f, 2020-07-04 22:47:08, by bdbaddog on ProDog2020
SCons path: ['e:\installed\anaconda3\lib\site-packages\SCons']
Copyright (c) 2001 - 2020 The SCons Foundation
after running these commands
I have godot-cpp folder in my project and the command
godot --dump-extension-api
produced extension_api.json
and finally, I am running the Scons
scons platform=windows custom_api_file="D:\godotNET\gdextension_cpp_example\extension_api.json"
its producing output
and finally its showing
not sure what i am missing is it the documentation wrong or something with the scons build file?
Note: I am not using any Visual Studio or VS code
Steps to reproduce
mkdir gdextension_cpp_example
cd gdextension_cpp_example
git init
git submodule add -b 4.2 https://github.com/godotengine/godot-cpp
cd godot-cpp
git submodule update --init
godot --dump-extension-api
scons platform=windows custom_api_file="\gdextension_cpp_example\extension_api.json"
Minimal reproduction project
we can follow the same thinghttps://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html
The text was updated successfully, but these errors were encountered: