UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #5169  -  picomodel: latest version from github is probably outdated
Posted Oct 04, 2013 - updated Oct 04, 2013
Issue details
  • Type of issue
    Bug report
  • Status
     
    Open
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Apo
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Resolution
    Not determined
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Hi,

I packaged the picomodel library from https://github.com/ufoai/picomodel for Debian. This version seems to differ from the embedded picomodel library that is included in ufoai's git repository.

The lastest git commit from branch ufoai_2.5 builds with the included picomodel library but not with the one from github.

error message at build time:

===> CXX uforadiant src/tools/radiant/radiant/windowobservers.cpp ===> CXX uforadiant src/tools/radiant/radiant/model.cpp src/tools/radiant/radiant/model.cpp: In function 'void pico_initialise()': src/tools/radiant/radiant/model.cpp:95:38: error: invalid conversion from 'void (*)(char*, byte**, int*) {aka void (*)(char*, unsigned char**, int*)}' to 'void (*)(const char*, unsigned char**, int*)' -fpermissive
  PicoSetLoadFileFunc(PicoLoadFileFunc);
                                      ^
In file included from src/tools/radiant/include/irender.h:103:0,
                 from src/tools/radiant/radiant/model.cpp:31:
src/tools/radiant/libs/math/Vector3.h: At global scope: src/tools/radiant/libs/math/Vector3.h:432:15: warning: 'g_vector3_axes' defined but not used -Wunused-variable
 const Vector3 g_vector3_axes[3] = { g_vector3_axis_x, g_vector3_axis_y, g_vector3_axis_z };
Steps to reproduce this issue
Nothing entered.