On 29.10.2012 21:37, bruno schwander wrote:
> I have Blender, Pleasant3D, MeshLab all running great (not just the
> splash screen, real work too).
> OpenGL seems just fine on this system.
Hmm, that's very strange. So, since OpenGL is fine it's very likely an
issue with Coin3D. According to the error message it uses glGetString()
that causes the crash. It might be worth to check the file gl.cpp (it
seems to come from Coin3D) and look for any hints of a workaround.
I remember that there was a crash on some Linux machines at startup
inside Coin3D using this glGetString() function but I can't whether we
found a workaround. Maybe check if you can toggle 3D acceleration mode
of your graphic driver.
>
> I gather nobody has seen this ? It will take some time before I can
> pull gdb and look into this unfortunately.
> Who is making the official OSX build ?
Unfortunately, we have no official OSX builds because nobody of the
FreeCAD team has a Mac. There are only some volunteers that build binary
versions from time to time. The most active users in this regard are
Lhagan and Marcxs.
>
> Bruno
>
>> ------------------------------
>>
>> Message: 3
>> Date: Sun, 28 Oct 2012 15:08:03 +0100
>> From: Werner Mayer <werner.wm.mayer@...>
>> Subject: Re: [Free-cad-development] OSX build from current top of tree
>> To: free-cad-development@...
>> Message-ID: <508D3C43.6070301@...>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> There seems to be a grave problem with your OpenGL setup. It's best to
>> test another OpenGL-based application like Blender.
>>
>> On 27.10.2012 01:30, bruno schwander wrote:
>>> I talked too fast... FreeCAD comes up, I get the main window but If I
>>> do anything (like File->new, or open one of the projects), I get the
>>> following:
>>>
>>> FreeCAD 0.13, Libs: 0.13R1539 (Git)
>>> ? Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
>>> ##### #### ### ####
>>> # # # # # #
>>> # ## #### #### # # # # #
>>> #### # # # # # # # ##### # #
>>> # # #### #### # # # # #
>>> # # # # # # # # # ## ## ##
>>> # # #### #### ### # # #### ## ## ##
>>>
>>> pycollada not found, collada support will be disabled.
>>> Assertion failed: (current_ctx && "Must have a current GL context when
>>> instantiating cc_glglue!! (Note: if you are using an old Mesa GL
>>> version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK
>>> to get around what may be a Mesa bug.)"), function cc_glglue_instance,
>>> file gl.cpp, line 2344.
>>> Abnormal program termination...
>>>
>>> I tried setting the env var and starting from terminal prompt:
>>>
>>> intelmacmini:~ bruno$ export COIN_GL_NO_CURRENT_CONTEXT_CHECK=1
>>> intelmacmini:~ bruno$ /Applications/FreeCAD.app/Contents/MacOS/FreeCAD
>>> FreeCAD 0.13, Libs: 0.13R1539 (Git)
>>> ? Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
>>> ##### #### ### ####
>>> # # # # # #
>>> # ## #### #### # # # # #
>>> #### # # # # # # # ##### # #
>>> # # #### #### # # # # #
>>> # # # # # # # # # ## ## ##
>>> # # #### #### ### # # #### ## ## ##
>>>
>>> pycollada not found, collada support will be disabled.
>>> Assertion failed: (gi->versionstr && "could not call glGetString() --
>>> no current GL context?"), function cc_glglue_instance, file gl.cpp,
>>> line 2389.
>>> Abnormal program termination...
>>> intelmacmini:~ bruno$
>>>
>>> Any ideas ?
>>>
>>> Bruno
>>>
>>> On Fri, Oct 26, 2012 at 8:40 PM, bruno schwander
>>> <bruno.schwander@...> wrote:
>>>> Hi all,
>>>>
>>>> I just tried building FreeCAD for OSX because the binary .dmg would
>>>> not run for me. I pulled the source tree from git, and followed the
>>>> page at http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnMac
>>>> and
>>>> http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Extra_python_modules#Pivy
>>>>
>>>> I managed to get it building and running with a few changes. Here is
>>>> my procedure:
>>>>
>>>> - I used macports
>>>> - I had to get the sources for SoQt as there is no such port (anymore
>>>> ?) in Macports
>>>> - I installed python 2.7 in MacPorts
>>>> - I installed gcc46 from MacPorts
>>>> - I had to activate the gcc46 port in mac ports with: sudo port
>>>> select --set python python27
>>>> - I used the following FreeCAD configure command line:
>>>>
>>>> ./configure CC=gcc CXX=g++ --with-xercesc-lib=/opt/local/lib
>>>> --with-xercesc-include=/opt/local/include
>>>> --with-boost-lib=/opt/local/lib
>>>> --with-boost-include=/opt/local/include --with-qt4-dir=/opt/local/
>>>> --with-qt4-lib=/opt/local/lib --with-qt4-include=/opt/local/include
>>>> --with-qt4-framework=/opt/local/Library/Frameworks
>>>> --with-qt4-bin=/opt/local/bin --with-occ-lib=/usr/local/lib
>>>> --with-occ-include=/usr/local/include/oce --with-coin=/opt/local
>>>> --with-soqt=/usr/local/lib --prefix=/Applications/FreeCAD.app/Contents
>>>> --bindir=/Applications/FreeCAD.app/Contents/MacOS
>>>> --libdir=/Applications/FreeCAD.app/Contents/Frameworks/FreeCAD
>>>> --includedir=/Applications/FreeCAD.app/Contents/Resources/include
>>>> --datarootdir=/Applications/FreeCAD.app/Contents/Resources/share
>>>> --enable-debug=no
>>>> --with-python-include=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers
>>>> --with-eigen3-include=/opt/local/include/eigen3 --with-soqt=/usr/local
>>>>
>>>> Most importantly, I had to modify two source files in FreeCAD before
>>>> autogen/configure :
>>>>
>>>> diff --git a/acinclude.m4 b/acinclude.m4
>>>> index edc55c5..096f491 100644
>>>> --- a/acinclude.m4
>>>> +++ b/acinclude.m4
>>>> @@ -220,10 +220,9 @@ case $host_os in
>>>> QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtNetwork.framework/Headers"
>>>> QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtSvg.framework/Headers"
>>>> QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtXml.framework/Headers"
>>>> + QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtUiTools.framework/Headers"
>>>> # Separated flags
>>>> QT4_CORE_CXXFLAGS="-F$fc_qt4_frm -I$fc_qt4_frm/QtCore.framework/Headers"
>>>> - # QtUiTools doesn't seem to be available as framework
>>>> - QT_CXXFLAGS="$QT_CXXFLAGS -I/usr/include/QtUiTools"
>>>> # QtWebKit check
>>>> fc_ac_save_cppflags=$CPPFLAGS
>>>> CPPFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtWebKit.framework/Headers"
>>>> diff --git a/src/Base/Stream.h b/src/Base/Stream.h
>>>> index f083e1e..051405f 100644
>>>> --- a/src/Base/Stream.h
>>>> +++ b/src/Base/Stream.h
>>>> @@ -25,6 +25,7 @@
>>>> #define BASE_STREAM_H
>>>>
>>>>
>>>> +#include <stdint.h>
>>>> #include <fstream>
>>>> #include <ios>
>>>> #include <iostream>
>>>>
>>>>
>>>>
>>>> The first mod is because QtUiTools seems to come just fine in the
>>>> frameworks with qt4-mac.
>>>> The second mod is because src/Base/Stream.h uses uint8_t, uint16_t,
>>>> etc. which are not defined but in stdint.h
>>>> I hope this is useful and can be added to the wiki and sources.
>>>>
>>>> Great job guys ! I will now try to do some useful work with FreeCAD. I
>>>> can't wait for the CAM parts to come along.
>>>>
>>>> Bruno
>>> ------------------------------------------------------------------------------
>>> WINDOWS 8 is here.
>>> Millions of people. Your app in 30 days.
>>> Visit The Windows 8 Center at Sourceforge for all your go to resources.
>>> http://windows8center.sourceforge.net/
>>> join-generation-app-and-make-money-coding-fast/
>>> _______________________________________________
>>> Free-cad-development mailing list
>>> Free-cad-development@...
>>> https://lists.sourceforge.net/lists/listinfo/free-cad-development
>>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Mon, 29 Oct 2012 17:25:34 -0200
>> From: Yorik van Havre <yorik.vanhavre@...>
>> Subject: Re: [Free-cad-development] matplotlib dependency
>> To: free-cad-development@...
>> Message-ID:
>> <CACWqDDDhOr1R3bnf5hT=q0y=P=8aO0sv5uTfCkAauT=B7JjZDw@...>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi Jos?,
>>
>> I'm getting this error when trying to compile FreeCAD on debian:
>>
>> CMake Error at cMake/FindMatplotlib.cmake:41 (math):
>>> math cannot parse the expression: "(1 * 10000) + (1 * 100) + 1rc2":
>>> syntax
>>> error, unexpected exp_NUMBER, expecting $end (30)
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:349 (find_package)
>>>
>>> -- matplotlib-1.1.1rc2 has been found.
>>>
>> I think it doesn't expect an "1rc2" version number... Just commenting out
>> that line in cMake/FindMatplotlib.cmake seems to work, but I'm not sure
>> it's the right way to solve it.
>> Cheers
>> Yorik
>>
>> On 19 October 2012 06:38, Jose Luis Cerc?s wrote:
>>
>>> Hi community!
>>> I think that my new plot module will ready to start running soon, so to
>>> being integrated matplotlib dependency must be satisfied. I'm working on
>>> Linux (CMake/Autoconf/Debian package) stuff, but i need help on Windows...
>>> Can someone add matplotlib to windows standard installation please?
>>> In Windows seems that you only needs to add numpy and matplotlib python
>>> modules:
>>> http://matplotlib.org/users/installing.html
>>> Thanks in advance!!!
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> ------------------------------------------------------------------------------
>> The Windows 8 Center - In partnership with Sourceforge
>> Your idea - your app - 30 days.
>> Get started!
>> http://windows8center.sourceforge.net/
>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
>>
>> ------------------------------
>>
>> _______________________________________________
>> Free-cad-development mailing list
>> Free-cad-development@...
>> https://lists.sourceforge.net/lists/listinfo/free-cad-development
>>
>>
>> End of Free-cad-development Digest, Vol 11, Issue 4
>> ***************************************************
> ------------------------------------------------------------------------------
> The Windows 8 Center - In partnership with Sourceforge
> Your idea - your app - 30 days.
> Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
> _______________________________________________
> Free-cad-development mailing list
> Free-cad-development@...
> https://lists.sourceforge.net/lists/listinfo/free-cad-development
>
|