Here a better way to explain the modifications: chuck-1.3.3.0/src $ more patch_util_string_cpp.patch 387a388,391
#ifndef PATH_MAX #include
#endif
You can apply the patch like this:
chuck-1.3.3.0/src $ patch util_string.cpp -i patch_util_string_cpp.patch -o util_string.cpp
YoYo
From: yoyonel@hotmail.com
To: chuck-dev@lists.cs.princeton.edu
Subject: ChucK-1.3.3.0 - Problem with source & compilation [Linux-Mint]
Date: Fri, 29 Nov 2013 16:50:13 +0100
Hey Guyz !
A minor problem in the source code for linux compilation:
util_string.cpp: In function ‘std::string get_full_path(const string&)’:
util_string.cpp:393:14: erreur: ‘PATH_MAX’ was not declared in this scope
util_string.cpp:395:42: erreur: ‘buf’ was not declared in this scope
make: *** [util_string.o] Erreur 1
Just need to add this lines in util_string.cpp at lines 387:
#ifndef PATH_MAX
#include