Ubuntu install issues
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Ubuntu install issues
I have now installed ubuntu on my mac (dual boot) and allmost everything is running. I think i have even the FEM working.
There are now two issues
1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
2) i have tried installed area thing for path module but still freecad can't find him. so probably at the wrong place. what is the location where i have to install the area stuff?
thanks
There are now two issues
1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
2) i have tried installed area thing for path module but still freecad can't find him. so probably at the wrong place. what is the location where i have to install the area stuff?
thanks
Re: Ubuntu install issues
How did you install FreeCAD and how did you install libarea.Jee-Bee wrote:I have now installed ubuntu on my mac (dual boot) and allmost everything is running. I think i have even the FEM working.
There are now two issues
1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
2) i have tried installed area thing for path module but still freecad can't find him. so probably at the wrong place. what is the location where i have to install the area stuff?
thanks
Re: Ubuntu install issues
In my setup i have this build uptriplus wrote:How did you install FreeCAD and did you install libarea.
\Home\FreeCAD\FreeCAD-git
\Home\FreeCAD\build
\Home\FreeCAD\libarea
than cmake what does a bit strange:
Code: Select all
jbubuntu@jbubuntu-MacBook:~/FreeCAD/libarea$ cmake
cmake version 2.8.12.2
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = Specify a build system generator.
-T <toolset-name> = Specify toolset name if supported by
generator.
-Wno-dev = Suppress developer warnings.
-Wdev = Enable developer warnings.
-E = CMake command mode.
-i = Run in wizard mode.
-L[A][H] = List non-advanced cached variables.
--build <dir> = Build a CMake-generated project binary tree.
-N = View mode only.
-P <file> = Process script mode.
--find-package = Run in pkg-config like mode.
--graphviz=[file] = Generate graphviz of dependencies, see
CMakeGraphVizOptions.cmake for more.
--system-information [file] = Dump information about this system.
--debug-trycompile = Do not delete the try_compile build tree.
Only useful on one try_compile at a time.
--debug-output = Put cmake in a debug mode.
--trace = Put cmake in trace mode.
--warn-uninitialized = Warn about uninitialized values.
--warn-unused-vars = Warn about unused variables.
--no-warn-unused-cli = Don't warn about command line options.
--check-system-vars = Find problems with variable usage in system
files.
--help-command cmd [file] = Print help for a single command and exit.
--help-command-list [file] = List available listfile commands and exit.
--help-commands [file] = Print help for all commands and exit.
--help-compatcommands [file]= Print help for compatibility commands.
--help-module module [file] = Print help for a single module and exit.
--help-module-list [file] = List available modules and exit.
--help-modules [file] = Print help for all modules and exit.
--help-custom-modules [file]= Print help for all custom modules and exit.
--help-policy cmp [file] = Print help for a single policy and exit.
--help-policies [file] = Print help for all policies and exit.
--help-property prop [file] = Print help for a single property and exit.
--help-property-list [file] = List available properties and exit.
--help-properties [file] = Print help for all properties and exit.
--help-variable var [file] = Print help for a single variable and exit.
--help-variable-list [file] = List documented variables and exit.
--help-variables [file] = Print help for all variables and exit.
--copyright [file] = Print the CMake copyright and exit.
--help,-help,-usage,-h,-H,/?= Print usage information and exit.
--help-full [file] = Print full help and exit.
--help-html [file] = Print full help in HTML format.
--help-man [file] = Print full help as a UNIX man page and exit.
--version,-version,/V [file]= Show program name/version banner and exit.
Generators
The following generators are available on this platform:
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files (experimental).
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.
KDevelop3 = Generates KDevelop 3 project files.
KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
after that i restart FreeCAD and goes to path module it still gives the area error
Re: Ubuntu install issues
First of all if you ask for help at least provide feedback after for future reference. As for your questions in this thread.
http://www.freecadweb.org/wiki/?title=C ... and_Ubuntu
If you want to manually compile FreeCAD take your time and learn what you did wrong. Run manually compiled FreeCAD from the place you compiled it by running ./bin/FreeCAD after make has finished. As for system wide installation for now use daily PPA:
viewtopic.php?f=15&t=11811
But if you still want to do it now probably this makes the most sense. Install needed dependency first:
After do:
Start FreeCAD and try out the Path WB.
Additional info. As libarea doesn't have make uninstall target save the output of make install command as you might want to remove the installed files manually once libarea will be installed automatically when installing FreeCAD from daily PPA.
That probably happened as you didn't follow all the needed steps on Wiki when manually compiling FreeCAD:1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
http://www.freecadweb.org/wiki/?title=C ... and_Ubuntu
If you want to manually compile FreeCAD take your time and learn what you did wrong. Run manually compiled FreeCAD from the place you compiled it by running ./bin/FreeCAD after make has finished. As for system wide installation for now use daily PPA:
Code: Select all
sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install freecad
You can wait (probably a few days) and you won't have to do anything anymore manually as libarea will be installed as part of FreeCAD package update from daily PPA:2) i have tried installed area thing for path module but still freecad can't find him. so probably at the wrong place. what is the location where i have to install the area stuff?
viewtopic.php?f=15&t=11811
But if you still want to do it now probably this makes the most sense. Install needed dependency first:
Code: Select all
sudo apt-get install libboost-python-dev
Code: Select all
cd
git clone https://github.com/Heeks/libarea.git
cd libarea
cmake .
make
sudo make install
Additional info. As libarea doesn't have make uninstall target save the output of make install command as you might want to remove the installed files manually once libarea will be installed automatically when installing FreeCAD from daily PPA.
Re: Ubuntu install issues
It's better to
and then as triplus posted
This is the modified version of the original that FreeCAD is actually using (modified to remove license issues)
Code: Select all
git clone https://github.com/danielfalck/libarea.git
This is the modified version of the original that FreeCAD is actually using (modified to remove license issues)
"fight the good fight"
Re: Ubuntu install issues
Yes you are correct and that is the repository that should be used.sgrogan wrote:It's better toand then as triplus postedCode: Select all
git clone https://github.com/danielfalck/libarea.git
This is the modified version of the original that FreeCAD is actually using (modified to remove license issues)
Re: Ubuntu install issues
didn't know this i think i missed thattriplus wrote:Code: Select all
That probably happened as you didn't follow all the needed steps on Wiki when manually compiling FreeCAD: http://www.freecadweb.org/wiki/?title=CompileOnUnix#Debian_and_Ubuntu ... sudo add-apt-repository ppa:freecad-maintainers/freecad-daily sudo apt-get update sudo apt-get upgrade sudo apt-get install freecad
i did exept the `.` i didn't saw that on one of the printscreens (another topic…)triplus wrote:viewtopic.php?f=15&t=11811
But if you still want to do it now probably this makes the most sense. Install needed dependency first:
After do:Code: Select all
sudo apt-get install libboost-python-dev
Code: Select all
cd git clone https://github.com/Heeks/libarea.git cd libarea cmake . make sudo make install
I trysgrogan wrote:It's better toand then as triplus postedCode: Select all
git clone https://github.com/danielfalck/libarea.git
This is the modified version of the original that FreeCAD is actually using (modified to remove license issues)
Re: Ubuntu install issues
thanks it works!!
Only The Part WB still fails when i go through there...Jee-Bee wrote: 1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
Re: Ubuntu install issues
It crashes if you switch to Part WB? Or what exactly happens? You are talking about FreeCAD installed from daily PPA?Jee-Bee wrote:thanks it works!!
Only The Part WB still fails when i go through there...Jee-Bee wrote: 1) most important when i go to the part workbench FreeCAD stops working. i wanna now why but i can't find the log file. Where is placed this??
Code: Select all
freecad -l
Code: Select all
/home/username/.FreeCAD/FreeCAD.log
Re: Ubuntu install issues
Yes indeed. FreeCAD crash when i switch to Part WBtriplus wrote:It crashes if you switch to Part WB? Or what exactly happens? You are talking about FreeCAD installed from daily PPA?
Code: Select all
OS: Ubuntu 14.10
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.16.5228 (Git)
Build type: Release
Branch: master
Hash: 9b476e140d981281b47995fc6c98815c7feba507
Python version: 2.7.8t
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0
Does nothing... FreeCAD doesn't start.triplus wrote:Code: Select all
freecad -l
Thanks except is isn't theretriplus wrote:Code: Select all
/home/username/.FreeCAD/FreeCAD.log