|
Post by konaexpress on Oct 25, 2012 15:43:32 GMT 1
NICE!!!
So not to sound like the new guy but the instructions above are for users who are upgrading?
Is the new file OK for a "NEW" install? I don't mean to be late to the party but I have been trying to give you the time you needed.
Thanks -John
|
|
|
Post by alexfish on Oct 25, 2012 16:15:49 GMT 1
Hi John
Yes , from demo 1 , all is for upgrading,
have mentioned in the read me , looking for ways to put the images for the demo into the usr/share , then future demo's up to final rad demo 1.1 will come as install pkg. since the original demo needed the SVG files to be re-hardcoded.
If find time will make a complete package , "as regards demo 3" , but need to do some debugging , + extra traps for Known Bugs which can be a nuisance for new users,
this will come as 3-9.1 , or will implement in rad demo 4. If can not allocate the time necessary in the next few days. The rad tool is at a complex stage! as regards implementing these types of editors , but at least no longer have to scroll through reams of code to find the necessary sub or function.
Pleased you like it .
Regards
Alex
|
|
|
Post by alexfish on Oct 26, 2012 3:42:54 GMT 1
Rad demo 3 / jvap install pkg
download the tarfile
extract the tar file
from the terminal as root " sudo or sudo su" in linux
cd to the /usr/share/jvap
then
./install.sh
it takes a while to install.
then from user terminal , must not in root terminal when run first time , you have been warned !!!
jvap
it will crash on first compile , but restart and try again , should then compile
this is due to set up of "J-vap/Projects/" in the home directory
can save your projects in that directory,
the build is done in the "J-vap/Projects/build" directory
have fun
Regards
Alex
|
|
|
Post by alexfish on Oct 26, 2012 8:57:30 GMT 1
Rad demo 3 / jvap install pkg
the above build may fail , save project will not save the sdata , ?
had package latest bacon.bash + bacon.bac to build from scratch , appears to be file handling problem
here is a version using bacon26 .bac and .bash , have tested on ubuntu and appears to work , follow same method of install from previous post.
@pjot , can you try these two versions,
Regards
Alex
|
|
|
Post by vovchik on Oct 26, 2012 9:35:53 GMT 1
Dear Alex,
I am getting a runtime segmentation error with jvap. Compiled all bits myself and did manual install as per your script, myt manually.....
With kind regards, vovchik
|
|
|
Post by alexfish on Oct 26, 2012 11:24:32 GMT 1
Hi vovchik
Does jvap initialise at start , or are you getting errors at the preview or compile
I am on ubuntu 11.04 , compiled it using bacongui 26 , as seen in the second download,
see the generated test files, the only errors I got was when compiling with bacon28 as per the first download pkg ,
IE second pkg worked , see screen-shot , this is the installed version of second pkg
did you try compiling the original update version with bacongui 26
Regards
Alex
|
|
|
Post by vovchik on Oct 26, 2012 11:34:54 GMT 1
Dear alex, I get a flash on the screen from the gui - so it initializes. In a term I see this: SYNTAX file Not Found Segmentation fault With kind regards, vovchik PS. No compile errors.
|
|
|
Post by alexfish on Oct 26, 2012 11:53:44 GMT 1
Dear Vovchik
can try deleting these lines from the main code, see what happens
IF NOT(FILEEXISTS(CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build"))) THEN PRINT "Making J-vap directory ?",CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build") MAKEDIR CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build") COPY "/usr/share/jvap/hug.bac" TO CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build/hug.bac") ELSE build$=CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build/democode.bac") runexec$=CONCAT$(GETENVIRON$("HOME"), "/Jvap/Projects/build/democode") END IF
Regards
Alex
|
|
|
Post by vovchik on Oct 26, 2012 12:24:59 GMT 1
Dear Alex,
Still getting the same problem....
Wth kind regards, vovchik
|
|
|
Post by alexfish on Oct 26, 2012 12:38:17 GMT 1
Dear Alex, Still getting the same problem.... Wth kind regards, vovchik Dear Vovchic, if have "fish" terminal installed, it may or may not shed some light or can try some PRINT "xxx" at diffent places int the FUNCTION INIT_PROJECT possible at the entry point and before and after LIST_COUNT= 0 FOR t = 0 TO 1000 sdata_vals$[t]="null" NEXT FOR y = 0 TO 1010 : FOR x= 0 TO 1010 screen$[x][y]="0" NEXT : NEXT widget_track = 0 file_count = 0 if_win = 0 fcount=0 widget_counter=0 SQUARE("#F2F1F0", 0, 0, 1000, 26, TRUE) PICTURE("/tmp/hugrad/decal.png",0,0,980,26) PICTURE("/tmp/hugrad/endec.png",980,0,20,26) then after the sequence of the file loader can also check the .png are in the /tmp/hugrad/ can post results if any. Thanks in advance Regards Alex
|
|
|
Post by vovchik on Oct 26, 2012 14:48:31 GMT 1
Dear Alex, I think i now have a clue. I have neither libgtkhtml or libwebkit installed Will install and then try again.... or see how I can avoid installing 20 MB of dependencies. With kind regards, vovchik
|
|
|
Post by alexfish on Oct 26, 2012 15:56:34 GMT 1
Dear Vovchik
in the hugrad-3-12.bac
can delete
FUNCTION Find_Webkit_Library FUNCTION Find_Gtkhtml_Library
they are not implemented in the demo,
surprised it would through a hoopy if not on the system
Regards
Alex
|
|
|
Post by vovchik on Oct 26, 2012 16:19:58 GMT 1
@ Alex Thanks. Tried that and compilation works as expected, but I get the runtime SEGMENTATION error as before Will keep thinking about this. Unusally happens in BaCon when an array boundary is crosssed. With kind regards, vovchik
|
|
|
Post by konaexpress on Oct 26, 2012 17:24:10 GMT 1
I don't think this will help but I have been running into a segmentation fault while trying to compile my little logout app using build 27 and Geany but I can compile it in the bacongui. Not sure if it is the same thing. In the bacongui, I had to update the syntax(?) file or something before bacongui would work or I got an error message too.
Could some dep be missing that will allow bacon to pars and then compile?
|
|
|
Post by alexfish on Oct 26, 2012 18:47:30 GMT 1
@ Alex Thanks. Tried that and compilation works as expected, but I get the runtime SEGMENTATION error as before Will keep thinking about this. Unusally happens in BaCon when an array boundary is crosssed. With kind regards, vovchik Think this can only happen at the Init stage , as int the FUNCTION INIT_PROJECT Think It can only be the screen array , sdata or the Splits Or the file pointer Problem I got Is jvap works at the init stage , and only problem was compiling with latest bacon, it would not store the sdata , but bacon 26 will ? back to your problem can try and compile and miss the int out by commenting Line ' INT PROJECT INIT_PROJECT to ' INT PROJECT REM INIT_PROJECT see what happens I do know had reduced the screen sets to 1010 at 1000 , to speed up the interface. but that gives 10 spare , depending on the OPTION BASE this give leeway as regards the pointer, but will check all areas As mentioned before the file pointer , on my system on load the file pointer over runs by 3 , hence the file pointer -3 , maybe some system do different, if the first and second demos work then that thickens the plot. Notice had introduced IF ASC(MID$(bits$[n],1,1)) != 0 THEN , this gets out of the null String , since it blits the LIST , if not trapped.. but think this an area to look at as regards bacon. So interested what happens when the INIT PROJECT is omitted, It should boot in if it boots then will know where to look , or possible change this in the INIT PROJECT FOR t = 0 TO 1000 sdata_vals$[t]="null" NEXT TO FOR t = 0 TO 900 sdata_vals$[t]="null" NEXT Regards Alex
|
|