当前位置:网站首页>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
边栏推荐
- One interview question every day to talk about the process of TCP connection and disconnection
- Exploration of unity webgl
- 【Paper】2021_ Observer-Based Controllers for Incrementally Quadratic Nonlinear Systems With Disturbanc
- Under what conditions does the Z-index attribute expire?
- 为什么win10开热点后电脑没有网络?
- Solution to 293 problems in the week of Li Kou
- Thread safety and processing caused by multithreading
- Unreal 4 learning notes - data storage using blueprints
- PS1 Contemporary Art Center, Museum of modern art, New York
- Pourquoi l'ordinateur n'a - t - il pas de réseau après l'ouverture du Hotspot win10?
猜你喜欢

為什麼win10開熱點後電腦沒有網絡?

Oculus quest2 development: (I) basic environment construction and guide package

Connect to the database and run node JS running database shows that the database is missing

Unity3d lookat parameter description
![[UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example](/img/d7/7bf43437edb87b69cdc5ae858f44e1.jpg)
[UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example

Create transfer generation point

Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore

Parkour demo

PBR material: basic principle and simple fabrication

【Paper】2016_ A Learning-Based Fault Tolerant Tracking Control of an Unmanned Quadrotor Helicopter
随机推荐
Lambda&Stream
Collective system
力扣977. 有序数组的平方
Deeply understand the function calling process of C language
Thread safety and processing caused by multithreading
Singapore parent-child tour, these popular attractions must be arranged
Royal Albert Hall, a popular landmark in London
力扣27. 移除元素
C # Foundation
Sailing experience not to be missed in New York Tourism: take you to enjoy the magnificent city scenery from different perspectives
Connect to the database and run node JS running database shows that the database is missing
[UGV] schematic diagram of UGV version 32
amd锐龙CPU A320系列主板如何安装win7
JPA composite primary key usage
A collection of errors encountered in machine learning with unity
【Paper】2013_ An efficient model predictive control scheme for an unmanned quadrotor helicopter
Procedural animation -- inverse kinematics of tentacles
On mask culling of unity
Oracle-数据的基本操作
Unreal 4 learning notes - Animated Montage