I want to use pThreads into this IncludeOS example. So I add pthread code to the example and got the following message:
"undefined reference to `syscall_SYS_sched_setscheduler'"
After research with Google, there was the solution, that I have to make the conan package editable.
I used the command:
"conan editable add . includeos/$(conan inspect -a version . | cut -d " " -f 2)@includeos/latest --layout=etc/layout.txt"
... and got the following message:
"Error loading conanfile at '/home/pg635/includeos/conanfile.py': Version range '>=1.0.0' from requirement 'conan-tools/[>=1.0.0]@includeos/stable' required by 'python_require' could not be resolved in local cache"
Has someone an idea to solve that?
If you need more informations or if you want that I describe some steps with more details, than write it and will do it.
Thank you.
SOLVED:
I executed this command "conan editable add . includeos/$(conan inspect -a version . | cut -d " " -f 2)@includeos/latest --layout=etc/layout.txt" with sudo-rights. That was mistake number one.
And instead of this: (conan inspect -a version . | cut -d " " -f 2) in the comand, I executed the command separately in the console and exchanged the output with the command.
Hello,
I want to use pThreads into this IncludeOS example. So I add pthread code to the example and got the following message:
"undefined reference to `syscall_SYS_sched_setscheduler'"
After research with Google, there was the solution, that I have to make the conan package editable. I used the command:
"conan editable add . includeos/$(conan inspect -a version . | cut -d " " -f 2)@includeos/latest --layout=etc/layout.txt"
... and got the following message:
"Error loading conanfile at '/home/pg635/includeos/conanfile.py': Version range '>=1.0.0' from requirement 'conan-tools/[>=1.0.0]@includeos/stable' required by 'python_require' could not be resolved in local cache"
Has someone an idea to solve that? If you need more informations or if you want that I describe some steps with more details, than write it and will do it.
Thank you.
SOLVED:
I executed this command "conan editable add . includeos/$(conan inspect -a version . | cut -d " " -f 2)@includeos/latest --layout=etc/layout.txt" with sudo-rights. That was mistake number one.
And instead of this: (conan inspect -a version . | cut -d " " -f 2) in the comand, I executed the command separately in the console and exchanged the output with the command.