Apparently, I've problem which is stated here:
https://sourceforge.net/p/brlcad/discussion/362510/thread/49279c58/

While retracing, I found that the only difference I made was directly using
*$ sudo apt install clinfo cmake g++ libx11-dev subversion*
instead of
*$ sudo bash apt install clinfo cmake g++ libx11-dev subversion*
because latter gave this error: */usr/bin/apt: /usr/bin/apt: cannot execute
binary file*

Rest all commands are exactly the same!

Warm Regards,

*Sreyansh Kumhar Jain*
4th Year Undergraduate Student
Department of Mechanical Engineering
Indian Institute of Technology, Kharagpur
*+91-9933958066*

sreyanshjai...@gmail.com
Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
<https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>

On Fri, May 11, 2018 at 12:08 AM, Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:

> Cool, but make sure to show us an MGED log file with the OpenCL render
> mode on.
>
> BTW, I tested the BRL-CAD OpenCL branch, and, it compiles & runs on the
> latest Ubuntu 18.04 LTS with the AMD APP SDK. But the package dependencies
> to get it to recognize X11 and OpenGL are kinda convoluted.
>
> On Wed, May 9, 2018 at 7:10 PM, Sreyansh Jain <sreyanshjai...@gmail.com>
> wrote:
>
>> Hey, it's working! I started from scratch for everything. Now that I've
>> set it up, I'll start working with developing codes and their performance
>> check simultaneously.
>>
>> Warm Regards,
>>
>> *Sreyansh Kumhar Jain*
>> 4th Year Undergraduate Student
>> Department of Mechanical Engineering
>> Indian Institute of Technology, Kharagpur
>> *+91-9933958066*
>>
>> sreyanshjai...@gmail.com
>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>
>> On Wed, May 9, 2018 at 10:15 PM, Vasco Alexandre da Silva Costa <
>> vasco.co...@gmail.com> wrote:
>>
>>> In case you have issues with downloading the AMD APP SDK executable,
>>> here's a link to the .tar.bz2:
>>> https://drive.google.com/open?id=1wFzg1vohDHeebZn14IK12KOhbodS-zvS
>>>
>>> On Wed, May 9, 2018 at 2:35 PM, Vasco Alexandre da Silva Costa <
>>> vasco.co...@gmail.com> wrote:
>>>
>>>> Did you make sure you updated the sources.list and did an "sudo apt
>>>> update; sudo apt upgrade"?
>>>>
>>>> Note: Because Ubuntu 17.04 is EOL'ed you'll have to change the
>>>> sources.list to get apt-get to work properly. see:
>>>> https://stackoverflow.com/questions/48324701/google-compute-
>>>> engine-ubuntu-17-04-zesty-does-no-longer-have-a-release-file
>>>>
>>>>
>>>> As for the AMD APP SDK (OpenCL) download page, yeah it seems to be
>>>> broken:
>>>> https://community.amd.com/community/devgurus/opencl
>>>>
>>>> Thankfully I had a copy of it around here. I've put it up here:
>>>> https://drive.google.com/open?id=1NZ6Z6j4aRHlZpBrjJHeSwdmu-LJgEpSa
>>>>
>>>>
>>>> On Wed, May 9, 2018 at 5:37 AM, Sreyansh Jain <sreyanshjai...@gmail.com
>>>> > wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I tried with Ubuntu 17.04 but the error still remains the same. I
>>>>> believe it is unable to read *expscan.h* file where perplex template
>>>>> is defined. It is showing the same with both the latest as well as the
>>>>> r70379 version.
>>>>>
>>>>> In file included from /usr/brlcad/src/other/stepcode
>>>>>> /src/express/express.c:86:0:
>>>>>> /usr/brlcad/src/other/stepcode/src/express/parse_data.h:5:5: error:
>>>>>> unknown type name ‘perplex_t’
>>>>>>      perplex_t scanner;
>>>>>>      ^~~~~~~~~
>>>>>> /usr/brlcad/src/other/stepcode/src/express/express.c: In function
>>>>>> ‘PARSERrun’:
>>>>>> /usr/brlcad/src/other/stepcode/src/express/express.c:621:5: error:
>>>>>> unknown type name ‘perplex_t’
>>>>>>      perplex_t scanner = perplexFileScanner( fp );
>>>>>>      ^~~~~~~~~
>>>>>> src/other/stepcode/src/express/CMakeFiles/express.dir/build.make:529:
>>>>>> recipe for target 'src/other/stepcode/src/expres
>>>>>> s/CMakeFiles/express.dir/express.c.o' failed
>>>>>> make[2]: *** [src/other/stepcode/src/expres
>>>>>> s/CMakeFiles/express.dir/express.c.o] Error 1
>>>>>> CMakeFiles/Makefile2:4685: recipe for target
>>>>>> 'src/other/stepcode/src/express/CMakeFiles/express.dir/all' failed
>>>>>> make[1]: *** [src/other/stepcode/src/express/CMakeFiles/express.dir/all]
>>>>>> Error 2
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>
>>>>> Also, the link you mentioned https://developer.amd.com/amd-
>>>>> accelerated-parallel-processing-app-sdk/ doesn't exist as of now.
>>>>>
>>>>> I've started with converting the HYP shot routine and will check its
>>>>> performance once my working development environment develops.
>>>>>
>>>>>
>>>>> Also, I went through the instructions to be followed and will make it
>>>>> a point to give updates more frequently. Meanwhile, I had a few queries,
>>>>> both general and specific:
>>>>> - For acceptance as mentioned here
>>>>> <http://brlcad.org/wiki/Summer_of_Code/Acceptance>, is there a
>>>>> specific format (eg. in hard copy) or just a general mail in writing would
>>>>> do?
>>>>> - For daily updates, do I start a new thread with just my mentor and
>>>>> org-admin or in the group (also, in gsocax or in BRL-CAD developer mailing
>>>>> list?)
>>>>> - Would you prefer mail or other communication channel for daily
>>>>> update? And any preferred timings for interaction?
>>>>>
>>>>> Warm Regards,
>>>>>
>>>>> *Sreyansh Kumhar Jain*
>>>>> 4th Year Undergraduate Student
>>>>> Department of Mechanical Engineering
>>>>> Indian Institute of Technology, Kharagpur
>>>>> *+91-9933958066*
>>>>>
>>>>> sreyanshjai...@gmail.com
>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>
>>>>> On Mon, Mar 26, 2018 at 8:42 AM, Sreyansh Jain <
>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>
>>>>>> @Sean - Disabling bundled build does help a lot if not completely.
>>>>>>
>>>>>> @Vasco - Thank you for the detailed instructions. While working with
>>>>>> r30379 version on Ubuntu 16.04, I got the following few errors as 
>>>>>> mentioned
>>>>>> in the list attached. I've mentioned both 'make' and 'make -j4' results
>>>>>> with the hope of better understanding. While I try to tweak the code a 
>>>>>> bit
>>>>>> to make it work (like using expscan.h file content), it somehow leads to
>>>>>> even more errors. Any clue? I'll now try doing these on Ubuntu 17.04 the
>>>>>> way you mentioned.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Also, since the deadline is approaching regarding the final proposal
>>>>>> submission, do let me know if there are any changes to be made in the 
>>>>>> rough
>>>>>> draft I submitted.
>>>>>>
>>>>>> ‌
>>>>>>
>>>>>> Warm Regards,
>>>>>>
>>>>>> *Sreyansh Kumhar Jain*
>>>>>> 4th Year Undergraduate Student
>>>>>> Department of Mechanical Engineering
>>>>>> Indian Institute of Technology, Kharagpur
>>>>>> *+91-9933958066*
>>>>>>
>>>>>> sreyanshjai...@gmail.com
>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>
>>>>>> On Sat, Mar 24, 2018 at 9:46 AM, Christopher Sean Morrison <
>>>>>> brl...@mac.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mar 21, 2018, at 11:22 AM, Sreyansh Jain <
>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>
>>>>>>> I've tried symlinking awk to both gawk(4.1.3) and mawk, but I still
>>>>>>> get the same error. I'm using Ubuntu 16.04.
>>>>>>>
>>>>>>> Also, I've made the changes in the proposal. Now that I'm aware
>>>>>>> roughly about the tasks to be done, I think it's better to stick to 
>>>>>>> either
>>>>>>> one of BOT plate mode or BREP support. If time permits, I'll do the 
>>>>>>> other.
>>>>>>> I'll do a bit of detailed background study in both cases to check which 
>>>>>>> one
>>>>>>> should be plausible in the given time frame and update it in the 
>>>>>>> proposal
>>>>>>> accordingly.‌
>>>>>>>
>>>>>>>
>>>>>>> There’s apparently some issue with our bundled libpng sources on
>>>>>>> your system.  Does disabling bundled build work?  We usually recommend
>>>>>>> bundled for simplicity, but the default should work too.  
>>>>>>> Delete/Recreate
>>>>>>> your build directory, then reconfigure:
>>>>>>>
>>>>>>> cd to the brlcad sources directory
>>>>>>> rm -rf build
>>>>>>> mkdir build
>>>>>>> cd build
>>>>>>> cmake .. -DCMAKE_BUILD_TYPE=Release -DBRLCAD_ENABLE_OPENCL=ON
>>>>>>> make
>>>>>>>
>>>>>>> Cheers!
>>>>>>> Sean
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>>>>>> ------------------
>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>> _______________________________________________
>>>>>>> BRL-CAD Developer mailing list
>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> BRL-CAD Developer mailing list
>>>>> brlcad-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Vasco Alexandre da Silva Costa
>>>> PhD in Computer Engineering (Computer Graphics)
>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>
>>>
>>>
>>>
>>> --
>>> Vasco Alexandre da Silva Costa
>>> PhD in Computer Engineering (Computer Graphics)
>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> BRL-CAD Developer mailing list
>>> brlcad-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> brlcad-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>
>>
>
>
> --
> Vasco Alexandre da Silva Costa
> PhD in Computer Engineering (Computer Graphics)
> Instituto Superior Técnico/University of Lisbon, Portugal
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to