当前位置:网站首页>Service not found troubleshooting and resolution of error messages in the secondary development of the source code of the open source platform easydarwin
Service not found troubleshooting and resolution of error messages in the secondary development of the source code of the open source platform easydarwin
2022-06-24 17:25:00 【Tsingsee green rhino video】
TSINGSEE Green rhinoceros video development EasyDarwin Open source projects provided by open source platforms , Complete source code , Help developers achieve streaming audio and video products faster and easier , Realize live broadcast and on demand of mobile Internet streaming media .
A user reported that Windows In the environment EasyDarwin Source code secondary development ,Git Pull the source code , There's something that doesn't work , newspaper :service not found
Not found in source path EasyDarwin.exe, It should be a compilation failure , Need to check the installation environment .
1. Observe EasyDarwin Source code , It uses go vendor Pattern . At present go The latest version of is 1.16, Recommended for new projects go module Pattern . As an old project , Let's put EasyDarwin Use Git clone Put it in Go Path Under the table of contents , For details, please refer to the official .
2. Installation preparation tool go get -u -v github.com/kardianos/govendor// Package management tools go get -u -v github.com/penggy/gobuild// Hot compilation tools , Download may encounter the problem of being restricted by climbing over the wall , If the installation is successful, there will be corresponding executable files in bin Under the table of contents .
3. In development mode npm run dev function , Wrong again. PS C:\Users\admin\go\src\github.com\EasyDarwin\EasyDarwin> npm run dev
[email protected] dev C:\Users\admin\go\src\github.com\EasyDarwin\EasyDarwin go build -o EasyDarwin.exe
github.com/EasyDarwin/EasyDarwin/vendor/github.com/mattn/go-sqlite3 cgo: exec gcc: exec: “gcc”: executable file not found in %PATH%
Here is cgo need gcc Compile environment , install mingw that will do .
4. Again using npm run dev, Successfully compiled EasyDarwin.exe file , You can see this file about 32M. It's because of the volume , Has been added to .gitigonre file . This is not in the source code Exe file , The feedback in the group can't work .
5. Operation service
Direct operation (Windows)EasyDarwin.exe
With Ctrl + C Out of Service
Start as a service (Windows)ServiceInstall-EasyDarwin.exe
With ServiceUninstall-EasyDarwin.exe uninstall EasyDarwin service
边栏推荐
- To redefine the storage architecture, Huawei has used more than five "cores"
- Several schemes of traffic exposure in kubernetes cluster
- The problem is as big as the middle stage
- What is the problem that the data is not displayed on the login web page after the configuration of the RTSP video security intelligent monitoring system easynvr is completed
- Kubernetes 1.20.5 helm installation Jenkins
- Development analysis of main chain system
- 集体突破之后,中国公有云的下一步落在哪里?
- Collect tke logs through daemonset CRD
- After the collective breakthrough, where is the next step of China's public cloud?
- The RTSP video image intelligent analysis platform easynvr cascades to the superior platform through the national standard for playback optimization
猜你喜欢
随机推荐
Issue 003 how to detect whether a sticky positioned element is in a pinned state
Five steps to effectively monitor network traffic
Explore cloudera manager management software tuning (1)
The problem is as big as the middle stage
Coding enhances security vulnerability scanning capability and helps the team "move left safely"
Development analysis of main chain system
重新定义存储架构,华为用了不止5颗“芯”
2021-04-02: given a square or rectangular matrix, zigzag printing can be realized.
Sigai intelligent container damage identification products are deployed in Rizhao Port and Yingkou Port
Building a cross public chain platform to solve DAPP development problems
How to learn go language happily? Let's go!
集体突破之后,中国公有云的下一步落在哪里?
Tencent released "warehouse express" and issued "ID card" for each commodity!
Solution to the problem that kibana's map cannot render longitude and latitude coordinate data
Analysis and introduction of NFT meta universe source code construction
Is CICC securities reliable? Is it legal? Is it safe to open a stock account?
Cloud native monitoring via blackbox_ Exporter monitoring website
[DB Bao 45] MySQL highly available mgr+consult architecture deployment
How to troubleshoot and solve the problem that the ultra-low delay security live broadcast system webrtc client plays no audio in the browser?
究竟有哪些劵商推荐?现在网上开户安全么?

