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 » Build Forte error using libmodbus(Compile error Forte 1.8.4 using libmodbus)
Build Forte error using libmodbus [message #1778551] Sun, 17 December 2017 03:33 Go to next message
Felipe Nunes is currently offline Felipe NunesFriend
Messages: 2
Registered: December 2017
Junior Member
Hi all, i'm new in this forum, i have a problem with 4DIAC. Is there any tutorial for compiling FORTE with libmobus. because I have the following error:

C:\Users\felipen\Desktop\org.eclipse.4diac.forte\bin\win32>make
[ 50%] Built target forte_stringlist_externals
[ 50%] Built target forte_generate_modules_cmake_files
GenerateStringlist
Source Dir: C:/Users/felipen/Desktop/org.eclipse.4diac.forte/src
Binary Dir: C:/Users/felipen/Desktop/org.eclipse.4diac.forte/bin/win32
[ 50%] Built target forte_stringlist_generator
[ 51%] Linking CXX executable forte.exe
C:\MinGW\bin/ld.exe: cannot find -lmodbus
collect2: ld returned 1 exit status
src\CMakeFiles\forte.dir\build.make:14514: recipe for target 'src/forte.exe' fai
led
make[2]: *** [src/forte.exe] Error 1
CMakeFiles\Makefile2:136: recipe for target 'src/CMakeFiles/forte.dir/all' faile
d
make[1]: *** [src/CMakeFiles/forte.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2
Re: Build Forte error using libmodbus [message #1778639 is a reply to message #1778551] Tue, 19 December 2017 08:50 Go to previous messageGo to next message
Martin Melik Merkumians is currently offline Martin Melik MerkumiansFriend
Messages: 117
Registered: March 2016
Senior Member
You are missing the developers library for libmodbus

For Debian based Linux the package should be libmodbus-dev
Re: Build Forte error using libmodbus [message #1779678 is a reply to message #1778639] Thu, 11 January 2018 06:06 Go to previous message
Michael G. is currently offline Michael G.Friend
Messages: 10
Registered: December 2017
Junior Member
Hi,

i have used the libmodbus.org lib 3.0.6
http://libmodbus.org/releases/libmodbus-3.0.6.tar.gz

in FORTE_COM_MODBUS_LIB_DIR i have entry the \include\src from the modbuslib.

Previous Topic:emBRICK modul
Next Topic:Measurement of time interval with KOP?
Goto Forum:
  


Current Time: Tue Apr 23 09:29:56 GMT 2024

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

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

Back to the top