Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling #1

Open
Coromonadalix opened this issue Nov 1, 2022 · 3 comments
Open

Compiling #1

Coromonadalix opened this issue Nov 1, 2022 · 3 comments

Comments

@Coromonadalix
Copy link

Hi
On Lazarus and or FPC

It can not compile on a win 10x64 or win 11 x64 os

IE: pasgpibutils.pas(78,6) Fatal: Cannot find BaseUnix used by PasGpibUtils

Tried some solutions on the web ... one time it compiled, but an "form" windows was empty ??

@hansiglaser
Copy link
Owner

Hi!

Thanks for reaching out!

Unfortunately most of pas-gpib is only tested on Linux, so it is quite likely that some adaptions are required in Windows.

For example, the reference to unit BaseUnix can be removed, if you also remove SigPending and SelectRead. However, then perhaps some demos or drivers might not work (specifically TCP/IP and RS232).

When you write "solutions on the web", what exactly did you do?

Thanks
Hansi

@hansiglaser
Copy link
Owner

I just added a $IFDEF in PasGpibUtils so that BaseUnix is only required on Unix-like platforms.

@hansiglaser
Copy link
Owner

hansiglaser commented Nov 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants