wd8rde / libExtio_genesis

MIT License
2 stars 4 forks source link

Unable to compile on Linux. #7

Open CryptLabs opened 1 week ago

CryptLabs commented 1 week ago

Greetings,

I'm trying to complie the library on Arch Linux, unfortunately, I'm getting the following error:

make: *** No rule to make target '.libs/libextio_genesis.la', needed by 'test'. Stop.

Kind regards.

florintanasa commented 1 week ago

Hi, Comment next 2 lines noinst_PROGRAMS = test and test_SOURCES = main.cpp not work with new automake, look at me: $ cat Makefile.am

lib_LTLIBRARIES = libextio_genesis.la libextio_genesis_la_CPPFLAGS = $(HID_CFLAGS) -std=gnu++0x libextio_genesis_la_CDFLAGS = $(HID_LIBS)

libextio_genesis_la_SOURCES = \ extio.cpp\ extio.h\ genesis.cpp\ cmdbase.cpp\ cmdpacket.cpp\ genesis_observer.cpp\ hid_util.cpp\ bsd_string.c\ si570.c\ simpleini-master/ConvertUTF.c

noinst_PROGRAMS = test

test_SOURCES = main.cpp

test_LDADD = .libs/libextio_genesis.la

În joi, 21 nov. 2024 la 11:54, Ali @.***> a scris:

Greetings,

I'm trying to complie the library on Arch Linux, unfortunately, I'm getting the following error:

make: *** No rule to make target '.libs/libextio_genesis.la', needed by 'test'. Stop.

Kind regards.

— Reply to this email directly, view it on GitHub https://github.com/wd8rde/libExtio_genesis/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK4PWLGS2Y3CJ3JGTNGXK32BWUUDAVCNFSM6AAAAABSGSNVKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TQOBRGA2TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Florin Tanasă, 73, YO8TFF https://yo8tff.ro https://yo8tff.ro/ro https://sites.google.com/site/florintanasa/

florintanasa commented 1 week ago

In the Makefile.am file after you clone the repository.

În joi, 21 nov. 2024 la 12:08, Florin Tanasa @.***> a scris:

Hi, Comment next 2 lines noinst_PROGRAMS = test and test_SOURCES = main.cpp not work with new automake, look at me: $ cat Makefile.am

lib_LTLIBRARIES = libextio_genesis.la libextio_genesis_la_CPPFLAGS = $(HID_CFLAGS) -std=gnu++0x libextio_genesis_la_CDFLAGS = $(HID_LIBS)

libextio_genesis_la_SOURCES = \ extio.cpp\ extio.h\ genesis.cpp\ cmdbase.cpp\ cmdpacket.cpp\ genesis_observer.cpp\ hid_util.cpp\ bsd_string.c\ si570.c\ simpleini-master/ConvertUTF.c

noinst_PROGRAMS = test

test_SOURCES = main.cpp

test_LDADD = .libs/libextio_genesis.la

În joi, 21 nov. 2024 la 11:54, Ali @.***> a scris:

Greetings,

I'm trying to complie the library on Arch Linux, unfortunately, I'm getting the following error:

make: *** No rule to make target '.libs/libextio_genesis.la', needed by 'test'. Stop.

Kind regards.

— Reply to this email directly, view it on GitHub https://github.com/wd8rde/libExtio_genesis/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK4PWLGS2Y3CJ3JGTNGXK32BWUUDAVCNFSM6AAAAABSGSNVKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TQOBRGA2TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Florin Tanasă, 73, YO8TFF https://yo8tff.ro https://yo8tff.ro/ro https://sites.google.com/site/florintanasa/

-- Florin Tanasă, 73, YO8TFF https://yo8tff.ro https://yo8tff.ro/ro https://sites.google.com/site/florintanasa/

CryptLabs commented 1 week ago

Thank you for the great support. I have created a pull request.

Kind regards. 73's