<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I might have been a tat too fast there.. <div class=""><br class=""></div><div class="">It doesn’t seem to able to find the /configure script.. and I can’t seem to print the path it looking in.. </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[  5%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object src/include/spectogram/CMakeFiles/spectogram.dir/spectogram.cpp.o</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 11%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX static library libspectogram.a</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[ 11%] Built target spectogram</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 16%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object src/include/database/CMakeFiles/database.dir/database.cpp.o</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 22%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX static library libdatabase.a</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[ 22%] Built target database</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 27%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object src/include/match/CMakeFiles/match.dir/match.cpp.o</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 33%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX static library libmatch.a</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[ 33%] Built target match</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 38%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object src/include/record/CMakeFiles/record.dir/record.cpp.o</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 44%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX static library librecord.a</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[ 44%] Built target record</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 50%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object src/CMakeFiles/cmakeDemo.dir/main.cpp.o</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 55%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX executable cmakeDemo</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[ 55%] Built target cmakeDemo</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(94, 52, 255); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 61%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Creating directories for 'project_portaudio'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(94, 52, 255); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 66%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Performing download step (git clone) for 'project_portaudio'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-- Avoiding repeated git clone, stamp file is up to date: '/Users/keerthikanratnarajah/soundcloud/build/src/include/record/lib/portaudio/src/project_portaudio-stamp/project_portaudio-gitclone-lastrun.txt'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(94, 52, 255); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 72%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">No patch step for 'project_portaudio'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(94, 52, 255); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 77%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Performing update step for 'project_portaudio'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Current branch master is up to date.</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(94, 52, 255); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #28fe14" class="">[ 83%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Performing configure step for 'project_portaudio'</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/bin/sh: /configure: No such file or directory</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[2]: *** [src/include/record/lib/portaudio/src/project_portaudio-stamp/project_portaudio-configure] Error 127</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[1]: *** [src/include/record/CMakeFiles/project_portaudio.dir/all] Error 2</span></div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** [all] Error 2</span></div><div><blockquote type="cite" class=""><div class="">Den 29. okt. 2017 kl. 02.37 skrev Carlton Banks <<a href="mailto:noflaco@gmail.com" class="">noflaco@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">Den 29. okt. 2017 kl. 02.34 skrev Craig Scott <<a href="mailto:craig.scott@crascit.com" class="">craig.scott@crascit.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Your line 25 is incorrect, you left out the MAKE_DIRECTORY part and the path you specified doesn't seem to be right. It should be something more like:</div><div class=""><br class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;">file(MAKE_DIRECTORY ${SOURCE_DIR}/include)</blockquote><div class=""><br class=""></div><div class=""><br class=""></div>You also seem to have missed one of my other emails. Replace this:<div class=""><br class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;">target_include_directories(portaudio INTERFACE<br class="">    ${portaudio_inc_dir}<br class="">)</blockquote><div class="gmail_extra"><br class=""></div><div class="gmail_extra">with this:</div><div class="gmail_extra"><br class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div class="gmail_extra"><div class="" style="font-size: 12.800000190734863px;">set_property(TARGET portaudio APPEND PROPERTY</div></div><div class="gmail_extra"><div class="" style="font-size: 12.800000190734863px;">    INTERFACE_INCLUDE_DIRECTORIES <wbr class="">${SOURCE_DIR}/include</div></div><div class="gmail_extra"><div class="" style="font-size: 12.800000190734863px;">)</div></div></blockquote><div class="gmail_extra"><br class=""></div></div></div></blockquote><div class=""><br class=""></div>Those fixes made it work.. thanks :)</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra">If that doesn't work, still get rid of the target_include_directories() call above and also replace this:</div><div class="gmail_extra"><br class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;">target_include_directories(record PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${project_portaudio})</blockquote><div class=""><br class=""><div class="gmail_extra">with this (as a last resort workaround):</div><div class="gmail_extra"><br class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div class="gmail_extra"><span class="" style="font-size: 12.800000190734863px;">target_include_directories(</span><span class="" style="font-size: 12.800000190734863px;">rec<wbr class="">ord PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} </span><span class="" style="font-size: 12.800000190734863px;">${<wbr class="">SOURCE_DIR}/include</span><span class="" style="font-size: 12.800000190734863px;">)</span></div></blockquote><div class="gmail_extra"><span class="" style="font-size: 12.800000190734863px;"><br class=""></span></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I'm going to have to leave it at that, gotta focus on other work now. Hopefully the above gets you further along. Otherwise, I'll have to leave it to others to continue to help you from here.</div><div class="gmail_extra"> </div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Oct 29, 2017 at 12:27 PM, Carlton Banks<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:noflaco@gmail.com" target="_blank" class="">noflaco@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="" style="word-wrap: break-word;"><br class=""><div class=""><span class="gmail-"><blockquote type="cite" class=""><div class="">Den 29. okt. 2017 kl. 02.20 skrev Craig Scott <<a href="mailto:craig.scott@crascit.com" target="_blank" class="">craig.scott@crascit.com</a>>:</div><br class="gmail-m_479604904043281046Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Oct 29, 2017 at 12:18 PM, Carlton Banks<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:noflaco@gmail.com" target="_blank" class="">noflaco@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="" style="word-wrap: break-word;"><br class=""><div class=""><blockquote type="cite" class=""><div class="">Den 29. okt. 2017 kl. 02.15 skrev Craig Scott <<a href="mailto:craig.scott@crascit.com" target="_blank" class="">craig.scott@crascit.com</a>>:</div><br class="gmail-m_479604904043281046m_-6598831861308717408Apple-interchange-newline"><div class=""><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; float: none; display: inline;"><span class="gmail-m_479604904043281046m_-6598831861308717408Apple-converted-space"> </span>file(MAKE_DIRECTORY)</span></div></blockquote></div>Not sure about the workaround.. the problem here is that cmake does not download, and make does. <div class="">So adding a workaround like that, would require to add a condition that differentiates between cmake and make.. </div></div></blockquote></div><div class="gmail_extra"><br class=""></div>No condition should be needed, simply add it to CMakeLists.txt before the command that adds the directory to the include path. The external make build shouldn't complain if the path already exists, it will just go ahead and populate it. At least, that's been my experience when I've used this workaround before for this very problem.<br class=""><br clear="all" class=""></div></div></div></blockquote></span>It somehow still causes some problems.. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><a href="https://pastebin.com/HqE5H95Q" target="_blank" class="">https://pastebin.com/HqE5H95Q</a></div><div class=""><br class=""></div><div class="">Gives me this error: </div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">cmake ..</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“InsrcCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“InincludeCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“IndatabaseCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“InmatchCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“InrecordCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“Downloadexternalproject”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">CMake Error at src/include/record/CMakeLists.<wbr class="">txt:25 (file):</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  file must be called with at least two arguments.</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">CMake Error at src/include/record/CMakeLists.<wbr class="">txt:32 (target_include_directories):</span></div><span class="gmail-"><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  Cannot specify include directories for imported target "portaudio".</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div></span><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">“InspectogramCMAKELIST”</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">-- Configuring incomplete, errors occurred!</span></div><div class="" style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);"><span class="" style="font-variant-ligatures: no-common-ligatures;">See also "/Users/keerthikanratnarajah/<wbr class="">soundcloud/build/CMakeFiles/<wbr class="">CMakeOutput.log".</span></div><span class="gmail-"><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail-m_479604904043281046gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Craig Scott<br class=""><div class="">Melbourne, Australia</div><div class=""><a href="https://crascit.com/" target="_blank" class="">https://crascit.com</a><br class=""></div></div></div></div></div></div></div></div></div></div></blockquote></span></div><br class=""></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Craig Scott<br class=""><div class="">Melbourne, Australia</div><div class=""><a href="https://crascit.com/" target="_blank" class="">https://crascit.com</a></div></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></blockquote></div><br class=""></div></body></html>