Bug 561099 - Can't build/compile.
Summary: Can't build/compile.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-13 10:37 EDT by Julian Starchenko CLA
Modified: 2020-03-21 10:52 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Starchenko CLA 2020-03-13 10:37:52 EDT
Errors occurred during the build.
Errors running builder 'CDT Core Builder' on project 'HelloWorld03'.
Building HelloWorld03
Cannot run program "C:\Users\Tom\AppData\Local\Android\Sdk\cmake" (in directory "C:\Projects\C++\Eclipse\01_white\HelloWorld03\build\default"): CreateProcess error=5, Отказано в доступе
Building HelloWorld03
Cannot run program "C:\Users\Tom\AppData\Local\Android\Sdk\cmake" (in directory "C:\Projects\C++\Eclipse\01_white\HelloWorld03\build\default"): CreateProcess error=5, Отказано в доступе


Why ide looks in Android\cmake directory? Cmake is located here: C:\Program Files\CMake\bin\.
Comment 1 Martin Weber CLA 2020-03-21 10:52:35 EDT
> Why ide looks in Android\cmake directory? Cmake is located here: C:\Program Files\CMake\bin\.

Check your PATH environment variable. Most likely Android\cmake directory is in PATH before C:\Program Files\CMake\bin\.