ExifTool Forum

ExifTool => Developers => Topic started by: duofuan on February 20, 2018, 05:31:41 AM

Title: c++ interface make error
Post by: duofuan on February 20, 2018, 05:31:41 AM
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?
Title: Re: c++ interface make error
Post by: Phil Harvey on February 20, 2018, 08:14:38 AM
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
Title: Re: c++ interface make error
Post by: duofuan on February 23, 2018, 06:10:45 AM
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