BCI2000 build code errors, gNautilus

Forum for software developers to discuss BCI2000 software development
Post Reply
jtlawton
Posts: 3
Joined: 28 Mar 2023, 07:55

BCI2000 build code errors, gNautilus

Post by jtlawton » 28 Mar 2023, 08:06

I previously downloaded BCI2000 and was having issues connecting with gNautilus, I saw that deleting the Networking.dll, GDSClientAPI.dll, GDSServer.dll, and gAPI.dll worked for others. When I deleted these files however, I was no longer able to open up the BCI2000 GUI. I then uninstalled everything and tried to reinstall, using the Programming Howto:Building and Customizing BCI2000, so the files would return, but I am running into errors when trying to build the Release code. I also noticed that after configuring my CMake the QT tab was missing, not sure if this contributes. If you know of any fixes please let me know! Thank you! (see attachments for code errors and warnings, as well as CMake missing QT)
Attachments
CMake no QT.png
CMake no QT.png (16.33 KiB) Viewed 14854 times
code errors.png
code errors.png (44.14 KiB) Viewed 14854 times
code warnings.png
code warnings.png (27.35 KiB) Viewed 14854 times

mellinger
Posts: 1210
Joined: 12 Feb 2003, 11:06

Re: BCI2000 build code errors, gNautilus

Post by mellinger » 28 Mar 2023, 08:25

Hi, and welcome to the BCI2000 forum!

CMake is not deleting your entry but moves it below the CMAKE group. You will find it when expanding that group.

The errors related to building icons are irrelevant. They occur on some systems due to concurrent access to files (CMake does not offer any synchronization between concurrent builds).

Likewise, the warnings regarding the "fallthrough" attribute are harmless. They will vanish if you build BCI2000 using VisualStudio 2022 which provides C++ 17.

HTH
Jürgen

jtlawton
Posts: 3
Joined: 28 Mar 2023, 07:55

Re: BCI2000 build code errors, gNautilus

Post by jtlawton » 28 Mar 2023, 09:05

mellinger wrote: 28 Mar 2023, 08:25 Hi, and welcome to the BCI2000 forum!

CMake is not deleting your entry but moves it below the CMAKE group. You will find it when expanding that group.

The errors related to building icons are irrelevant. They occur on some systems due to concurrent access to files (CMake does not offer any synchronization between concurrent builds).

Likewise, the warnings regarding the "fallthrough" attribute are harmless. They will vanish if you build BCI2000 using VisualStudio 2022 which provides C++ 17.

HTH
Jürgen
Thank you for the quick response! I will download VisualStudio 2022, and reinstall QT to match. The errors related to the building icons stop the code from creating the prog files it created before, is this something that will be fixed with the updated VS and QT? (Attachment is after the build was run, and errors were received). Thank you again!
Attachments
BCI prog.png
BCI prog.png (54.41 KiB) Viewed 14850 times

mellinger
Posts: 1210
Joined: 12 Feb 2003, 11:06

Re: BCI2000 build code errors, gNautilus

Post by mellinger » 29 Mar 2023, 10:54

I will download VisualStudio 2022, and reinstall QT to match.
Note that there is no Qt binary distribution specific to VS 2022, but the one for VS 2019 will work.
The errors related to the building icons stop the code from creating the prog files it created before, is this something that will be fixed with the updated VS and QT?
Maybe. If not, you can build the failed projects invidually, which should work around the concurrency issues.

jtlawton
Posts: 3
Joined: 28 Mar 2023, 07:55

Re: BCI2000 build code errors, gNautilus

Post by jtlawton » 29 Mar 2023, 14:36

Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests