Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
It's not clear to me at all why it would fail on those 'grab' method
declarations. Also, the GLM swizzle errors are a bit unusual, and I don't see
how they correspond to that line number.
Can you check the sub module is up to date?
Can you check what version of GLM is installed?
What does 'g++ -v' give you?
Original comment by acaudw...@gmail.com
on 25 Jun 2013 at 2:11
Wow such a fast response time! Impressive!
I saw the 'autogen.sh' updated sub modules.
$ ./autogen.sh
autoreconf ran successfully.
Initializing submodules...
Submodule 'src/core' () registered for path 'src/core'
Updating submodules...
Run './configure && make' to continue.
For other info,
Ok here it goes.
$ dpkg -la|grep glm
ii libglm-dev 0.9.2.7-1
C++ library for OpenGL GLSL type-based
mathematics
$ LC_ALL=C apt-cache policy libglm-dev
libglm-dev:
Installed: 0.9.2.7-1
Candidate: 0.9.2.7-1
Version table:
*** 0.9.2.7-1 0
500 http://ftp.ubuntu-tw.org/mirror/ubuntu/ precise/universe amd64 Packages
500 http://free.nchc.org.tw/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
$ LC_ALL=C g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
Original comment by bluetraveler
on 25 Jun 2013 at 2:13
It might be that version of GLM. 0.9.3 changed how swizzles were implemented.
If you want you could try installing a libglm-dev from a newer Ubuntu. It's
only headers so it shouldn't break anything, much.
What happens if you build Gource 0.40? Same issues I imagine?
Original comment by acaudw...@gmail.com
on 25 Jun 2013 at 3:46
I've test Gource both 0.40 and github version, they both get compiled
successfully.
Original comment by bluetraveler
on 25 Jun 2013 at 1:19
Attachments:
Have been wondering what is special about the method name 'grab' causing
problems ... just realized 'grab' is a swizzle of 'rgba' :) Looks like its a
problem with GLM 0.9.2 swizzles.
Gource doesn't enable swizzles currently (-DGLM_SWIZZLE) so that explains why
that works.
I only found 2 cases of actually using swizzles in the Logstalgia code, so I
have replaced them, and removed the GLM_SWIZZLE flag.
Should work now hopefully.
Original comment by acaudw...@gmail.com
on 26 Jun 2013 at 1:54
Cool. It built successfuly and works perfectly now!
Amazing for the quick fix.
Original comment by bluetraveler
on 26 Jun 2013 at 4:18
Original comment by acaudw...@gmail.com
on 31 Oct 2014 at 12:27
Original issue reported on code.google.com by
bluetraveler
on 24 Jun 2013 at 11:58