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

Cannot build against CLion 2020.3 #94

Closed
Lawrencemm opened this issue Jun 26, 2021 · 3 comments
Closed

Cannot build against CLion 2020.3 #94

Lawrencemm opened this issue Jun 26, 2021 · 3 comments

Comments

@Lawrencemm
Copy link

Following imports don't work anymore:

import com.jetbrains.cidr.cpp.cmake.CMakeRunner
import com.jetbrains.cidr.toolchains.CidrToolsUtil;
import com.jetbrains.cidr.PredefinedVariables;
import com.jetbrains.cidr.cpp.cmake.CMakeRunnerStep;
import com.jetbrains.cidr.cpp.toolchains.CPPEnvironment;
import com.jetbrains.cidr.lang.toolchains.CidrToolEnvironment;
import com.jetbrains.cidr.system.HostMachine;
import com.jetbrains.cidr.toolchains.CidrToolsUtil;
import com.jetbrains.cidr.cpp.cmake.model.CMakeModelConfigurationData;
import com.jetbrains.cidr.cpp.cmake.workspace.CMakeWorkspace;

I've made a post on the Jetbrains Slack asking for help, will post any findings here.

@Lawrencemm
Copy link
Author

Answer from Jetbrains Slack:

Hi!
It’s because some code in CLion was moved from “core” part of CLion into bundled plugins. And now, you have to add these plugins as dependencies.
I suppose you need to add "com.intellij.clion" and "com.intellij.cidr.base" plugins.
See https://blog.jetbrains.com/clion/2020/12/migration-guide-for-plugins-2020-3/ for more details

Lawrencemm added a commit to Lawrencemm/conan-clion-plugin that referenced this issue Jul 9, 2021
Do not add 2020.3 since conan-io#94.

Remove versions prior to 2019.3 since they aren't compatible with platform tests coming in conan-io#95 and judging from prior usage statistics shared from Jetbrains, there are likely very few users still using those versions.
Lawrencemm added a commit to Lawrencemm/conan-clion-plugin that referenced this issue Jul 9, 2021
Do not add 2020.3 since conan-io#94.

Remove versions prior to 2019.3 since they aren't compatible with platform tests coming in conan-io#95 and judging from prior usage statistics shared from Jetbrains, there are likely very few users still using those versions.
@Eric-Bwr
Copy link

Eric-Bwr commented Feb 6, 2024

@Lawrencemm can this be closed?

@czoido
Copy link
Contributor

czoido commented Feb 7, 2024

I think this can be closed as it refers to the old version of the plugin and we already released a new one, thanks!

@czoido czoido closed this as completed Feb 7, 2024
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