You are not logged in.

#1 2009-07-06 14:27:59

mrcold
Member
Registered: 2008-01-24
Posts: 150

compiling 'chuck'

I can't get the latest version of ChucK to compile (http://chuck.cs.princeton.edu/release/)
I'm pretty sure i've git all of the dependencies...
this is what I get:

g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_buffers.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_console.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_string.cpp
util_string.cpp: In function 'std::string itoa(long int)':
util_string.cpp:46: error: 'sprintf' was not declared in this scope
util_string.cpp: In function 'std::string ftoa(double, long unsigned int)':
util_string.cpp:61: error: 'sprintf' was not declared in this scope
make[1]: *** [util_string.o] Error 1
make[1]: Leaving directory `/home/cody/chuck-1.2.1.2/src'
make: [linux-jack] Error 2 (ignored)

any ideas?

Offline

#2 2009-07-06 14:35:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: compiling 'chuck'

It needs a patch for the latest gcc as the c++ headers have been tidied up quite a bit in the last couple of releases.

https://lists.cs.princeton.edu/pipermai … 04332.html

Offline

#3 2009-07-06 22:39:34

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: compiling 'chuck'

thanks smile
i didn't think of searching the list.

(lets hope it works!)

Offline

#4 2009-07-06 23:47:20

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: compiling 'chuck'

ok.. now it compiles.. but it segfaults when running a program.  There isn't any error message.. even when running verbose.  Maybe I just don't know where to look??

Offline

#5 2009-07-07 00:57:54

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: compiling 'chuck'

mrcold wrote:

ok.. now it compiles.. but it segfaults when running a program.  There isn't any error message.. even when running verbose.  Maybe I just don't know where to look??

Chuck doesn't have any errors, expect a roundhouse kick to the face soon.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2009-07-07 01:04:57

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: compiling 'chuck'

moljac024 wrote:
mrcold wrote:

ok.. now it compiles.. but it segfaults when running a program.  There isn't any error message.. even when running verbose.  Maybe I just don't know where to look??

Chuck doesn't have any errors, expect a roundhouse kick to the face soon.

oh my

what have i done?

Offline

Board footer

Powered by FluxBB