FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - vienastoks

Pages: [1]
1
Help and troubleshooting / Can't compile fifechan
« on: October 03, 2013, 03:36:11 am »
Was trying to install fifengine on a Mac

I think I managed to install all dependencies, except for fifechan. Am getting loads of errors on sudo make install:

Code: [Select]
[ 47%] Building CXX object CMakeFiles/fifechan.dir/src/utf8stringeditor.o
In file included from /Users/vienastoks/fifechan/src/utf8stringeditor.cpp:44:
In file included from /Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8.hpp:52:
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:141:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:141:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                                         ^
                                               (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:146:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:146:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f     | 0x80);
                                                         ^
                                               (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:147:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:147:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                                         ^
                                               (               )
In file included from /Users/vienastoks/fifechan/src/utf8stringeditor.cpp:44:
In file included from /Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8.hpp:53:
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:69:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:69:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                             ^
                                                   (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:74:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:74:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
                                                             ^
                                                   (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:75:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:75:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                             ^
                                                   (               )
6 warnings generated.

and then

Code: [Select]
[ 69%] Building CXX object CMakeFiles/fifechan.dir/src/widgets/passwordfield.o
/Users/vienastoks/fifechan/src/widgets/passwordfield.cpp:87:61: warning: '&&' within '||'
      [-Wlogical-op-parentheses]
        else if ((key.isCharacter() || key.getValue() > 255 && mText->getNumberOfRows() > 0)
                                    ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vienastoks/fifechan/src/widgets/passwordfield.cpp:87:61: note: place parentheses around the '&&'
      expression to silence this warning
        else if ((key.isCharacter() || key.getValue() > 255 && mText->getNumberOfRows() > 0)
                                                            ^
                                       (                                                   )
1 warning generated.

still later

Code: [Select]
[ 81%] Building CXX object CMakeFiles/fifechan.dir/src/widgets/textbox.o
In file included from /Users/vienastoks/fifechan/src/widgets/textbox.cpp:77:
In file included from /Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8.hpp:52:
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:141:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:141:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                                         ^
                                               (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:146:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:146:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f     | 0x80);
                                                         ^
                                               (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:147:58: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                               ~~~~~~~~~~^~~~~~     ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/checked.hpp:147:58: note: place parentheses
      around the '&' expression to silence this warning
            *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f     | 0x80);
                                                         ^
                                               (               )
In file included from /Users/vienastoks/fifechan/src/widgets/textbox.cpp:77:
In file included from /Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8.hpp:53:
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:69:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:69:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                             ^
                                                   (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:74:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:74:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
                                                             ^
                                                   (               )
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:75:62: warning: '&' within '|'
      [-Wbitwise-op-parentheses]
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                   ~~~~~~~~~~^~~~~~   ~
/Users/vienastoks/fifechan/include/fifechan/util/utf8/utf8/unchecked.hpp:75:62: note: place parentheses
      around the '&' expression to silence this warning
                *(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
                                                             ^
                                                   (               )
/Users/vienastoks/fifechan/src/widgets/textbox.cpp:266:35: warning: comparison of unsigned expression < 0
      is always false [-Wtautological-compare]
                if (getCaretRow() < 0)
                    ~~~~~~~~~~~~~ ^ ~
7 warnings generated.
[ 83%] Building CXX object CMakeFiles/fifechan.dir/src/widgets/textfield.o
/Users/vienastoks/fifechan/src/widgets/textfield.cpp:235:61: warning: '&&' within '||'
      [-Wlogical-op-parentheses]
        else if ((key.isCharacter() || key.getValue() > 255 && mText->getNumberOfRows() > 0)
                                    ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vienastoks/fifechan/src/widgets/textfield.cpp:235:61: note: place parentheses around the '&&'
      expression to silence this warning
        else if ((key.isCharacter() || key.getValue() > 255 && mText->getNumberOfRows() > 0)
                                                            ^
                                       (                                                   )
1 warning generated.

some more

Code: [Select]
[ 96%] Building CXX object CMakeFiles/fifechan_sdl.dir/src/sdl/sdlimage.o
/Users/vienastoks/fifechan/src/sdl/sdlimage.cpp:173:19: error: use of undeclared identifier
      'SDL_DisplayFormatAlpha'
            tmp = SDL_DisplayFormatAlpha(mSurface);
                  ^
/Users/vienastoks/fifechan/src/sdl/sdlimage.cpp:179:19: error: use of undeclared identifier
      'SDL_DisplayFormat'
            tmp = SDL_DisplayFormat(mSurface);
                  ^
/Users/vienastoks/fifechan/src/sdl/sdlimage.cpp:191:34: error: use of undeclared identifier
      'SDL_SRCCOLORKEY'
            SDL_SetColorKey(tmp, SDL_SRCCOLORKEY,
                                 ^
/Users/vienastoks/fifechan/src/sdl/sdlimage.cpp:196:31: error: use of undeclared identifier 'SDL_SRCALPHA'
            SDL_SetAlpha(tmp, SDL_SRCALPHA, 255);
                              ^
4 errors generated.

and finally

Code: [Select]
make[2]: *** [CMakeFiles/fifechan_sdl.dir/src/sdl/sdlimage.o] Error 1
make[1]: *** [CMakeFiles/fifechan_sdl.dir/all] Error 2
make: *** [all] Error 2

There are too many errors for me to make any sense. Could somebody help maybe?

I did install homebew, swig, sdl, sdl_image, sdl_mixer, sdl_ttf, scons, boost, boost-jam, wget, libvorbis, libogg, gettext (brew said I don't need this coz osx have it already), libpng, intltool, cmake; corrected boost library names; added gettext to path; installed pil (with multiple fatal errors), pyyaml (with still more fatal errors), pyrex and cython (with no errors); downloaded and moved SDL framework.

When I try to run scons on fifengine all shows up ok, except fifechan. How do I compile the thing? :)

2
Introduce yourself / Re: Hello from a dev wannabe :)
« on: October 03, 2013, 01:09:26 am »
Sorry about Eschalon. You can check the games at basiliskgames.com. They were made by a single person mostly (what inspired me to try) in BlitzMax (what didn't).

I did some research and found that there are very few options for iso RPG game developer: 1) write the game engine by yourself (might be too tough for me personally); 2) use FIFE/FIFErpg (if I ever manage to install it - I'm on a Mac :) ); 3) try to use Unity 3D. Some things are quite easy with Unity, there's a community around it and lots of extras, but using 3d engine to build a 2d world is a bit sick.

I don't need to commit immediately - there's lots of work to do with graphics and animation before I could start. Will be exploring FIFE in the meanwhile.

3
Introduce yourself / Hello from a dev wannabe :)
« on: September 29, 2013, 03:07:08 pm »
Hello, guys!

I'm also coming from modding (never was a part of any community though). What I fancy now is to attempt to write a mini-game (an one-map scenario really) as a test to my ability/perseverance.  :)

From what I've seen FIFE seems a good platform to build my game with. What I'm thinking about is something like Eschalon. Is it possible? If not entirely, which parts of that game (hope you're familiar with it) would not be possible to do? What about animated overlays (mist, rain, snow)?

Thanks in advance for your reply!

Pages: [1]