Skip to content

Instantly share code, notes, and snippets.

@jwatte
Created September 26, 2017 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwatte/188f03b90f48bd19b6695d14b99d44dc to your computer and use it in GitHub Desktop.
Save jwatte/188f03b90f48bd19b6695d14b99d44dc to your computer and use it in GitHub Desktop.
Trying to build sluglibrary on Ubuntu 17.04
Trying to build on Ubuntu 17.04.
jwatte@ripper:~/Downloads/SlugDemo/Linux$ make
mkdir -p Output/Code
gcc -I../Code -I/usr/include -DSLUG_LINUX -DSLUG_OPENGL -m64 -msse -msse2 -std=c++11 -fno-exceptions -fno-rtti -Wall -Wno-multichar -Wno-strict-aliasing -Wno-unused-result -O3 -c ../Code/Main.cpp -o Output/Code/Main.o
gcc -I../Code -I/usr/include -DSLUG_LINUX -DSLUG_OPENGL -m64 -msse -msse2 -std=c++11 -fno-exceptions -fno-rtti -Wall -Wno-multichar -Wno-strict-aliasing -Wno-unused-result -O3 -c ../Code/SlugDemo.cpp -o Output/Code/SlugDemo.o
In file included from /usr/include/GL/glx.h:333:0,
from ../Code/SlugDemo.h:96,
from ../Code/Main.cpp:1:
/usr/include/GL/glxext.h:505:143: error: ‘GLintptr’ has not been declared
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
^
/usr/include/GL/glxext.h:505:164: error: ‘GLintptr’ has not been declared
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
... and so forth
@sgf
Copy link

sgf commented Apr 14, 2020

Hi,im jamie,I want to try to build sluglibrary early demo.
SlugDemo.zip is not currently available with project files for the Demo download.

@jwatte
Copy link
Author

jwatte commented Apr 15, 2020

You will have to ask Eric Lengyel about his demos.

@sgf
Copy link

sgf commented Apr 17, 2020

he wont release the early demo now,now only release has binary exe.
Even though I know you probably don't want to send to me.
Anyway, thanks.

@jwatte
Copy link
Author

jwatte commented Apr 17, 2020

It's not a matter of "want," it's a matter of following the law. It's not mine to send.

@sgf
Copy link

sgf commented Apr 18, 2020

its only with a demo source ,not the full source(SlugLibrary core source).it's been release by Eric Lengyel at 2017.
If I knew this at the time (2017), maybe I would download it from the SlugLibrary website by my selft. Actually just because I knew it was too late. It doesn't matter anyway, I understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment