>xcardMain.h:20:24: musclecard.h: No such file or directory

Step 1) look for the file both in your source tree, and where you install it (example: 
/usr/local)

        find /usr/local -name musclecard.h



If it's in the source tree, and not in the install directory (for example, 
/use/local/include) then you have to install it.



If it's in the install directory, then you probably don't have it in your makefile.

For instance, if it's in /usr/local/include/PCSC/musclecard.h

then you need a -I/usr/local/include/PCSC/
in your make file. Likewise if you are missing a library, you need a -L option.



As [EMAIL PROTECTED] said in the last message:

>INC = -I/usr/local/include -I. -I/usr/local/pcsc/include/PCSC
>LIBS = -lpcsclite -L/usr/local/pcsc/lib -lpthread -lpam -lcrypto


In my copy of XCard, here is my diff:

 diff -u Makefile makefile
--- Makefile    2003-09-07 14:42:58.000000000 -0400
+++ makefile    2004-08-23 14:32:14.000000000 -0400
@@ -1,13 +1,14 @@
 # by default install in /usr/local
 ifeq ($(DESTDIR),)
-DESTDIR=/usr/local
+DESTDIR=/local/pcsc
 endif
  
 MOC = /usr/bin/moc
 CPP = g++ -fPIC -g -Wall
+QT=/usr/lib/qt-3.1
 DEFS= -DMSC_TARGET_UNIX -DQT_THREAD_SUPPORT -D_REENTRANT
-INC = -I/usr/include/qt3
-LIBS = -L/usr/lib/qt2/lib -lqt -lmusclecard -lpthread
+INC = -I${QT}/include -I/local/pcsc/include/PCSC
+LIBS = -L${QT}/lib -lqt -lmusclecard -lpthread -L/local/pcsc/lib
 OBJ  = main.o xcardMain.o xcardMainMoc.o xcardMainData.o \
        xcardMainDataMoc.o  xcardPersonalize.o \
        xcardPersonalizeData.o xcardPersonalizeMoc.o \


_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to