当前位置:网站首页>Win10 vs2015 compiling curaengine
Win10 vs2015 compiling curaengine
2022-06-30 04:58:00 【Jason_ Chen__】
Win10 VS2015 compile CuraEngine
Reprint link :https://zhuanlan.zhihu.com/p/120425412
List of articles
# Preface Record your own groping Cura Secondary development process
Environmental Science
1.win 10
2.VS2015
3.CMake version 3.20.5
One 、 Compilation steps
1. Get into window Command line :win+R, Input cmd, enter
2. stay D Disk to create a compilation Directory cd D:mkdir CuraEngine && cd CuraEnginemkdir src && cd src
3. download CuraEngine rely on
(1)libArcus 4.3.0:git clone https://github.com/Ultimaker/libArcus/archive/4.3.0.zip
(2)Protocol Buffers v3.0.2git clone https://github.com/protocolbuffers/protobuf/releases/download/v3.0.2/protobuf-cpp-3.0.2.zip
(3)CuraEngine 4.10git clone https://github.com/Ultimaker/CuraEngine/archive/4.10.0.zip
4. decompression ( Not through the command line , ha-ha )
Two 、 compile protobuf
cd protobuf-3.0.2mkdir install_x64cd cmakemkdir Build && cd Buildcmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=../../../protobuf-3.0.2/install-x64 -Dprotobuf_BUILD_TEST=OFF ..
Not through the command line
1. Get into Build Catalog , perform protobuf.sln file , Get into VS2015
2. stay Debug 64 Next 

3. Get into install_x64 In file , establish Debug Folder , Cut and paste all the documents in
4.Release repeat Debug The operation of , Here is a lazy , ha-ha !!
3、 ... and . compile libArcus
On CMake Gui
First in libArcus-4.3.0 Next , establish Build file ...
compile protobuf The code can be directly copy 了 ,/(ㄒoㄒ)/~~ I can't write any more , Slip away first !!!
See the original link https://zhuanlan.zhihu.com/p/120425412, Explain the problems that will arise
Four 、 Be careful
1.Debug Need to change the setting to MTd,Release by MT2. compile CuraEngine Pay attention to ,Debug I'm going to use protobuf and libArcus Of Debug The library of , in other words Release and Debug Corresponding to each other , But also to implement “ above 1. The content of ”3. Whether the test engine is used successfully , It can be done by 

Note the path of each file ( I filled in the absolute path ) slice -p -j E:/Vs2015_Project/CuraEngine-4.10/build/Release/fdmprinter.def.json -j E:/Vs2015_Project/CuraEngine-4.10/build/Release/prusa_i3.def.json -l E:/Vs2015_Project/CuraEngine-4.10/build/Release/herringbone-gear-large.stl -o E:/Vs2015_Project/CuraEngine-4.10/build/Release/herringbone-gear-large.gcode
The above file download link
1.fdmprinter.def.jsongit clone https://raw.githubusercontent.com/Ultimaker/Cura/4.4/resources/definitions/fdmprinter.def.json
2.prusa_i3.def.jsongit clone https://raw.githubusercontent.com/Ultimaker/Cura/4.4/resources/definitions/prusa_i3.def.json
3.herringbone-gear-large.stlgit clone https://raw.githubusercontent.com/KrisRoofe/curaengine-dockerfile/master/herringbone-gear-large.stl
4.herringbone-gear-large.gcode This is the makefile
边栏推荐
- Important knowledge points in unity3d
- Free travel recommendation in Bangkok: introduction to the Mekong River in Bangkok
- EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
- Implementation of one interview question one distributed lock every day
- [control] multi agent system summary. 5. system consolidation.
- Brew install NVM command not found solution
- Recommended cultural landmarks of these tourist attractions in Bangkok
- LxC and LXD container summary
- Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore
- 力扣27. 移除元素
猜你喜欢

Unreal 4 learning notes - data storage using blueprints
![[UGV] schematic diagram of UGV version 32](/img/4b/03471d2cc96be5d57c97fd1c4e17dc.jpg)
[UGV] schematic diagram of UGV version 32

Unity lens making

【Paper】2021_ Analysis of the Consensus Protocol of Heterogeneous Agents with Time-Delays

力扣209. 长度最小的子数组

Photon pun refresh hall room list

Output directory of log files after unity3d packaging

A virtual reality secret room escape adventure, let you see Technology Singapore

Malignant bug: 1252 of unit MySQL export

Yolov5 torch installation
随机推荐
Singapore must visit these scenic spots during the Spring Festival
Moore Manor diary I: realize the reclamation, sowing, watering and harvest in Moore Manor
Thread safety and processing caused by multithreading
Error about the new version of UE4: unavigationsystemv1:: simplemovetoactor has been deprecated
Solution to Autowired annotation warning
Under what conditions does the Z-index attribute expire?
Procedural animation -- inverse kinematics of tentacles
一条命令运行rancher
Detailed explanation of the process of "flyingbird" small game (camera adjustment and following part)
Qos(Quality of Service)
Sailing experience not to be missed in New York Tourism: take you to enjoy the magnificent city scenery from different perspectives
Arsenal Stadium Tour - take you to the front and back of Arsenal Stadium
[UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example
Webots learning notes
Some books you should not miss when you are new to the workplace
【Paper】2020_ Research on defense and evaluation strategy of heterogeneous UAV formation_ Zuojiankai
【Paper】2021_ Uniformity of heterogeneous hybrid multi-level intelligent systems using UGV and UAV
Connect() and disconnect() of socket in C #
Static keyword
Brew install NVM command not found solution