fekriomar / pyrit

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

Fatal error: cal/il/cal_il.hpp: No such file or directory #285

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

trying to build cpyrit_cal++

./setup.py build

What is the expected output? What do you see instead?

_cpyrit_calpp_kernel.cpp:22: fatal error: cal/il/cal_il.hpp: No such file or 
directory

What version of the product are you using? On what operating system?

Ubuntu 10.10

Please provide any additional information below.

I believe i have installed everything necessary AtiStreamSDK CAL++ pyrit etc... 

Thanks a lot

Original issue reported on code.google.com by Keylogge...@gmail.com on 26 Mar 2011 at 6:36

GoogleCodeExporter commented 8 years ago
Sorry, my fault. I added sudo to the command and now i have a new error that 
has been seen before:

/usr/local/include/cal/cal.hpp:26: fatal error: cal.h: No such file or directory

However:

/usr/local/include/cal$ ls
cal.hpp  cal_il_atomics.hpp  cal_il_flat2d.hpp  cal_il.hpp  cal_il_math.hpp  
cal_il_rv7xx.hpp  il

So i am not really too sure what to do.

Thanks a million!

Original comment by Keylogge...@gmail.com on 26 Mar 2011 at 6:47

GoogleCodeExporter commented 8 years ago
Also i looked in:

/usr/local/include/cal/il

and cal_il.hpp is not in there. So maybe this is the root cause of the problem?

Thanks again

Original comment by Keylogge...@gmail.com on 26 Mar 2011 at 6:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Had the same problem, seem to have just solved it.  

I have the APP SDK 2.4 installed.  You first need to make sure variable 
ATISTREAMSDKROOT is set to the path where the SDK is installed.  Then, what 
worked for me is to edit the <setup.py> file, just change 'include' to 
'include/CAL' at the following line:

    CALPP_INC_DIRS.append(os.path.join(CALPP_INC_DIR, 'include'))

Worked for me. Gave some minor warning messages on compile but ok.  I had the 
previous opencl module installed so I moved 
/usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_opencl.so somewhere else 
to avoid conflict with the new CAL++ module. Module selftested and benchmarked 
ok, seems to be good so far.

Hope this helps

Original comment by martinou...@gmail.com on 17 Apr 2011 at 11:21

GoogleCodeExporter commented 8 years ago
Any update here?

Original comment by lukas.l...@gmail.com on 28 Apr 2011 at 9:21

GoogleCodeExporter commented 8 years ago
yes, the op is a member on another forum that I use. I helped him resolve the 
problem. He is up and running now.

Original comment by ziggyca...@yahoo.com on 28 Apr 2011 at 3:12

GoogleCodeExporter commented 8 years ago
please post the link if it is a legitimate forum. closing.

Original comment by lukas.l...@gmail.com on 28 Apr 2011 at 4:47