c++ interface make error

Started by duofuan, February 20, 2018, 05:31:41 AM

Previous topic - Next topic

duofuan

Hi I'm trying to get started with c++ interface of exiftool but when I type make in the unpacked folder I'm getting error that example/example1.o file not found.
Any ideas?

Phil Harvey

Are you using gmake and have g++ available?  The .o should be generated by this rule in the makefile:

%.o: %.cpp $(HDR)
        $(CPP) $(OPT) $(INC) -o $@ -c $<


- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

duofuan

Sorry for a delay in reply.
For now I decided to just call external exiftool.exe command from my program. It's easier for me like this.
Thanks for the replay anyways.

duofuan