Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CygbotParser.co does not compile #26

Open
Tanay176 opened this issue Jun 8, 2022 · 2 comments
Open

CygbotParser.co does not compile #26

Tanay176 opened this issue Jun 8, 2022 · 2 comments

Comments

@Tanay176
Copy link

Tanay176 commented Jun 8, 2022

I've followed the instructions provided and I'm working with ROS Noetic on Ubuntu 20.04, however whenever executing the catkin_make command, I get the following error.

/home/i4/catkin_ws/src/cyglidar_d1/src/CygbotParser.c:40:16: error: cannot convert ‘uint8_t*’ {aka ‘unsigned char*’} to ‘Payload*’ {aka ‘Packet_Payload*’} in assignment
40 | pk->Payload = &CmdBuff[POS_PAYLOAD_HEADER];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t* {aka unsigned char*}
make[2]: *** [cyglidar_d1/CMakeFiles/cyglidar_d1.dir/build.make:63: cyglidar_d1/CMakeFiles/cyglidar_d1.dir/src/CygbotParser.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1105: cyglidar_d1/CMakeFiles/cyglidar_d1.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j1" failed

Could you please advise on any change to be made to that file. I'm able to build the rest of the package files alright but this one prevents the make command from completing.

@mrezzaaa
Copy link

mrezzaaa commented Sep 1, 2022

Same problem on macos with conda env

@amir-m2ai
Copy link

Hi @Tanay176,
Please check the issue "Error when running catking_make" here:
#29
I have provided step-by-step instruction to make the package.
I hope that resolves your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants