<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Here a better way to explain the modifications:<br><blockquote>chuck-1.3.3.0/src $ more <b>patch_util_string_cpp.patch </b><br>387a388,391<br>> #ifndef PATH_MAX<br>> #include <linux/limits.h><br>> #endif<br>> <br></blockquote><br>You can apply the patch like this:<br><blockquote>chuck-1.3.3.0/src $ patch util_string.cpp -i patch_util_string_cpp.patch -o util_string.cpp<br></blockquote><br>YoYo<br><br><div><hr id="stopSpelling">From: yoyonel@hotmail.com<br>To: chuck-dev@lists.cs.princeton.edu<br>Subject: ChucK-1.3.3.0 - Problem with source & compilation [Linux-Mint]<br>Date: Fri, 29 Nov 2013 16:50:13 +0100<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hey Guyz !<br><br>A minor problem in the source code for linux compilation:<br><blockquote>util_string.cpp: In function ‘std::string get_full_path(const string&)’:<br>util_string.cpp:393:14: erreur: ‘PATH_MAX’ was not declared in this scope<br>util_string.cpp:395:42: erreur: ‘buf’ was not declared in this scope<br>make: *** [util_string.o] Erreur 1<br></blockquote><br>Just need to add this lines in util_string.cpp at lines 387:<br><blockquote>#ifndef PATH_MAX<br>#include <linux/limits.h> // for PATH_MAX definition<br>#endif<br></blockquote><br>Enjoy,<br>YOOoOYoOoOo<br>                                        </div></div>                                        </div></body>
</html>