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 » Error compiling FORTE for Win 64(SRWLOCK does not name a type)
Error compiling FORTE for Win 64 [message #1797946] Fri, 09 November 2018 04:36 Go to next message
Barry Dowdeswell is currently offline Barry DowdeswellFriend
Messages: 49
Registered: November 2018
Member
Hello,
I have been following the 4DIAC Help file instructions to built FORTE for Windows 10. I am using Mingw rather than Cygwin.

CMake generated the Makefile fine but when I run make I get the following error when it tries to compile forte_sync. The error is reported in line 44 of forte_sync.h :

'SRWLOCK' does not name a type
SRWLOCK mLock;

All other modules up to that point compile correctly.

Thank you for any advice.
Regards,
Barry

..

Re: Error compiling FORTE for Win 64 [message #1797988 is a reply to message #1797946] Fri, 09 November 2018 15:11 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 199
Registered: February 2016
Senior Member
Are you using mingw or mingw-w64? There's a difference between the and you should use mingw-w64 to compile, since mingw is outdated. Here the link: https://sourceforge.net/projects/mingw-w64/files/
Re: Error compiling FORTE for Win 64 [message #1798009 is a reply to message #1797988] Sat, 10 November 2018 08:01 Go to previous message
Barry Dowdeswell is currently offline Barry DowdeswellFriend
Messages: 49
Registered: November 2018
Member
Thank you Jose Maria Jesus Cabral Lassalle, That worked perfectly.

I had it mingw-64 installed but my path was pointing to the 32-bit mingw.

I appreciate your prompt response.

Regards,
Barry
Previous Topic:Cross compiling WAGO BSP along with OPC UA forte
Next Topic:Is there any possiable to run FBDK on Frontend with javascript
Goto Forum:
  


Current Time: Tue Apr 23 17:30:11 GMT 2024

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

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

Back to the top