SoundMetrics / aris-integration-sdk

SDK for building custom controllers for the ARIS sonar.
MIT License
5 stars 2 forks source link

May I ask if I can debug this SDK under windows system? #152

Closed bbbmbbbm closed 4 years ago

bbbmbbbm commented 4 years ago

Due to the new contact with this SDK, when debugging your program under vs2017, I found that several header files are missing. I checked the description file, it should be that the program needs to be compiled under the linux system. I would like to ask teachers, how can I change the operation or code to make the SDK compile and run under the windows system? If possible, a copy of the source code under the windows system will greatly solve my problem. Thank you again for your help.

curtnichols commented 4 years ago

Which program are you trying to build and debug? Some are Windows applications, some are Linux test applications.

bbbmbbbm commented 4 years ago

I compiled [aris-integration-sdk / sample-code /]-(vc-using-framestream)project. When compiling and running, I found that the "commands.pb.h", "frame_stream.pb.h", "FrameHeader.h", "availability.pb.h" header files are missing. I searched the SDK and found none of these The header file, I don't know how to deal with the problem. I hope to get your help, thank you very much.

curtnichols commented 4 years ago

Thanks for bringing this up.

I've updated documentation and scripts on master.

To build this solution, first run prepare-vcpkg.cmd (in the root of this repository) in a Visual Studio 2019 command prompt. If you attempt to build the solution and .pb.h or .pb.cc files cannot be found, you need to run prepare-vcpkg.cmd.

(Note that I've renamed build-vc-programs.cmd to prepare-vcpkg.cmd. You'll want to pull from master.

bbbmbbbm commented 4 years ago

Listening to your suggestions, I researched the file. It should be that I have not installed the vcpkg library. Now I will install it. thanks for your help. If I run into problems in the future and I turn to you for help, I hope to get your answers too. Thank you very much.

bbbmbbbm commented 4 years ago

Hello, sorry i'm here to disturb you again. I want to ask how to view the frame data of the .aris image file that has been obtained. By looking at the information you gave, I think the program to get the frame data in the .aris image file is aris-file-sdk/common-code. If not, please correct it.Thanks! By running the program, this problem occurred: error LNK2019: unresolved external symbol _main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ). By searching for information, I would like to ask whether this project is a windows program or a DOS console program? Hope to get your reply and help, thank you very much!

curtnichols commented 4 years ago

@bbbmbbbm There is no sample program for displaying ARIS images. The File SDK briefly discusses displaying an image here.

bbbmbbbm commented 4 years ago

Thanks for your answers. If I want to get the sonar raw data (quadratic matrix of distance), does the sample code implement this function? I want to get the original data for image processing, I hope to get some suggestions from you. Thank you very much.

curtnichols commented 4 years ago

Sample data is part of the frame returned by the ARIS. This is covered by the SDKs.

curtnichols commented 4 years ago

Closing for lack of activity.