for pset5 I employed the wonderful CMPH Library http://cmph.sourceforge.net/ to create a perfect minimal hash. I've finished the project and it runs in a stunning 0.14 seconds, but, now I'm faced with a daunting task. How do I submit the pset in a way that the cs50 checker will have access to this external library? Am I just fracked?
I found this similar post: PSET6 Auto Grader where one person replied it wasn't supported, and suggested not using an external library. However, I'll commit seppuku before I change my code anymore because I already spent forever on this. I regard it as a cruel joke that the staff suggested "researching the web" without also noting that "you cannot use anything you find, however".
Edit1: Inspired by @CliffB response I'll clarify a bit. I need to include an entire CMPH library which I 'installed' on my system. So, I tried taking all files I found in the installed directories /usr/local/bin, /include and /lib and putting them into the same directory as dictionary.c and used this command:
check50 2014.fall.pset5.speller dictionary.c dictionary.h Makefile libcmph.la libcmph.a chd_ph.h cmph.h cmph_time.h cmph_types.h cmph libcmph.so.0.0.0
This returns an error 'Uploading... E_UNKNOWN error.'. However, if I leave off that final file 'libcmph.so.0.0.0' then I get the familiar error indicating it can't find the cmph library:
check50 2014.fall.pset5.speller dictionary.c dictionary.h Makefile libcmph.la libcmph.a chd_ph.h cmph.h cmph_time.h cmph_types.h cmph
:) dictionary.c, dictionary.h, Makefile exist :( speller compiles \ expected output, not standard error of "dictionary.c:14:10: error: 'cmph.h' fil...
Sorry, I expected there would be a standard way to 'include' needed C libraries when sending C code elsewhere. I can't find any info on how to deploy C code with needed libraries. How do people share C code that uses non-standard libraries? Do they?