Closed Algebro7 closed 4 months ago
Hi,
How are you populating the include/cpp-terminal ?
As a git submodule, so essentially cd include && git clone --recursive https://github.com/jupyter-xeus/cpp-terminal
but via git submodule add
Strange could you send more information on your system and cmake version etc...
I guess cmake doesn't find the private .a library but I don't know why yet.. Are you allowed to send your code or some smaller example of crashing configuration
Here is a minimal example that is showing the same behavior: https://github.com/Algebro7/cpp-terminal-test
The system is Arch Linux with CMake 3.29.6, have tried both clang and gcc. I just tested with the ubuntu:latest
Docker container and it's failing with the same error there as well.
I found the problem, I will push a fix. It's a egg-chicken problem cpp-terminal depends on cpp-terminal-private that depends itself on cpp-terminal. Don't know why in this case the linker i not able to link
Please check now. Maybe I need to fnd a better way but I like the clear separation between platform dependent code and cross-platform one
That worked, thanks!
That worked, thanks!
Thx for the news and your time for the minimal example
The current
master
branch does not appear to link correctly out of the box on CMake. I'm getting the following error:In this case, I'm adding
cpp-terminal
to my project like this:Is there some other target exported by
cpp-terminal
that I should be linking to?Thanks!