Comments (6)
'cmake' is not recognized as an internal or external command
you have to install cmake
from webrtc-native.
I have cmake installed and in path.
Like I said before cmake is in path. Tested it by just running cmake
in the terminal too.
from webrtc-native.
The path all seems to be hardcoded for *nix systems(i.e, with /).
Perl and NASM seems to be needed to compile openssl. Additional it should be run in an MSYS2 shell.
from webrtc-native.
It appears their CI uses Ubuntu Linux to compile windows. If you have visual studio 2022 and use Git Bash environment Cmake will be found. However there are other issues with hard coding of Pathing styles inside the python code
"mkdir -p C:\Users\hyper\Documents\LamProject\webrtc-native\deps/build/build.windows.template_debug.x86_64.Release.dir/openssl
The syntax of the command is incorrect."
This error tricky to fix cause this thing really only runs in a unix like environment, but its getting some default path that is a windows style path with backslashes and then appending forward slashes to it
from webrtc-native.
Some issues got fixed in #74.
Current error with scons use_mingw=yes
:
> scons use_mingw=yes
scons: Reading SConscript files ...
Auto-detected 24 CPU cores available for build parallelism. Using 23 cores by default. You can override it with the -j argument.
Building for architecture x86_64 on platform windows
scons: done reading SConscript files.
scons: Building targets ...
g++ -o godot-cpp\src\godot.windows.template_debug.x86_64.o -c -std=c++17 -O2 -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -Igodot-cpp\godot-headers -Igodot-cpp\include -Igodot-cpp\gen\include godot-cpp\src\godot.cpp
g++ -o godot-cpp\src\classes\wrapped.windows.template_debug.x86_64.o -c -std=c++17 -O2 -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -Igodot-cpp\godot-headers -Igodot-cpp\include -Igodot-cpp\gen\include godot-cpp\src\classes\wrapped.cpp
g++ -o godot-cpp\src\core\class_db.windows.template_debug.x86_64.o -c -std=c++17 -O2 -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -Igodot-cpp\godot-headers -Igodot-cpp\include -Igodot-cpp\gen\include godot-cpp\src\core\class_db.cpp
....
....
....
g++ -o godot-cpp\gen\src\variant\utility_functions.windows.template_debug.x86_64.o -c -std=c++17 -O2 -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -Igodot-cpp\godot-headers -Igodot-cpp\include -Igodot-cpp\gen\include godot-cpp\gen\src\variant\utility_functions.cpp
ssl_action(["deps\build\build.windows.template_debug.x86_64.Release.dir\openssl\libssl.a", "deps\build\build.windows.template_debug.x86_64.Release.dir\openssl\libcrypto.a"], ["deps\openssl"])
Mkdir("D:\Repo\webrtc-native\deps/build/build.windows.template_debug.x86_64.Release.dir/openssl")
cd D:\Repo\webrtc-native\deps/build/build.windows.template_debug.x86_64.Release.dir/openssl && perl D:\Repo\webrtc-native\deps\openssl/Configure "no-ssl3" "no-weak-ssl-ciphers" "no-legacy" "--prefix=D:\Repo\webrtc-native\deps/build/build.windows.template_debug.x86_64.Release.dir/openssl/dest" "--openssldir=D:\Repo\webrtc-native\deps/build/build.windows.template_debug.x86_64.Release.dir/openssl/dest" "mingw64" "--cross-compile-prefix=x86_64-w64-mingw32-"
scons: *** [deps\build\build.windows.template_debug.x86_64.Release.dir\openssl\libssl.a] The system cannot find the file specified
scons: building terminated because of errors.
from webrtc-native.
As of #100 it should be possible to build using MSVC (worked on my machine ™️ with Visual Studio 2019 and 2022).
You will need to install nasm and add its location to the PATH environment variable.
You will also need a valid perl installation (tested with Strawberry Perl, which in my case didn't require adding to PATH but YMMV).
MinGW builds might need some more work in upstream godot-cpp (see godotengine/godot-cpp#1147).
from webrtc-native.
Related Issues (20)
- NixOS error: libstdc++.so.6: cannot open shared object file: No such file or directory
- Can't establish a communication in NakamaWebRTC project HOT 1
- WebRtcPeerConnection is failing half the time on C# HOT 5
- Can't load WebRTC native plugin on the Mac HOT 2
- Plugin is available in the AssetLib but installs wrongly. HOT 3
- Exporting .ipa to appstore fails HOT 2
- Extension crashes on startup HOT 6
- MacOS, The developer cannot be verified HOT 10
- ICE exchange does not work properly when a native client creates an offer to a browser HOT 5
- Can't build with Godot 4.2-rc1 and MSVC HOT 2
- Crash when using along other GDExtensions HOT 32
- `Invalid candidate format` When adding an ice candidate generated from browser WebRTC HOT 3
- Error when exporting for Web: No suitable library found for GDExtension HOT 3
- Godot 4.0 beta 5 crashes when loading extension HOT 2
- Calling WebRTCPeerConnection.CreateDataChannel in C# throws External component has thrown an exception. HOT 2
- When runing function create_offer() of WebRTCPeerConnection from the editor 1-10000 times, there is approximately 1 and more constant error _create_offer: Failed to gather local ICE candidates HOT 3
- Exporting to MacOS creates an error.
- Make builds for major and minor releases HOT 3
- Linux: bad glibc version HOT 3
- Release export crash HOT 4
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 webrtc-native.