# LIBUSBP on NVIDIA Orin AGX DevKit

**URL:** https://forum.pololu.com/t/libusbp-on-nvidia-orin-agx-devkit/25799
**Category:** Software and microcontrollers
**Created:** [July 29, 2024, 11:16am UTC](https://forum.pololu.com/t/libusbp-on-nvidia-orin-agx-devkit/25799 "2024-07-29T11:16:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RichardStahl](https://forum.pololu.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@RichardStahl](https://forum.pololu.com/u/RichardStahl)
#### Post date: [July 29, 2024, 11:16am UTC](https://forum.pololu.com/t/libusbp-on-nvidia-orin-agx-devkit/25799/1 "2024-07-29T11:16:08Z")

</div>

Hello,

I have previously successfully compiler the LIBUSBP libraries on Orin AGX DevKit but I am struggling with a strange error at this moment (new Orin where I need to install it again):

When making the lib from source, following the instructions here: (Linux for Linux)

> <https://github.com/pololu/pololu-tic-software/blob/master/BUILDING.md>

I get the following error after the make command:

~/libusbp/build/src/libusbp\_config.h:3:44: error: missing binary operator before token “1”  
3 | #define BUILD\_SYSTEM\_LIBUSBP\_VERSION\_MAJOR 1  
| ^

Could you please let me know how to resolve this?

Many thanks!  
Richard

---

<div class="post-metadata">

### Author: ![kevin](https://forum.pololu.com/user_avatar/forum.pololu.com/kevin/32/200_2.png) [@kevin](https://forum.pololu.com/u/kevin)
#### Post date: [August 2, 2024, 12:24am UTC](https://forum.pololu.com/t/libusbp-on-nvidia-orin-agx-devkit/25799/2 "2024-08-02T00:24:37Z")

</div>

Hi, Richard.

Unfortunately, the engineer most familiar with that software is out this week. However, the line indicated in your error message seems like it should be a simple `#define` preprocessor directive, so it’s strange that it’s causing a problem in the build process. Could you post the full output of the build command that produces that error? Please use the Preformatted text button (“\</\>”) on the forum or put 3 backticks (```) before and after the text so that its alignment is preserved, or attach the output in a file if it’s very long.

Kevin

---

<div class="post-metadata">

### Author: ![RichardStahl](https://forum.pololu.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@RichardStahl](https://forum.pololu.com/u/RichardStahl)
#### Post date: [August 2, 2024, 7:40am UTC](https://forum.pololu.com/t/libusbp-on-nvidia-orin-agx-devkit/25799/3 "2024-08-02T07:40:21Z")

</div>

Hi Kevin,

I have managed to resolve this issue in the meantime. It seems it only exists with the v1-latest repo clone and not with the 1.3.1 tag, i.e. if I clone the 1.3.1 directly everything compiles fine. Maybe something to fix by the repo admins.

Thanks for your response!  
Richard
