Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to access the file #8

Open
doctormin opened this issue Sep 28, 2019 · 5 comments
Open

Fail to access the file #8

doctormin opened this issue Sep 28, 2019 · 5 comments

Comments

@doctormin
Copy link

I created a .cpp on my desk, and edit it with CLion, then I right clicked the eidtor and chose "add executable for..." then the alarming "Fail to access the file" merged in the CLion event log.

@Jess713
Copy link

Jess713 commented Oct 1, 2019

same

@corochann
Copy link
Owner

corochann commented Oct 2, 2019

Do you have CMakeLists.txt in project root directory?

@doctormin
Copy link
Author

doctormin commented Oct 5, 2019 via email

@corochann
Copy link
Owner

I see. Current software design always requires CMakeList.txt exist in the project.
Because CLion IDE functionality (completion etc) only work when cMakeList.txt is correctly set.

So this kind of project structure is necessary.

How about creating one (big) project like "one-file-execution-project" from CLion (which initializes the project with CMakeLists.txt and always copy and paste your new one cpp file under this project?

@doctormin
Copy link
Author

doctormin commented Oct 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants