- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI guys
I've modified the Transcoder and built it as static library. I've tried to pass it to my C code but I keep getting the error
/home/john/workspace/ipp3g324m/linux/../source/transcoder.cpp:14: undefined reference to `Transcoder::Transcoder()'
/tmp/cc2Cbm6h.o: In function `__tcf_0':
/home/john/workspace/ipp3g324m/linux/../source/transcoder.cpp:14: undefined reference to `Transcoder::~Transcoder()'
I've required include files for the transcoder and the other UMC samples. Could someone please let me know what i've done wrong and what else I may need to change
I've attached the source codes (nothing in them besides creating and instance of the class), Makefile and the error report from the Makefile
Thanks
I've modified the Transcoder and built it as static library. I've tried to pass it to my C code but I keep getting the error
/home/john/workspace/ipp3g324m/linux/../source/transcoder.cpp:14: undefined reference to `Transcoder::Transcoder()'
/tmp/cc2Cbm6h.o: In function `__tcf_0':
/home/john/workspace/ipp3g324m/linux/../source/transcoder.cpp:14: undefined reference to `Transcoder::~Transcoder()'
I've required include files for the transcoder and the other UMC samples. Could someone please let me know what i've done wrong and what else I may need to change
I've attached the source codes (nothing in them besides creating and instance of the class), Makefile and the error report from the Makefile
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For 'ipptrans.o', I think you need to add '-c' option, if you only want to create the object file, not the application:
ipptrans.o: $(SRCDIR)/transcoder.cpp $(INCDIR)/transcoder_con.h
$(CXX) -c $(CFLAGS2) $(CINCLUDES) $(CDEFINES) $(SRCDIR)/transcoder.cpp
Thanks,
Chao
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page