rtlabs-com / p-net

PROFINET device stack for embedded devices
http://www.rt-labs.com
Other
487 stars 195 forks source link

CMakeLists.txt missing #586

Open XiaoP76 opened 3 months ago

XiaoP76 commented 3 months ago

The tutorial https://rt-labs.com/profinet/a-beginners-guide-to-profinet-get-started-in-60-minutes/ suggests that there is a CMakeLists.txt.

Yet, if I try to build p-net according to the tutorial, I get the error message: d:\Git\profinet>cmake -B build -S p-net CMake Error: The source directory "D:/Git/profinet/p-net" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. which is about right, because the file is not there.

saemideluxe commented 2 months ago

According to the commit log the CMakeLists.txt was removed on purpose.

@maintainers: Was this on purpose to make the project un-buildable for the public? If so, it would be great to make this clear somewhere on the readme. (Edit: It actually is stated on the github-repo page, which I only just read. However, the readme in the repository (which is what I was reading) is something completely different, likely the original (open source) version).

This project seems to be going closed source.

@XiaoP76 I think you could try to checkout an earlier commit to build the project.

saemideluxe commented 2 months ago

@XiaoP76 Maybe worth checking out https://github.com/Lemonadeccc/profinet-p-net.

You will need to clone with git clone --recurse-submodules https://github.com/Lemonadeccc/profinet-p-net

mekerhult commented 2 months ago

Thank you for reaching out and for your interest in the P-Net stack. We understand your frustration, and we’d like to clarify the recent changes.

As a small team, we’ve invested a lot of time and effort into developing and maintaining the P-Net stack over the years. To continue offering high-quality support and improvements, we’ve had to make the decision to transition to a model that allows us to dedicate the necessary resources. While this means some parts of the codebase are no longer public, it allows us to offer a more reliable and professional solution for those who need it.

Looking ahead, we’ll be updating the license in a future commit, transitioning to a source available model. However, please note that the current master branch will no longer be updated and may eventually be removed. We are also in the process of updating the documentation to reflect all these changes.

Feel free to reach out. We’re happy to explore how we can help you with support or licensing options to ensure you can continue your work. Please contact: supportATrt-labs.com

Thank you for your understanding, and we’re here to support you however we can. /RT-Labs team

saemideluxe commented 2 months ago

@mekerhult Thanks for the response and the clarifications. I completely understand the burden of maintaining an open source project and I respect your decision. Part of the frustration comes from the situation that PROFINET seems to have almost no publicly available device-stack implementations (unlike MODBUS, which has quite a few), and this repo seems to have been the main place for people looking for such an implementation.

marioles50 commented 1 month ago

Is it possible to debug the p-net stack with Netbeans? If so, how can I do it? thanks