dwaaan / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

cal++ build not finding cal++ headers #251

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1../setup.py build - cpyrit_cal
2.
3.

What is the expected output? What do you see instead?
cal to be intalled

What version of the product are you using? On what operating system?
Ubuntu 10.04 x64, ATI SDK 2.3 .(deb packages), pyrit SVn 0.40

Please provide any additional information below.
I can install opencl version of pyrit however can't install cal++ version

I have copied the directory from cal .87.1 sudo cp -r /cal/etc/etc/etc 

when I build I get this

building 'cpyrit._cpyrit_calpp' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c _cpyrit_calpp.cpp -o 
build/temp.linux-x86_64-2.6/_cpyrit_calpp.o -Wall -fno-strict-aliasing 
-DVERSION="0.4.0-dev (svn r288)"
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
In file included from _cpyrit_calpp.cpp:38:
/usr/local/include/cal/cal.hpp:26:17: error: cal.h: No such file or directory
/usr/local/include/cal/cal.hpp:27:19: error: calcl.h: No such file or directory
/usr/local/include/cal/cal.hpp:28:21: error: cal_ext.h: No such file or 
directory

any help would be great - as far as I can tell I followed everything

Original issue reported on code.google.com by andyto...@gmail.com on 2 Feb 2011 at 10:00

GoogleCodeExporter commented 8 years ago
hazeman, please take a look

Original comment by lukas.l...@gmail.com on 15 Feb 2011 at 4:13

GoogleCodeExporter commented 8 years ago
First of all latest Cpyrit-calpp core requires version 0.90 of CAL++ library.

Your problem is that compiler doesn't see ATI SDK include files. 
As far as I know there are no official SDK 2.3 deb packages - so the problem 
might be with the .deb package you installed.

Original comment by hazema...@gmail.com on 15 Feb 2011 at 7:40

GoogleCodeExporter commented 8 years ago
cheers i'll check it and let ya know when ihave some time to put my dev machine 
on the bench

Original comment by andyto...@gmail.com on 15 Feb 2011 at 8:31

GoogleCodeExporter commented 8 years ago
I am also getting the same error:

middle@The-Beast:~/Desktop/pyrit_svn/cpyrit_calpp$ ./setup.py build
The headers required to build CAL++ kernelwere not found. Trying to continue 
anyway...
running build
running build_ext
Building modules...
building 'cpyrit._cpyrit_calpp' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c _cpyrit_calpp.cpp -o 
build/temp.linux-i686-2.6/_cpyrit_calpp.o -Wall -fno-strict-aliasing 
-DVERSION="0.4.0-dev (svn r297)"
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
In file included from _cpyrit_calpp.cpp:38:
/usr/local/include/cal/cal.hpp:26: fatal error: cal.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

really not sure what to do this time. 

Thanks

Original comment by Keylogge...@gmail.com on 16 Feb 2011 at 7:45

GoogleCodeExporter commented 8 years ago
copy headers to /user/local/include and it will see them. then you get to the 
next error :)

Original comment by noblu...@gmail.com on 3 Mar 2011 at 9:28