How do I compile this on mac by terminal command

前端 未结 2 1841
春和景丽
春和景丽 2020-12-20 02:06

I am using xcode to compile my opencv project, and I have some settings as below:

    HEADER_SEARCH_PATHS = /usr/local/include

    LIBRARY_SEARCH_PATHS = /u         


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-20 02:29

    You can use:

    g++ -I ${HEADER_SEARCH_PATHS} -L ${LIBRARY_SEARCH_PATHS} ${OTHER_LDFLAGS} ${SOURCE_FILES}
    

提交回复
热议问题