how to build libpack for freecad0.18.4 by conda?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
how to build libpack for freecad0.18.4 by conda?
for help:
I want to compile python3.6 in freecad0.18.4, but there is no libpack for freecad0.18 and python3. So I ready to make libpack for freecad0.18.4 and python3 by conda. I don't know which dependency packages to download. Hope to get a reply soon!
I want to compile python3.6 in freecad0.18.4, but there is no libpack for freecad0.18 and python3. So I ready to make libpack for freecad0.18.4 and python3 by conda. I don't know which dependency packages to download. Hope to get a reply soon!
Re: how to build libpack for freecad0.18.4 by conda?
Hello yhw-miracle! Wecome to FreeCAD and the forumyhw-miracle wrote: ↑Mon Jan 06, 2020 11:50 am for help:
I want to compile python3.6 in freecad0.18.4, but there is no libpack for freecad0.18 and python3. So I ready to make libpack for freecad0.18.4 and python3 by conda. I don't know which dependency packages to download. Hope to get a reply soon!
For conda install freecad 0.18.4 and all necessary runtimes see here: https://anaconda.org/conda-forge/freecad
The Win x64 packages here: https://github.com/FreeCAD/FreeCAD/releases/tag/0.18.4 are packaged from the above conda env.
If you need to compile 0.18.4 yourself, maybe you can explain further?
MOD's, this would be better if moved to Install/Compile sub-forum.
"fight the good fight"
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
I want to develop freecad for the second time and need to modify freecad with c ++ code. Therefore, I need to make libpack for freecad0.18.4, and then recompile it into an executable program in the windows system.
Re: how to build libpack for freecad0.18.4 by conda?
Why not 0.19 then? Only backported fixes will be backported to 0.18.x, new development happens on the mater branch i.e. 0.19yhw-miracle wrote: ↑Mon Jan 06, 2020 11:09 pm ant to develop freecad for the second time and need to modify freecad with c ++ code. Therefore, I need to make libpack for freecad0.18.4, and then recompile it into an executable program in the windows system.
Anyway, if you still want to I can help.
"fight the good fight"
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
I've compiled freecad 0.19, but in debug mode, some errors may be reported, and may be unstable? but, I have no time to consider. So, for stability, I'm going to use 0.18.4, and you can help me compile 0.18.4 , supporting python3, using conda?
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
hello, sgrogan! can you help me compile freecad0.18.4, using conda, supporting python3?sgrogan wrote: ↑Mon Jan 06, 2020 11:12 pmWhy not 0.19 then? Only backported fixes will be backported to 0.18.x, new development happens on the mater branch i.e. 0.19yhw-miracle wrote: ↑Mon Jan 06, 2020 11:09 pm ant to develop freecad for the second time and need to modify freecad with c ++ code. Therefore, I need to make libpack for freecad0.18.4, and then recompile it into an executable program in the windows system.
Anyway, if you still want to I can help.
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
hello, sgrogan! I use vs2017 and FreeCADLibs_12.1.2_x64_VC15 to compile freecad0.19_pre, but encountering some errors.sgrogan wrote: ↑Mon Jan 06, 2020 11:12 pmWhy not 0.19 then? Only backported fixes will be backported to 0.18.x, new development happens on the mater branch i.e. 0.19yhw-miracle wrote: ↑Mon Jan 06, 2020 11:09 pm ant to develop freecad for the second time and need to modify freecad with c ++ code. Therefore, I need to make libpack for freecad0.18.4, and then recompile it into an executable program in the windows system.
Anyway, if you still want to I can help.
[img][http://yhw-miracle.cn/yhw-miracle_2020- ... -41-36.png]
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
hello, sgrogan! I use vs2017 and FreeCADLibs_12.1.2_x64_VC15 to compile freecad0.19_pre, but encountering some errors.sgrogan wrote: ↑Mon Jan 06, 2020 11:12 pmWhy not 0.19 then? Only backported fixes will be backported to 0.18.x, new development happens on the mater branch i.e. 0.19yhw-miracle wrote: ↑Mon Jan 06, 2020 11:09 pm ant to develop freecad for the second time and need to modify freecad with c ++ code. Therefore, I need to make libpack for freecad0.18.4, and then recompile it into an executable program in the windows system.
Anyway, if you still want to I can help.
[img][http://yhw-miracle.cn/yhw-miracle_2020- ... -41-36.png]
Re: how to build libpack for freecad0.18.4 by conda?
OK, let's concentrate on getting 0.19 to compile first with the 12.1.2 Libpack.yhw-miracle wrote: ↑Tue Jan 07, 2020 8:52 am hello, sgrogan! I use vs2017 and FreeCADLibs_12.1.2_x64_VC15 to compile freecad0.19_pre, but encountering some errors.
First how are you getting the source code? git, GitHub download of the tarball, other?
Next how are you running CMake, command line or gui? What flags are you setting?
The linker errors in your linked image suggest that your build process failed during the CMake phase of the build process.
"fight the good fight"
-
- Posts: 13
- Joined: Sat Jan 04, 2020 5:01 am
Re: how to build libpack for freecad0.18.4 by conda?
Hello,sgrogan! Now I can successfully compile freecad0.19_pre, on the windows system. I found that the src/tools/pythontocpp.py file in the source code did not specify the encoding format when reading the file, which may have something to do with linux. Linux defaults to utf-8 encoding, while windows defaults to gbk, so an error is reported at this step.
However, I still want to know how to compile freecad0.18.4, with conda. I am currently stuck in how to make libpack belonging to 0.18.4. It seems to me that 0.19 also supports conda compilation. Can you give me a copy of the process of compiling with conda? Thank you very much!
However, I still want to know how to compile freecad0.18.4, with conda. I am currently stuck in how to make libpack belonging to 0.18.4. It seems to me that 0.19 also supports conda compilation. Can you give me a copy of the process of compiling with conda? Thank you very much!