Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

strange character "â" in cmake generated makefile errors

Tags:

c++

unix

gnu

cmake

Terrible title, sorry. I used cmake to generate a makefile and I specified g++ as the C++ compiler and when I run the generated makefile using make or gmake I get all these compile errors and all my symbols have trailing â's on them. Any thoughts on what might be behind these mysterious â's?

like image 527
shaz Avatar asked May 11 '26 01:05

shaz


1 Answers

You probably have the LANG environmental variable setup incorrectly. Try setting it to C or en_US.

If using bash something like export LANG=C or export LANG=en_US should solve your problem.

like image 139
the_void Avatar answered May 13 '26 15:05

the_void



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!