You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile a Nim software on a Linux ARM platform, but I am encountering a compilation error related to an undeclared identifier LPCSTR in the file ip_seg.nim. The error message is as follows:
After investigating the issue, I found that LPCSTR is a Windows-specific data type that does not exist on Linux systems. It seems that the code in ip_seg.nim is referring to Windows API related headers, which is causing the error.
I would like to request help in resolving this issue. Is there a way to make the code cross-platform compatible or to use Linux-specific headers instead of Windows headers? Any guidance on how to proceed would be greatly appreciated.
Thank you for your help.
The text was updated successfully, but these errors were encountered:
I am trying to compile a Nim software on a Linux ARM platform, but I am encountering a compilation error related to an undeclared identifier LPCSTR in the file ip_seg.nim. The error message is as follows:
/root/nim/NimScan/modules/ip_seg.nim(12, 25) Error: undeclared identifier: 'LPCSTR'
After investigating the issue, I found that LPCSTR is a Windows-specific data type that does not exist on Linux systems. It seems that the code in ip_seg.nim is referring to Windows API related headers, which is causing the error.
I would like to request help in resolving this issue. Is there a way to make the code cross-platform compatible or to use Linux-specific headers instead of Windows headers? Any guidance on how to proceed would be greatly appreciated.
Thank you for your help.
The text was updated successfully, but these errors were encountered: