Cannot run Cocos project in Linux *SOLVED*

I’ve created a new Cocos2d-x project, yet each time I run the command “cocos run -p linux” in the directory, I get several errors in the terminal, like the following:

/cocos2d/external/[any Folder]

  does not contain a CMakeLists.txt file.

I’m also attaching the CMakeError.log file in this post, in case it helps.CMakeError.log.zip (944 Bytes)

Anyone knows why it is I can’t run my Cocos2d-x projects?

Fixed. Seems reinstalling Cocos2d-x from the start was the solution.

Not really related to this question, but I’ve just started working on Linux and I was wondering what IDE you guys use…if any? So far I’ve just used command line with Sublime.

be sure to run build/install-deps-linux.sh if you are using ubuntu or Debian.

1 Like

Im using KDevelop on kubuntu