Advanced Search

Search Results (Searched for: )

  • takgu
  • takgu
05 Oct 2025 08:34

Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component

Category: Installing LinuxCNC

/lib/linuxcnchal.so
- hal_export_funct - not exist

/rtlib/hal_lib.so
- hal_export_funct - exist

LIBS += -L$$LINUXCNC_HOME/lib -llinuxcnchal
LIBS += -L$$LINUXCNC_HOME/rtlib -lhal_lib

** Link Error when building qt app ('Not found -lhal_lib')

Thanks
  • unknown
  • unknown
05 Oct 2025 08:33
Replied by unknown on topic 7i76eu connection issues

7i76eu connection issues

Category: General LinuxCNC Questions

You can always reduce the size of the image.
  • Hakan
  • Hakan
05 Oct 2025 08:21 - 05 Oct 2025 08:22
  • wusel0464
  • wusel0464
05 Oct 2025 08:20
Replied by wusel0464 on topic Change camera resolution Qtdragon?

Change camera resolution Qtdragon?

Category: Qtvcp

Hello,

First of all, thank you very much for the quick reaction.
My concern is to exploit the dissolution of the chip for a more precise presentation. The zoom function built into Qtdragon is forced to invent pixels, but this is not significant to a small extent. There is not much to get out of a currently used resolution of 640x480 pixels. In the current situation, improvement would only be achieved by reducing the distance from the camera, but I come to areas where it becomes unhealthy for the camera.
My milling machine is just a cheese mill, but improving ease of use is nothing bad.
The picture of OpenCV has to be read somewhere, and couldn't you install these lines?

cap.set (cv2.cap_prop_frame_width, 1600)
cap.set (cv2.cap_prop_frame_height, 1200)

The values ​​are now mine and it works so far that the picture becomes visibly worse with small values.
Or how do you get Linux not to take the standard resolution?

Thank you for your efforts and all the best, Frank.
  • rodw
  • rodw's Avatar
05 Oct 2025 07:49
Replied by rodw on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

you can get sma cables with a bulkhead adapter at one end. use that cable, attach to where the wifi antenna was, drill a hole in the cabinet and you can then attach your antenna to the extension cable.
  • rodw
  • rodw's Avatar
05 Oct 2025 07:26 - 05 Oct 2025 07:27
Replied by rodw on topic 7i76eu connection issues

7i76eu connection issues

Category: General LinuxCNC Questions

Clearly you are not understanding the basics of networking. Please watch my 7i76e video. Networking is covered about 17 minutes in from memory.
  • Ayden25
  • Ayden25
05 Oct 2025 06:51
Replied by Ayden25 on topic 7i76eu connection issues

7i76eu connection issues

Category: General LinuxCNC Questions

Thanks for the quick response

Okay I must have misread what others were saying it seemed like a wrong practice to run the same ip for two devices on the network.

I'd like to post a pic but the file size limit is to low here.

Hm2_eth: rtapi_app_main: Network is unreachable (-101)

That's the error I am getting

Still I'm not shure why I'm not getting different ip addresses from the mesa card regardless of jumper location.
  • takgu
  • takgu
05 Oct 2025 06:41

Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component

Category: Installing LinuxCNC

I am currently building a CNC control application using Qt C++ to control servo motors via EtherCAT.

I am encountering errors while attempting to execute the following HAL functions within my Qt code: hal_init, hal_ready, hal_export_funct, and hal_link.

Additionally, when I use the halcmd utility to add components or functions, I am unable to use (access) those resulting HAL pins/fields within my Qt C++ application.

Thank you.
  • unknown
  • unknown
05 Oct 2025 06:16

Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component

Category: Installing LinuxCNC

Is there any reason you can not use halcompile to build your component. As that is the "traditional" way to build components outside of the build process.
  • unknown
  • unknown
05 Oct 2025 06:12
Replied by unknown on topic 7i76eu connection issues

7i76eu connection issues

Category: General LinuxCNC Questions

Not entirely clear about what you are trying to say.
Please attach any images to your post. So until you attach an image I can't comment on the boot issue.

You shouldn't be assigning 127.0.0.1 to any interface that requires traffic to go to another computer or device on a network. That address is traditionally used for "internal use only". Or the "local host".

The IP of your computer and the IP of the mesa card must not be the same. It's like having 2 houses on the same street having the same number.

10.10.10 could be considered the street name, the last number is the house number.


Pick ,say 10.10.10.11 for your PC.
  • takgu
  • takgu
05 Oct 2025 06:02

Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component

Category: Installing LinuxCNC

Hello,I am encountering a persistent linker error while building a HAL component for LinuxCNC, despite correctly identifying the location of the required function. I would appreciate any assistance from members who have experience using
hal_export_funct
. 1. The Problem I am trying to link my component, but the build fails with an "undefined reference" error for a HAL API function. 2. The Setup and Findings ItemDetailsInitial Linker Option
-L/lib -llinuxcnchal
Error Message
undefined reference to hal_export_funct
Source of ErrorI confirmed that the function
hal_export_funct
is not defined in
liblinuxcnchal.so
.Function LocationI found that
hal_export_funct
is defined in the real-time library:
/rtlib/hal_lib.so
.Attempted FixI updated the linker options in my build system (a
.pro
file using qmake) to include both libraries:
-L/lib -llinuxcnchal
and
-L/rtlib -lhal_lib
.Resulting ErrorThe linker now reports that it cannot find the
-lhal_lib
library.
Sheets로 내보내기 3. The Core Issue The linker path to the directory (
/rtlib
) is accurate, and the library file (
hal_lib.so
) containing the function is confirmed to exist there. However, the build system or linker seems unable to successfully link
-lhal_lib
.Could this issue be related to:
  1. A specific linker flag order required for real-time libraries?
  2. A misunderstanding of how the HAL and RTAPI libraries should be linked together (especially since
    hal_init
    is present in both
    liblinuxcnchal.so
    and
    hal_lib.so
    )?
  3. An incorrect way to specify the library name (
    -l
    ) when using an absolute path or a custom library path (
    -L
    ) in the build system?
Any guidance on how to correctly force the linker to recognize and use
hal_lib.so
for
hal_export_funct
would be greatly appreciated.Thank you.
  • Ayden25
  • Ayden25
05 Oct 2025 05:31
7i76eu connection issues was created by Ayden25

7i76eu connection issues

Category: General LinuxCNC Questions

I switched w13 and w14 as the instructions declare and I am still getting 127.0.0.1 in either default and eprom.At any rate I am getting a error on boot www.facebook.com/share/p/1BkDAYUf7Q/Fb post with the image of my error. I changed the ip of the pc to match the 127.0.0.1 to match what people are doing with 10.10.10.10 but still no luck any thoughts cant find any eu specific info or a 7i76eu specific profile on linux cnc.
  • unknown
  • unknown
05 Oct 2025 00:12
Replied by unknown on topic Installing LAN driver for RealTek 8111H

Installing LAN driver for RealTek 8111H

Category: Installing LinuxCNC

I would still fix the raspi thing, it'll bite later on.

And the kernel supplied RealTek drivers aren't the best.
  • cmorley
  • cmorley
04 Oct 2025 23:18
Replied by cmorley on topic Change camera resolution Qtdragon?

Change camera resolution Qtdragon?

Category: Qtvcp

Are you talking of the resolution of the camera or the size of the window?
There is no built in way to set camera resolution but you can scale the window.

linuxcnc.org/docs/devel/html/gui/qtdragon.html#_camview_tab
Displaying 736 - 750 out of 22694 results.
Time to create page: 0.209 seconds
Powered by Kunena Forum