当前位置:网站首页>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
边栏推荐
- A set of IM architecture technology dry goods for 100 million users (Part 2): reliability, orderliness, weak network optimization, etc
- FPGA systematic learning notes serialization_ Day9 [serial port printing of PS terminal of Xilinx zynq7000 series]
- Explanation of pod DNS configuration & cases of DNS resolution failure
- Example description and case of ansible playbook automated cluster server management
- Solution to the problem that qlineedit setting qdoublevalidator setting range is invalid
- Use BPF to count network traffic
- Leveldb source code analysis -- writing data
- With the solution, the nickname of the applet suddenly becomes "wechat user", and the avatar cannot be displayed?
- zblog判断某个插件是否安装启用的内置函数代码
- test
猜你喜欢
随机推荐
March 27, 2021: give you a head node of the linked list, and rotate the linked list
区块哈希游戏竞猜系统开发(成熟代码)
The problem is as big as the middle stage
Zabix5.0-0 - agent2 monitoring MariaDB database (Linux based)
Construction scheme of campus network clock system (standardized examination room)
Cloud native monitoring practice (2) monitoring and collection of components outside the TKE cluster
[kotlin] constructor summary
C4D learning notes
About with admin option and with grant option
Customizing security groups using BPF
Using consistent hash algorithm in Presto to enhance the data cache locality of dynamic clusters
GB gb28181 video cascading intelligent analysis platform easygbs broadcast video console error 401
Coding enhances security vulnerability scanning capability and helps the team "move left safely"
Will the easycvr video channel of the urban intelligent video monitoring image analysis platform occupy bandwidth after stopping playing?
Collect tke logs through daemonset CRD
Use BPF to count network traffic
Go collaboration and pipeline to realize asynchronous batch consumption scheduling task
How much does the page length affect the ranking?
构建跨公链平台解决DApp开发问题
Release! Tencent IOA and Tencent sky screen were selected into the first batch of certified products of domestic digital trusted services

