Mocca GUI

More
03 Dec 2010 19:15 #5848 by michel45
Mocca GUI was created by michel45
Hello,
We tried to load the project Mocca in Lazarus, but moccapkg package is not loaded. How to tell Lazarus or find this package?
Thank you in advance for your suggestions
Michel

Please Log in or Create an account to join the conversation.

More
03 Dec 2010 20:47 #5855 by step4linux
Replied by step4linux on topic Re:Mocca GUI
hello Michel,

Did you download all the sources as indicated on the source tab code.google.com/p/moccagui/source/checkout using svn ?

You can also use the binary package from the download page code.google.com/p/moccagui/downloads/list and install it, without using lazarus.

Gerd

Please Log in or Create an account to join the conversation.

More
07 Dec 2010 10:24 #5904 by michel45
Replied by michel45 on topic Re:Mocca GUI
Hello,
We tried the mocha gui, very good work!
We also loaded via svn sources mocca
With lazarus, we intend (for discussion) to develop an interface that fits our needs. We already based on the interface "mini" develop for 2 machines, but this is not the best!

I have for the moment to introduce the integrated package moccapkg, but when I return after execution: (see below)

Thank you in advance for your suggestions
Michel


Ubuntu 10.04
emc2 2.6.1
lazarus 0.9.28.2

/home/gilles/moccagui/pkg/mocslider.pas(30,36) Hint: Parameter "Message" not used
/home/gilles/moccagui/pkg/mocbtn.pas(20,15) Note: Virtual method "TMocButton.MouseLeave;" has a lower visibility (private) than parent class TControl (protected)
/home/gilles/moccagui/pkg/mocbtn.pas(18,36) Hint: Parameter "Message" not used
/home/gilles/moccagui/pkg/moclister.pas(26,16) Warning: An inherited method is hidden by "destructor TMocLister.Destroy;"
emcint.pas(83,18) Hint: Conversion between ordinals and pointers is not portable
emcint.pas(89,18) Hint: Conversion between ordinals and pointers is not portable
emcint.pas(95,18) Hint: Conversion between ordinals and pointers is not portable
emcint.pas(106,43) Hint: Conversion between ordinals and pointers is not portable
emcint.pas(107,43) Hint: Conversion between ordinals and pointers is not portable
emcint.pas(108,43) Hint: Conversion between ordinals and pointers is not portable
mocglb.pas(116,7) Hint: Conversion between ordinals and pointers is not portable
mocglb.pas(242,25) Hint: Conversion between ordinals and pointers is not portable
mocglb.pas(248,27) Hint: Conversion between ordinals and pointers is not portable
gllist.pas(237,15) Hint: Local variable "n1" does not seem to be initialized
gllist.pas(238,15) Hint: Local variable "n2" does not seem to be initialized
gllist.pas(279,15) Hint: Local variable "n1" does not seem to be initialized
gllist.pas(280,15) Hint: Local variable "n2" does not seem to be initialized
mocgl.pas(26,26) Hint: Parameter "Message" not used
mocgl.pas(114,12) Hint: Conversion between ordinals and pointers is not portable
mocgl.pas(130,12) Hint: Conversion between ordinals and pointers is not portable
mocgl.pas(179,17) Hint: Conversion between ordinals and pointers is not portable
glcanon.pas(305,27) Hint: Parameter "i" not used
glcanon.pas(393,28) Hint: Parameter "tool" not used
glcanon.pas(402,22) Hint: Parameter "tool" not used
glcanon.pas(429,14) Hint: Local variable "l" does not seem to be initialized
glcanon.pas(456,18) Hint: Local variable "n" does not seem to be initialized
glcanon.pas(546,14) Hint: Local variable "l" does not seem to be initialized
glcanon.pas(556,14) Hint: Local variable "l" does not seem to be initialized
glcanon.pas(567,14) Hint: Local variable "l" does not seem to be initialized
glcanon.pas(579,31) Hint: Parameter "i" not used
glcanon.pas(579,43) Hint: Parameter "p" not used
glcanon.pas(579,45) Hint: Parameter "q" not used
glcanon.pas(602,28) Hint: Parameter "msg" not used
glcanon.pas(607,28) Hint: Parameter "msg" not used
glcanon.pas(67,3) Note: Local variable "xyrot" is assigned but never used
glcanon.pas(69,3) Note: Local variable "xo" not used
glcanon.pas(69,6) Note: Local variable "zo" not used
glcanon.pas(69,9) Note: Local variable "wo" not used
glcanon.pas(70,3) Note: Local variable "toolno" not used
glcanon.pas(71,3) Note: Local variable "spindlerate" is assigned but never used
glcanon.pas(72,3) Note: Local variable "feedrate" is assigned but never used
glcanon.pas(73,3) Note: Local variable "traverserate" is assigned but never used
glcanon.pas(75,3) Note: Local variable "StopLineNo" is assigned but never used
simulator.pas(212,29) Hint: Local variable "y1" does not seem to be initialized
simulator.pas(212,26) Hint: Local variable "x1" does not seem to be initialized
simulator.pas(213,31) Hint: Local variable "y2" does not seem to be initialized
simulator.pas(213,28) Hint: Local variable "x2" does not seem to be initialized
simulator.pas(214,33) Hint: Local variable "y3" does not seem to be initialized
simulator.pas(214,30) Hint: Local variable "x3" does not seem to be initialized
simulator.pas(290,31) Hint: Local variable "E" does not seem to be initialized
simclient.pas(58,45) Hint: Parameter "Button" not used
simclient.pas(59,7) Hint: Parameter "Shift" not used
simclient.pas(60,45) Hint: Parameter "Shift" not used
simclient.pas(62,43) Hint: Parameter "Button" not used
simclient.pas(63,7) Hint: Parameter "Shift" not used
simclient.pas(63,27) Hint: Parameter "X" not used
simclient.pas(63,30) Hint: Parameter "Y" not used
simclient.pas(56,46) Hint: Parameter "Shift" not used
simclient.pas(57,28) Hint: Parameter "MousePos" not used
runclient.pas(21,59) Hint: Parameter "Shift" not used
tooleditdlg.pas(324,2) Note: Local variable "s" not used
tooleditdlg.pas(24,46) Hint: Parameter "CloseAction" not used
touchoff.pas(45,27) Hint: Unit "mocjoints" not used in touchoff
touchoffwiz.pas(64,34) Hint: Unit "mocjoints" not used in touchoffwiz
coordrotate.pas(62,32) Hint: Unit "mocjoints" not used in coordrotate
mocemc.pas(586,3) Note: Local variable "i" not used
mocemc.pas(606,3) Note: Local variable "Err" not used
mocemc.pas(940,3) Note: Local variable "i" not used
mocemc.pas(941,3) Note: Local variable "Metric" not used
mocemc.pas(87,10) Hint: Unit "glcanon" not used in mocemc
mocjoints.pas(114,43) Hint: Parameter "Handled" not used
mocjoints.pas(714,3) Note: Local variable "i" not used
jogclient.pas(52,57) Hint: Parameter "NewPos" not used
jogclient.pas(437,3) Hint: Local const "MSG1" is not used
jogclient.pas(438,3) Hint: Local const "MSG2" is not used
jogclient.pas(41,46) Hint: Parameter "Button" not used
jogclient.pas(42,7) Hint: Parameter "Shift" not used
jogclient.pas(42,27) Hint: Parameter "X" not used
jogclient.pas(42,30) Hint: Parameter "Y" not used
jogclient.pas(43,44) Hint: Parameter "Button" not used
jogclient.pas(44,7) Hint: Parameter "Shift" not used
jogclient.pas(44,27) Hint: Parameter "X" not used
jogclient.pas(44,30) Hint: Parameter "Y" not used
jogclient.pas(49,57) Hint: Parameter "Shift" not used
mdiclient.pas(19,46) Hint: Parameter "CloseAction" not used
mdiclient.pas(23,59) Hint: Parameter "Shift" not used
tssupport.pas(53,12) Hint: Conversion between ordinals and pointers is not portable
tssupport.pas(36,10) Warning: Function result does not seem to be set
tssupport.pas(123,3) Note: Local variable "KeySym" not used
Error: Error while linking

Please Log in or Create an account to join the conversation.

More
07 Dec 2010 14:32 #5907 by step4linux
Replied by step4linux on topic Re:Mocca GUI
wow, you are already at EMC 2.6 :)
I guess you need to stay at 2.4 to use mocca. :unsure:

Please Log in or Create an account to join the conversation.

More
08 Dec 2010 08:13 #5924 by michel45
Replied by michel45 on topic Re:Mocca GUI
Hello,
I'm still ahead!!! :-))

emc2 2.4.6

Michel

Please Log in or Create an account to join the conversation.

More
08 Dec 2010 09:05 #5925 by step4linux
Replied by step4linux on topic Re:Mocca GUI
2.4.6 should be ok for mocca, but I`m not sure if its already tested, we have to ask Thomas

Did you install emc developer version ?

Please Log in or Create an account to join the conversation.

More
08 Dec 2010 09:35 #5927 by michel45
Replied by michel45 on topic Re:Mocca GUI
Hello,
Moccagui emc2 with 2.4.6, it works for the conduct of a machine, simulation, tomorrow I take the test on a machine with card Mesa (5i20).

I followed the installation guide mocha and I loaded the source emc2 (emc2-dev), I compiled emc2 is ok.
the lib librs274.so, libemcini.so ... are ok

makeall is the result of below

As it was not great, I try to understand with the Lazarus Project.

Michel

make all
gcc -c -v -g -I/home/gilles/emc2-dev/include -I/home/gilles/emc2-dev/src/emc/nml_intf -I/home/gilles/emc2-dev/src/emc/rs274ngc -o./lib/simcanon.o -DVER_24 ../src/simcanon.cc
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
COLLECT_GCC_OPTIONS='-c' '-v' '-g' '-I/home/gilles/emc2-dev/include' '-I/home/gilles/emc2-dev/src/emc/nml_intf' '-I/home/gilles/emc2-dev/src/emc/rs274ngc' '-o./lib/simcanon.o' '-DVER_24' '-mtune=generic' '-march=i486'
/usr/lib/gcc/i486-linux-gnu/4.4.3/cc1plus -quiet -v -I/home/gilles/emc2-dev/include -I/home/gilles/emc2-dev/src/emc/nml_intf -I/home/gilles/emc2-dev/src/emc/rs274ngc -D_GNU_SOURCE -DVER_24 ../src/simcanon.cc -D_FORTIFY_SOURCE=2 -quiet -dumpbase simcanon.cc -mtune=generic -march=i486 -auxbase-strip ./lib/simcanon.o -g -version -fstack-protector -o /tmp/ccTn4MZZ.s
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (i486-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
/home/gilles/emc2-dev/include
/home/gilles/emc2-dev/src/emc/nml_intf
/home/gilles/emc2-dev/src/emc/rs274ngc
/usr/include/c++/4.4
/usr/include/c++/4.4/i486-linux-gnu
/usr/include/c++/4.4/backward
/usr/local/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed
/usr/include
End of search list.
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (i486-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 35224f2c24023afb0a5be7befe8d5f3f
COLLECT_GCC_OPTIONS='-c' '-v' '-g' '-I/home/gilles/emc2-dev/include' '-I/home/gilles/emc2-dev/src/emc/nml_intf' '-I/home/gilles/emc2-dev/src/emc/rs274ngc' '-o./lib/simcanon.o' '-DVER_24' '-mtune=generic' '-march=i486'
as -V -Qy -o./lib/simcanon.o /tmp/ccTn4MZZ.s
GNU assembler version 2.20.1 (i486-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.20.1-system.20100303
COMPILER_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../:/lib/:/usr/lib/:/usr/lib/i486-linux-gnu/
COLLECT_GCC_OPTIONS='-c' '-v' '-g' '-I/home/gilles/emc2-dev/include' '-I/home/gilles/emc2-dev/src/emc/nml_intf' '-I/home/gilles/emc2-dev/src/emc/rs274ngc' '-o./lib/simcanon.o' '-DVER_24' '-mtune=generic' '-march=i486'
gcc -c -v -g -I/home/gilles/emc2-dev/include -I/home/gilles/emc2-dev/src/emc/nml_intf -I/home/gilles/emc2-dev/src/emc/rs274ngc -o./lib/emcpas.o -DVER_24 -DDSOHANDLE ../src/emcpas.cc
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
COLLECT_GCC_OPTIONS='-c' '-v' '-g' '-I/home/gilles/emc2-dev/include' '-I/home/gilles/emc2-dev/src/emc/nml_intf' '-I/home/gilles/emc2-dev/src/emc/rs274ngc' '-o./lib/emcpas.o' '-DVER_24' '-DDSOHANDLE' '-mtune=generic' '-march=i486'
/usr/lib/gcc/i486-linux-gnu/4.4.3/cc1plus -quiet -v -I/home/gilles/emc2-dev/include -I/home/gilles/emc2-dev/src/emc/nml_intf -I/home/gilles/emc2-dev/src/emc/rs274ngc -D_GNU_SOURCE -DVER_24 -DDSOHANDLE ../src/emcpas.cc -D_FORTIFY_SOURCE=2 -quiet -dumpbase emcpas.cc -mtune=generic -march=i486 -auxbase-strip ./lib/emcpas.o -g -version -fstack-protector -o /tmp/ccWArCud.s
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (i486-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
/home/gilles/emc2-dev/include
/home/gilles/emc2-dev/src/emc/nml_intf
/home/gilles/emc2-dev/src/emc/rs274ngc
/usr/include/c++/4.4
/usr/include/c++/4.4/i486-linux-gnu
/usr/include/c++/4.4/backward
/usr/local/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed
/usr/include
End of search list.
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (i486-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 35224f2c24023afb0a5be7befe8d5f3f
../src/emcpas.cc: In function 'double getRelCmdPos(int)'
../src/emcpas.cc:582: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:586: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:590: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:594: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:598: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:602: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:606: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:610: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:614: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc: In function 'double getRelPos(int)'
../src/emcpas.cc:624: error: 'class EMC_TASK_STAT'' has no member named 'origin'
../src/emcpas.cc:628: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:632: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:636: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:640: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:644: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:648: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:652: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:656: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc: In function 'double getOrigin(int)'
../src/emcpas.cc:665: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:668: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:671: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:674: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:677: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:680: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:683: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:686: error: 'class EMC_TASK_STAT' has no member named 'origin'
../src/emcpas.cc:689: error: 'class EMC_TASK_STAT' has no member named 'origin'
make: *** [emcpas.o] Erreur 1

Please Log in or Create an account to join the conversation.

More
11 Dec 2010 08:29 - 11 Dec 2010 08:30 #5971 by michel45
Replied by michel45 on topic Re:Mocca GUI
Hello,
I compiled version 2.4.1 emc2. it took me some time because I knew not "git".
But now I'm stuck on compiling moccagui. Error with the library "lgdkglext-x11-1.0". If you have any ideas, thank you in advance.
Attached is the result of "make all"

In another vein, I am struggling with the touchscreen (ELO 1755) and Ubuntu 10.04. The Y axis is inverted, I go down with the finger, the cursor goes up :(

Thank you,
Michel

File Attachment:

File Name: MoccaGUI_MakeAll.txt
File Size:10 KB
Attachments:
Last edit: 11 Dec 2010 08:30 by michel45.

Please Log in or Create an account to join the conversation.

More
11 Dec 2010 17:00 #5975 by michel45
Replied by michel45 on topic Re:Mocca GUI
Hello,
Always me!
By installing packages "libgtkglext1-dbg,-dev and-doc", the error on the library "lgdkglext-x11-1.0 'has disappeared.

But it is not yet won.


Result "make all"
===============
Compiling .. / src / mocca.lpr
mocca.lpr (18,19) Hint: Unit "gltools" Not Used in Mocha
Linking ./mocca2.4
/ Usr / bin / ld: warning:. / Output link.res contains sections; Did you forget-T?
. / Lib / emcpas.o: In function `trajKinematicsType ':
/ Home/michel/moccagui read only/2.4.1/../src/emcpas.cc: 136: multiple definition of `__dso_handle '
/ Usr/lib/gcc/i486-linux-gnu/4.4.3/crtbegin.o: (. Data +0 x0): first defined \ here
Error: Error while linking


Always the same if you have an idea, thank you in advance
Michel

Please Log in or Create an account to join the conversation.

More
18 Dec 2010 04:57 #6126 by gtom
Replied by gtom on topic Re:Mocca GUI
Just edit the Makefile in the moccagui/2.4.1 folder.

change $(COMPILE) $(INCLUDES) -o./lib/emcpas.o -DVER_24 -DDSOHANDLE ../src/emcpas.cc

to -UDSOHANDLE and it will compile...

regards, Thomas

Please Log in or Create an account to join the conversation.

Time to create page: 0.503 seconds
Powered by Kunena Forum