wargio / r2dec-js

radare2 plugin - converts asm to pseudo-C code.
508 stars 48 forks source link

Looks like meson on Windows expects an absolute path #306

Closed Arazare closed 3 months ago

Arazare commented 4 months ago

Hey guys, I am trying to setup all of this things on Windows 11. I am using Chocolatey to have all of the packages in the PATH. Here is the list of problems I have:

  1. Trying to install r2dec directly from from radare2 cmd image

  2. It's when I try to use meson to build it on my own: image

I've also attached a messon_log.txt file: meson-log.txt

I'm not that "techy", so I maybe will need more details if I will need to do/test something

Arazare commented 4 months ago

image

As I understand "meson" is in path already

wargio commented 4 months ago

i think there is a bug in the script because it is trying to match with meson" instead of meson. @trufae this is invalid issue on my end.

wargio commented 4 months ago

Regarding building from sources manually, you need to have radare2 in the PATH, because the script uses it to find where is located.

trufae commented 4 months ago

The r2pm bug is fixed. It wasnt expecting a \r because the files in the git dont contain that. But git for windows makes this mess by config

Arazare commented 3 months ago

ye, so obvious thing... after adding radare2 to PATH everything worked. (meson build, I mean)