Reputation: 12122
(extremely) inexperienced in C++ but I've been getting along ok until now and this has me stumped. I'm unsure if I've included enough code to diagnose this but I believe it's syntax and might be figured out from the following. I'm getting the error mentioned from the line below:
#pragma once
#include "cinder/Vector.h"
#include "cinder/Color.h"
#include <vector>
class Predator {
public:
Predator();
Predator( ci::Vec3f pos, ci::Vec3f vel );
void pullToCenter( const ci::Vec3f ¢er );
void update( bool flatten, const ci::Channel32f &channel ); // <- error's here
void limitSpeed();
void draw();
void drawTail();
void addNeighborPos( ci::Vec3f pos );
And can't spot anything wrong? I've googled the error and it usually seems syntax related but can't see how it relates here. The line giving trouble is actually used in a previous class and doesn't throw any errors. Thanks in advance.
Upvotes: 0
Views: 4306
Reputation: 68053
Try adding
#include "cinder/Channel.h"
http://libcinder.org/docs/v0.8.2/_channel_8h.html
Upvotes: 1