Compile free web apps scope and scope+gen

Applications, development tools, FPGA, C, WEB
Post Reply
vimaldobariya
Posts: 4
Joined: Wed Jul 20, 2016 2:37 pm
Location: Germany

Compile free web apps scope and scope+gen

Post by vimaldobariya » Tue Jan 10, 2017 4:19 pm

Hello guys,
I am using Red Pitaya OS 0.97-42.
I have tried 7 web tutorial example. All are working good.
I am trying to compile the Free web apps. scope and scope+gen from given RedPitaya site:https://github.com/RedPitaya/RedPitaya/ ... /apps-free
after compiling these applications I can see both application in web browser. But when I open these application. Both give same error in browser. That you can see in attached drafts. like "Application not loaded"

Please help me to find out this problem and to get solution.

Regards,
Vimal
You do not have the required permissions to view the files attached to this post.

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Compile free web apps scope and scope+gen

Post by Nils Roos » Sat Jan 14, 2017 2:49 am

I haven't yet found out why that happens, but I'm looking into it.

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Compile free web apps scope and scope+gen

Post by Nils Roos » Sat Jan 14, 2017 7:00 pm

The problem is that the compiler on the Red Pitaya does not properly process functions declared "inline" (even when called with "-std=gnu99"). The inlined functions will not be linked into the controllerhf.so, so when you load the application there are unresolvable dependencies and starting the app fails.

The solution is simple, delete the two occurrences of "inline" in apps-free/scope/src/worker.c .

vimaldobariya
Posts: 4
Joined: Wed Jul 20, 2016 2:37 pm
Location: Germany

Re: Compile free web apps scope and scope+gen

Post by vimaldobariya » Mon Jan 16, 2017 1:09 pm

Hi Nils,
Thank you so much.
Now it works fine.

Regards,
Vimal Dobariya

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 15 guests