HI All,

I am continuing my learning curve.

Consider this block:

if (APPLE)
                SET(MOREFILESX_HEADERS
                        source/thirdparty/OSX/MoreFilesX/MoreFilesX.h
                )
        
                SET(MOREFILESX_SOURCES
                        source/thirdparty/OSX/MoreFilesX/MoreFilesX.c
                )
                
                FIND_LIBRARY (CARBON_LIBRARY Carbon)
                MARK_AS_ADVANCED (CARBON_LIBRARY)
                SET (EXTRA_LIBS ${CARBON_LIBRARY})
                
                ADD_LIBRARY (MoreFilesX ${MOREFILESX_SOURCES} 
${MOREFILESX_HEADERS})
                TARGET_LINK_LIBRARIES (MoreFilesX ${EXTRA_LIBS} )
ENDIF (APPLE)

I am trying to link against the Carbon Framework. I know it is not working because I am getting errors like:

/Volumes/Data/jtsm/Checkout/Universal GUI/source/thirdparty/OSX/ MoreFilesX/MoreFilesX.c: In function ‘FSGetVolParms’: /Volumes/Data/jtsm/Checkout/Universal GUI/source/thirdparty/OSX/ MoreFilesX/MoreFilesX.c:231: error: ‘HParamBlockRec’ undeclared (first use in this function)

What am I doing wrong above?

Best,

-Jason
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to