Trying to build from source on Windows (was:help with freecad build)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
michav
Posts: 52
Joined: Mon Sep 09, 2019 7:34 am

Trying to build from source on Windows (was:help with freecad build)

Post by michav »

Hello Freecad forum community,
I am tryin to build Freecad from source
I have been using https://wiki.freecadweb.org/Compile_on_Windows as a reference and recently ran into an unexpected problem.


I have successfully configured using CMake
I opened FreeCAD.sln in MSVS
I ran a build process on ALL_BUILD and completed successfully

Now I am unsure how to go forwared,
I expected that I could simply go into the build file, into bin and find a freecad.exe to run but its not there.

what is the next step? how do I open the newly built freecad from the build file
thanks!
Last edited by Kunda1 on Sat May 07, 2022 5:24 am, edited 1 time in total.
Reason: renamed thread for more clarity
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Trying to build from source on Windows (was:help with freecad build)

Post by kisolre »

I usually build the Install solution after a successful ALL_BUILD build with a custom install folder. I did the LibraryCopy at the beginning as far as I recall to copy the necessary files from the LibPack to the Install folder.
michav
Posts: 52
Joined: Mon Sep 09, 2019 7:34 am

Re: Trying to build from source on Windows (was:help with freecad build)

Post by michav »

I finally got it to work by opening MSVS as administrator.
I guess I didn't have writing privilege's to the bin folder :(
I feel like an idiot
thanks for your help
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Trying to build from source on Windows (was:help with freecad build)

Post by Kunda1 »

Please edit the first post summary and prepend [SOLVED] to it. Thanks.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply