to compile the client:
- Create a directory "build"
- Change to directory "src". Not "build/src"
- Execute "make release" or "make debug". There is a small makefile
helper in the src folder that runs cmake and builds the whole client.
You can take a look inside if you want to know the cmake commands.
But you don't need to execute cmake by hand. If you did, I recommend to
remove all the contents of the build folder before you start compiling
again.
Hope that helps,
spin
On 02/26/2012 05:52 PM, Iuri wrote:
> I am having problem to compile it on Debian 6 Gnu/Linux. Do I need to
> create the 'build' directory? And I believe that I need to use cmake
> command in some place (src/ ?). "make debug" or "make release" don't
> have any progress on compilation.
>
> What I think tha must be done to compile it is: enter in 'src/'
> directory, do 'cmake .', make and finally make install. Or create
> build directory, do 'cmake ../', make and make install. But in both
> case I get error.
>
> In first case i get:
> Scanning dependencies of target fluorescence
> [ 0%] Building CXX object fluorescence/CMakeFiles/fluorescence.dir/
> data/fullfileloader.o
> In file included from /home/iuri/fluorescence/src/fluorescence/data/
> fullfileloader.cpp:21:
> /home/iuri/fluorescence/src/fluorescence/data/fullfileloader.hpp:
> 23:30: error: misc/exception.hpp: Arquivo ou diret�rio n�o encontrado
> /home/iuri/fluorescence/src/fluorescence/data/fullfileloader.cpp: In
> constructor �fluo::data::FullFileLoader::FullFileLoader(const
> boost::filesystem3::path&)�:
> /home/iuri/fluorescence/src/fluorescence/data/fullfileloader.cpp:28:
> error: �Exception� was not declared in this scope
> /home/iuri/fluorescence/src/fluorescence/data/fullfileloader.cpp: In
> member function �void
> fluo::data::FullFileLoader::read(boost::function<void(int8_t*,
> unsigned int)>)�:
> /home/iuri/fluorescence/src/fluorescence/data/fullfileloader.cpp:49:
> error: �Exception� was not declared in this scope
> make[2]: ** [fluorescence/CMakeFiles/fluorescence.dir/data/
> fullfileloader.o] Erro 1
> make[1]: ** [fluorescence/CMakeFiles/fluorescence.dir/all] Erro 2
> make: ** [all] Erro 2
>
> In second case i get:
> [ 65%] Building CXX object src/fluorescence/CMakeFiles/
> fluorescence.dir/ui/uofontprovider.cpp.o
> cc1plus: warnings being treated as errors
> /home/iuri/fluorescence/src/fluorescence/ui/uofontprovider.cpp: In
> member function �virtual int
> fluo::ui::UoFontProvider::get_character_index(CL_GraphicContext&,
> const CL_String&, const CL_Point&)�:
However, I recommend upgrading to 4.6 soon. I will most likely enforce
this version in the cmake file in the near future to avoid errors, as I
plan to use more c++11 features.
Despite the errors of the cmake helper, the compiler somehow finds at
least the clanlib includes, because it does not complain about missing
header files. But the compiler error indicates that the patch was not
applied to those headers.
Sorry, no idea what this problem is about.
I can only recommend starting the compilation process from scratch.
>> mais �
As the project site on google code says, walking is not finished yet.
But as I am currently working on the calking code, improvements will be
published soon.
The rendering, however, should work fine. If you encounter any rendering
problems, please create tickets with screenshots in the issue tracker.
>> mais �
>> mais �