이 작업을 수행하는 동안 오랜 시간을 보냈습니다. 내 오류는 매우 사소한 것으로 생각되지만 해결할 수 없었습니다. 또한 이전에 이것에 대한 질문이 있었지만 아무도 내 문제를 해결하지 못했다는 것을 알고 있습니다. 내가 샘플을 빌드 할 때, 내가 예를 들어 샘플 4를 사용합니다OpenCV 네이티브 샘플이 빌드되지 않습니다.
내가 이클립스 주노에서 안드로이드 - OpenCV의 라이브러리를 사용하고
, 내 콘솔에서이 메시지 :
15:29:35 **** Build of configuration Default for project org.opencv.samples.tutorial4.Sample4Mixed ****
"C:\\dev\\android-ndk-re8b-windows\\ndk-build.cmd"
Cannot run program "C:\dev\android-ndk-re8b-windows\ndk-build.cmd": Launching failed
Error: Program "C:\dev\android-ndk-re8b-windows\ndk-build.cmd" not found in PATH
PATH=[C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Broadcom\WHL\;C:\Program Files\Broadcom\WHL\syswow64;C:\Program Files\Broadcom\WHL\SysWow64\;C:\Program Files\Broadcom\WHL\SysWow64\syswow64;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Windows Live\Shared;C:\SWTOOLS\ReadyApps;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files (x86)\MATLAB\R2011a Student\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Symantec\VIP Access Client\;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell]
15:29:35 Build Finished (took 54ms)
경우 \ '에서 오는 이중입니까?!
또한 내 환경 변수 NDKROOT를 내 ndk의 절대 경로로 정의했습니다. 하지만 훨씬 더 안전하기 위해 필자는 속성 -> c/C++ 빌드 경로에서 다시 정의했습니다. 당신은 윈도우 7을 사용하는 경우
HELP
ndk가 –