Closed TheLukeGuy closed 4 years ago
I would say that CMake doesn't see the .cpp files, and it thinks the methods are left unimplemented. You need to add the actual source code to fix that IMO
Also this is not really an issue with Borealis because we don't support CMake, so I'm closing the issue. I'll help you the best I can but my CMake knowledge is limited
Thanks for the quick reply! I tried adding all of the Borealis .cpp files with CMake, but the same error still occurs. Here's the updated CMakeLists.txt
file:
cmake_minimum_required(VERSION 3.17)
project(HowlNX)
set(CMAKE_CXX_STANDARD 17)
include_directories($ENV{DEVKITARM}/include)
include_directories($ENV{DEVKITPRO}/libnx/include)
include_directories(borealis/library/include)
file(GLOB_RECURSE sources *.cpp)
add_executable(HowlNX ${sources})
I can confirm that did indeed add all of the Borealis source files because CLion changes the icon next to the name of all added source files.
Well then I have no idea, sorry :shrug:
Ah okay, all good. Thanks for trying, anyway!
I've been trying to use Borealis with JetBrains's CLion IDE, but when I try creating a new
TabFrame
, CLion gives the following error:CLion uses CMake (specifically CMake 3.17 with the version of CLion that I'm using) to resolve all of the includes, and I do include Borealis in the
CMakeLists.txt
file, but I'm using a traditionalMakefile
to actually compile the code. The code does compile fine withmake
, but that error in CLion is annoying nonetheless. I'm using the latest beta version of CLion 2020.2.Here's the full code:
And here's the
CMakeLists.txt
file (which, again, I don't actually use to compile the code with, but CLion uses it to resolve the includes):