iyd2019 wrote: ↑Thu Jun 04, 2020 6:34 pm
Hi there!
I have just finished configuring MacOS to get David's FreeCAD Docker image successfully running in my macbookpro, including GUI!!. It was not straight forward, so here are the steps that maybe could be included in the Compile_on_Docker#Mac_OS_users:
Hey, I'm rather annoyed with myself that I didn't acknowledge this earlier, but I've just rolled off a set of final exams, which rather occupied my time.
Hot damn! Thank you very much for doing this, and helping Menfin. I'm going to spend the break taking your work and putting it in the main project and documentation.
David_D wrote: ↑Sun Jun 21, 2020 11:10 pm
Hot damn! Thank you very much for doing this, and helping Menfin. I'm going to spend the break taking your work and putting it in the main project and documentation.
The Gui starts, but as soon as you request any OpenGL stuff, it hangs
I'm pretty busy myself, so don't get too hard on yourself: this is voluntary work!!
BR!
Ah well, the NVIDIA fix you came up with is pretty fantastic by itself. I've thoroughly buggered my computer on more than one occasion doing all the switching between graphics drivers. I still need to turn that into a new image.
I'd help you with the mac issue, but I don't have any macs nearby. Perhaps I can convince my roommate to let me play with his.
I open docker and see sweet_faraday docker running but in the terminal it has me in root@c3bd090c3000 and only contains the file build_script.sh. When I type sh build_script.sh it says "CMake Error: The source directory "/mnt/source" does not exist.
Specify --help for usage, or press the help button on the CMake GUI." ? if I try to type --help like it says that doesnt help and I dont have the CMake GUI installed. Any thoughts on what is going on?
I open docker and see sweet_faraday docker running but in the terminal it has me in root@c3bd090c3000 and only contains the file build_script.sh. When I type sh build_script.sh it says "CMake Error: The source directory "/mnt/source" does not exist.
Specify --help for usage, or press the help button on the CMake GUI." ? if I try to type --help like it says that doesnt help and I dont have the CMake GUI installed. Any thoughts on what is going on?
Did you define the environment variables fc_source and fc_build? It sounds like you didn't mount anything.
I open docker and see sweet_faraday docker running but in the terminal it has me in root@c3bd090c3000 and only contains the file build_script.sh. When I type sh build_script.sh it says "CMake Error: The source directory "/mnt/source" does not exist.
Specify --help for usage, or press the help button on the CMake GUI." ? if I try to type --help like it says that doesnt help and I dont have the CMake GUI installed. Any thoughts on what is going on?
Did you define the environment variables fc_source and fc_build? It sounds like you didn't mount anything.
Ok I tried it by doing this with the environment variables and they were created but I still get the same CMake issue?
brickmaker wrote: ↑Wed Aug 19, 2020 5:06 pm
Ok I tried it by doing this with the environment variables and they were created but I still get the same CMake issue?
You're not assigning any environment variables with that command. Using the -e flag sets the environment variables within the docker container. The environment variables need to be set outside the docker container so the docker run command can use them. You can tell, because the run command references them with $fc_source $fc_build etc. Please follow the instructions on the wiki page or the gitlab readme.