I am building on Ubuntu 14.04 (64bit). I have the following relevant packages installed:
$ make
Making all in src
make[1]: Entering directory `/x/src/hugin/hugin-panoglview/src'
g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -MT panoglview-panoapp.o -MD -MP -MF .deps/panoglview-panoapp.Tpo -c -o panoglview-panoapp.o `test -f 'panoapp.cpp' || echo './'`panoapp.cpp
mv -f .deps/panoglview-panoapp.Tpo .deps/panoglview-panoapp.Po
g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -MT panoglview-panoframe.o -MD -MP -MF .deps/panoglview-panoframe.Tpo -c -o panoglview-panoframe.o `test -f 'panoframe.cpp' || echo './'`panoframe.cpp
In file included from panoframe.cpp:32:0:
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"................"};
^
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
smallicon.xpm:28:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mv -f .deps/panoglview-panoframe.Tpo .deps/panoglview-panoframe.Po
g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -MT panoglview-panointeractivecanvas.o -MD -MP -MF .deps/panoglview-panointeractivecanvas.Tpo -c -o panoglview-panointeractivecanvas.o `test -f 'panointeractivecanvas.cpp' || echo './'`panointeractivecanvas.cpp
mv -f .deps/panoglview-panointeractivecanvas.Tpo .deps/panoglview-panointeractivecanvas.Po
g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -MT panoglview-panocanvas.o -MD -MP -MF .deps/panoglview-panocanvas.Tpo -c -o panoglview-panocanvas.o `test -f 'panocanvas.cpp' || echo './'`panocanvas.cpp
In file included from /usr/include/string.h:640:0,
from /usr/include/wx-2.8/wx/wxchar.h:1343,
from /usr/include/wx-2.8/wx/debug.h:22,
from /usr/include/wx-2.8/wx/defs.h:521,
from /usr/include/wx-2.8/wx/wxprec.h:13,
from panocanvas.cpp:24:
In function 'void* memset(void*, int, size_t)',
inlined from 'void panoCanvas::createPanorama(const wxImage&)' at panocanvas.cpp:160:36:
/usr/include/x86_64-linux-gnu/bits/string3.h:81:32: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
mv -f .deps/panoglview-panocanvas.Tpo .deps/panoglview-panocanvas.Po
g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -MT panoglview-boundaries.o -MD -MP -MF .deps/panoglview-boundaries.Tpo -c -o panoglview-boundaries.o `test -f 'boundaries.cpp' || echo './'`boundaries.cpp
mv -f .deps/panoglview-boundaries.Tpo .deps/panoglview-boundaries.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -o panoglview panoglview-panoapp.o panoglview-panoframe.o panoglview-panointeractivecanvas.o panoglview-panocanvas.o panoglview-boundaries.o -L/usr/lib/x86_64-linux-gnu -pthread -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lwx_gtk2u_gl-2.8
libtool: link: g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -O2 -o panoglview panoglview-panoapp.o panoglview-panoframe.o panoglview-panointeractivecanvas.o panoglview-panocanvas.o panoglview-boundaries.o -pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lwx_gtk2u_gl-2.8 -pthread
panoglview-panocanvas.o: In function `memset':
/usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters
/usr/bin/ld: panoglview-panointeractivecanvas.o: undefined reference to symbol 'glColor4f'
//usr/lib/nvidia-331-updates/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [panoglview] Error 1
make[1]: Leaving directory `/x/src/hugin/hugin-panoglview/src'
make: *** [all-recursive] Error 1