Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile Bugs (OpenGL/OpenCL Dependencies?) #2

Closed
0xdeadbeefJERKY opened this issue Aug 6, 2014 · 7 comments
Closed

Makefile Bugs (OpenGL/OpenCL Dependencies?) #2

0xdeadbeefJERKY opened this issue Aug 6, 2014 · 7 comments

Comments

@0xdeadbeefJERKY
Copy link

After running the following in the dataviz/graphiti directory:

make native

The following output:

In file included from ../raindance/Raindance.hh:3:
../raindance/Core/Headers.hh:18:12: fatal error: 'CL/cl.h' file not found
# include <CL/cl.h>

A similar error was also part of the output before installing the freeglut3 package. I'm assuming the OpenGL and OpenCL frameworks need to be properly installed before using dataviz. Please reflect this in both the homepage and the git repo/README.

@achillean
Copy link

On Ubuntu install the headers with:

apt-get install opencl-headers

I'm still unable to compile it on Ubuntu using clang++ but the above should solve that issue.

@0xdeadbeefJERKY
Copy link
Author

More errors after installing the OpenCL header files...

In file included from Main.cc:5: In file included from .//Graphiti.hh:8: In file included from .//Core/Console.hh:9: In file included from /usr/include/python2.7/Python.h:58: /usr/include/python2.7/pyport.h:873:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."

@andrewsmhay
Copy link

Thibault says that he has some fixes to push for Ubuntu. Will be up Monday at the latest.

@naumek
Copy link

naumek commented Aug 7, 2014

Hello,
another problem on Ubuntu. After running

make native

I get error like

   --- Packing Resources ---
mkdir -p Pack
mkdir -p Pack/hud
xxd -i Resources/Hud/pointer.png > Pack/Hud/pointer.png
/bin/sh: 1: cannot create Pack/Hud/pointer.png: Directory nonexistent
make: *** [pack] Error 2

Script stops but file pointer.png exists in Pack/Hud directory...

@0xdeadbeefJERKY
Copy link
Author

You have to change the line "mkdir -p Pack/hud" to "mkdir -p Pack/Hud"
(Linux directories are case-sensitive).
On Aug 7, 2014 7:36 AM, "naumek" notifications@github.com wrote:

Hello,
another problem on Ubuntu. After running

make native

I get error like

--- Packing Resources ---mkdir -p Packmkdir -p Pack/hudxxd -i Resources/Hud/pointer.png > Pack/Hud/pointer.png/bin/sh: 1: cannot create Pack/Hud/pointer.png: Directory nonexistentmake: *** [pack] Error 2

Script stops but file pointer.png exists in Pack/Hud directory...


Reply to this email directly or view it on GitHub
#2 (comment).

@achillean
Copy link

That bug is actually already fixed in the latest version of graphiti, but the dataviz repository is referencing an old version. I recommend checking out the raindance/ graphiti repositories directly and not following the references from the dataviz repo.

@ThibaultReuille
Copy link
Contributor

Thank you achillean. Sorry for replying to this so late. I've made a couple of fixes for Ubuntu, you should be able to compile just fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants