FORTE - Compile your own Function Blocks and code [message #1776394] |
Thu, 16 November 2017 07:33 |
Barry wan Messages: 40 Registered: July 2017 |
Member |
|
|
hello!
I follows the document https://www.eclipse.org/4diac/en_help.php to Generate files for compiling. Cmake version:3.9.6; MinGW:6.3.0
but i come across a problem as below:
The C compiler identification is GNU 6.3.0
The CXX compiler identification is GNU 6.3.0
Check for working C compiler: D:/MinGW/bin/gcc.exe
Check for working C compiler: D:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "D:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: C:/Users/wan/org.eclipse.4diac.forte/bin/win32_test/CMakeFiles/CMakeTmp
Run Build Command:"D:/MinGW/bin/make.exe" "cmTC_cbbe7/fast"
D:/MinGW/bin/make.exe -f CMakeFiles/cmTC_cbbe7.dir/build.make
CMakeFiles/cmTC_cbbe7.dir/build
make.exe[1]: Entering directory
'C:/Users/wan/org.eclipse.4diac.forte/bin/win32_test/CMakeFiles/CMakeTmp'
系统找不到指定的路径。
CMakeFiles/cmTC_cbbe7.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_cbbe7.dir/testCCompiler.c.obj' failed
make.exe[1]: *** [CMakeFiles/cmTC_cbbe7.dir/testCCompiler.c.obj] Error 1
make.exe[1]: Leaving directory
'C:/Users/wan/org.eclipse.4diac.forte/bin/win32_test/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cbbe7/fast' failed
make.exe: *** [cmTC_cbbe7/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:16 (PROJECT)
Configuring incomplete, errors occurred!
See also "C:/Users/wan/org.eclipse.4diac.forte/bin/win32_test/CMakeFiles/CMakeOutput.log".
See also "C:/Users/wan/org.eclipse.4diac.forte/bin/win32_test/CMakeFiles/CMakeError.log".
How to solve this problem? think you!
[Updated on: Thu, 16 November 2017 07:34] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: FORTE - Compile your own Function Blocks and code [message #1776861 is a reply to message #1776805] |
Wed, 22 November 2017 10:49 |
Barry wan Messages: 40 Registered: July 2017 |
Member |
|
|
hello,professor
I have a question about the forte overiew.
1 what does the resource mean?
2 what does the remote-resource mean?
is it means remote I/O or local interface driver or something else?
AND what the difference between resource and remote-resource?
3 One device may contains more than one resource in boiler example. how does these
resource work with each other?
sincerely!
[Updated on: Wed, 22 November 2017 12:39] Report message to a moderator
|
|
|
Re: FORTE - Compile your own Function Blocks and code [message #1776887 is a reply to message #1776861] |
Wed, 22 November 2017 14:13 |
|
hi,
a resource is defined in IEC 64199 as application container within a device. That means that resources are the target when mapping applications to devices. Devices may have several resources. Resources have to shield the execution within them from other resources. As with nearly all elements in IEC 61499 there are resource types. The different resource types may already provide special functionality for the application they are running in. For more details on the device and resource model please have a look on an IEC 61499 introduction.
The RMT_RES is a special resource defined in the "IEC 61499 Compliance profile for feasibility demonstrations" [1]. The task of this resource is to open up a TCP port so that engineering tools like 4diac-ide can connect to and configure the device.
I hope this helps.
[1] http://www.holobloc.com/doc/ita/index.htm
|
|
|
Powered by
FUDForum. Page generated in 0.06453 seconds