lib and header paths truncated
Mark Brethen
mark.brethen at gmail.com
Sat Jul 12 16:35:55 PDT 2014
On Jul 12, 2014, at 5:17 PM, Joshua Root <jmr at macports.org> wrote:
> On 2014-7-13 00:43 , Mark Brethen wrote:
>> How does tcl treat periods?
>
> They don't have any special meaning to the language. They are in the set
> of characters that, during substitution, aren't treated as part of a
> variable name unless quoted, but that's about it.
>
> - Josh
I've concluded that freecad and/or cmake isn't linking the Coin framework correctly. The FindCoin3D.cmake file contains:
IF(APPLE)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
/Library/Frameworks/Inventor.framework/Headers
/usr/local/include
/usr/include
)
FIND_LIBRARY(COIN3D_LIBRARY Coin
/Library/Frameworks/Inventor.framework/Libraries
/usr/lib
/usr/local/lib
)
SET(COIN3D_LIBRARY "-framework Coin3d" CACHE STRING "Coin3D library for OSX")
ELSE(APPLE)
I'm not familiar with cmake, but the SET... line isn't using the correct name of the framework. It should be "-framework Inventor". And the FIND_PATH commands fail also. Probably because CMAKE_FRAMEWORK_PATH isn't listed.
Mark
More information about the macports-dev
mailing list