Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » No EXTERNAL_MODULE option can be found in CMake
No EXTERNAL_MODULE option can be found in CMake [message #1843072] Wed, 14 July 2021 10:50 Go to next message
Tuojian Lyu is currently offline Tuojian LyuFriend
Messages: 18
Registered: October 2020
Junior Member
Hello,

I followed step 4 of the tutorial to create customized FB types on Windows using MinGW-w64 and CMake. I can create customized FB types and export them to a dedicated folder with generated CMakeLists.txt, but I couldn't find the external modules as options after doing CMake configure.

My CMake configuration with external modules folder:
index.php/fa/40754/0/

My folder tree, external modules and CMake configuration are in the attached images.
OS: win10
CMake: 3.18.0
MinGW-w64: 8.1.0
Forte: 1.14.0

Thanks ahead for any help and comments.

Br,
Tuojian
Re: No EXTERNAL_MODULE option can be found in CMake [message #1843088 is a reply to message #1843072] Thu, 15 July 2021 05:52 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

The documentation is maybe not to clear about the external modules directory. This directory must not contain any FBs and CMakeList.txt. The build system scans the external modules directory for any sub directories containg a CMakeList.txt and treats these as modules. So if you create a directory in your external modules directory with your FBs and the CMakeList.txt it should work.
Re: No EXTERNAL_MODULE option can be found in CMake [message #1843089 is a reply to message #1843088] Thu, 15 July 2021 07:12 Go to previous message
Tuojian Lyu is currently offline Tuojian LyuFriend
Messages: 18
Registered: October 2020
Junior Member
It works now. Thanks for your answer!
Previous Topic:event chain across APP
Next Topic:FBRT could be startup.
Goto Forum:
  


Current Time: Thu Apr 25 12:57:39 GMT 2024

Powered by FUDForum. Page generated in 0.02710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top