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 » Can forte be compile under macos?
Can forte be compile under macos? [message #1821014] Tue, 04 February 2020 15:04 Go to next message
joy woo is currently offline joy wooFriend
Messages: 147
Registered: May 2019
Senior Member
I compile the forte under macos, but when compling it with Xcode, it seems part of the source still point to poxis architecture
Re: Can forte be compile under macos? [message #1821015 is a reply to message #1821014] Tue, 04 February 2020 15:05 Go to previous messageGo to next message
Martin Melik-Merkumians is currently offline Martin Melik-MerkumiansFriend
Messages: 96
Registered: March 2016
Member
It does, because MacOS is POSIX compliant for the larger part.
Re: Can forte be compile under macos? [message #1821122 is a reply to message #1821015] Thu, 06 February 2020 03:10 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 147
Registered: May 2019
Senior Member
but when i complie the latest version of forte, it failed

Undefined symbols for architecture x86_64:

"timespecAdd(timespec const*, timespec const*, timespec*)", referenced from:

CPCTimerHandler::run() in pctimeha.o

"timespecSub(timespec const*, timespec const*, timespec*)", referenced from:

CPCTimerHandler::run() in pctimeha.o

"timespecLessThan(timespec const*, timespec const*)", referenced from:

CPCTimerHandler::run() in pctimeha.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)







Showing Recent Issues

: "timespecAdd(timespec const*, timespec const*, timespec*)", referenced from:

Re: Can forte be compile under macos? [message #1821152 is a reply to message #1821122] Thu, 06 February 2020 11:31 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 195
Registered: February 2016
Senior Member
maybe adding forte_add_sourcefile_hcpp(../utils/timespec_utils) in src/arch/macos/CMakeLists.txt could help

Re: Can forte be compile under macos? [message #1821480 is a reply to message #1821152] Thu, 13 February 2020 14:14 Go to previous messageGo to next message
Martin Melik-Merkumians is currently offline Martin Melik-MerkumiansFriend
Messages: 96
Registered: March 2016
Member
oh yeah, thanks Jose.
Seems that I missed adding this to the MacOS build back then
Re: Can forte be compile under macos? [message #1821496 is a reply to message #1821480] Thu, 13 February 2020 15:35 Go to previous message
joy woo is currently offline joy wooFriend
Messages: 147
Registered: May 2019
Senior Member
sorry for late reponse, that did work, thank you very much,both!
Previous Topic:Convert decimal to binary format with ST
Next Topic:trace running log
Goto Forum:
  


Current Time: Fri Oct 23 03:16:45 GMT 2020

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

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

Back to the top