[chuck-dev] ChucK-1.3.3.0 - Problem with source & compilation [Linux-Mint]

Lionel Atty yoyonel at hotmail.com
Fri Nov 29 10:50:13 EST 2013


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 <linux/limits.h> // for PATH_MAX definition
#endif

Enjoy,
YOOoOYoOoOo
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20131129/cd324488/attachment.htm>


More information about the chuck-dev mailing list