compile File.cpp issue

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
thechildren
Prole
Posts: 2
Joined: Fri Jan 30, 2009 6:11 am

compile File.cpp issue

Post by thechildren »

I'm getting this error:

physfs/File.cpp: In member function ‘virtual bool love_physfs::File::write(const char*, int)’:
physfs/File.cpp:112: error: ‘strlen’ was not declared in this scope
make[2]: *** [physfs/File.o] Error 1
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: compile File.cpp issue

Post by bartbes »

This particular error has been seen more and it actually means that you have to add an include in the file

Code: Select all

#include <string>
EDIT: I should start reading titles :P
Post Reply

Who is online

Users browsing this forum: imDread and 6 guests