-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi,
I got the following error when trying to compile your source code on Linux:
/tmp/ccpGEjdp.o: In function main': AssemblyMC.cpp:(.text+0x61): undefined reference to printInstruction()'
AssemblyMC.cpp:(.text+0x689): undefined reference to MOL_BOND::importData(std::string&, std::vector<MOL_BOND, std::allocator<MOL_BOND> >&)' AssemblyMC.cpp:(.text+0x75d): undefined reference to outputFile(MOL_BOND&, PATHWAY_ASSEMBLY&, int, std::string&, std::string&, long long, long long, long long, double)'
AssemblyMC.cpp:(.text+0x7e0): undefined reference to outputFile(MOL_BOND&, PATHWAY_ASSEMBLY&, int, std::string&, std::string&, long long, long long, long long, double)' AssemblyMC.cpp:(.text+0x836): undefined reference to MOL_BOND::calTotalM()'
AssemblyMC.cpp:(.text+0x8d6): undefined reference to outputFile(MOL_BOND&, PATHWAY_ASSEMBLY&, int, std::string&, std::string&, long long, long long, long long, double)' AssemblyMC.cpp:(.text+0x9c7): undefined reference to MOL_BOND::cut_and_split()'
AssemblyMC.cpp:(.text+0xa08): undefined reference to FRAGHIST::addOnce(std::vector<std::tuple<std::string, std::string, unsigned long long>, std::allocator<std::tuple<std::string, std::string, unsigned long long> > >&)' AssemblyMC.cpp:(.text+0xaf1): undefined reference to FRAGHIST::getHistOverall(unsigned long long, long double)'
AssemblyMC.cpp:(.text+0xb1e): undefined reference to FRAGHIST::getFinalHist(bool, double)' AssemblyMC.cpp:(.text+0xbcd): undefined reference to outputFile_hist(MOL_BOND&, FRAGHIST&, std::string&, long long, double)'
AssemblyMC.cpp:(.text+0xcb9): undefined reference to MOL_BOND::getMinPathways(PATHWAY_ASSEMBLY&, FRAGHIST&, int, int)' AssemblyMC.cpp:(.text+0xdad): undefined reference to outputFile(MOL_BOND&, PATHWAY_ASSEMBLY&, int, std::string&, std::string&, long long, long long, long long, double)'
AssemblyMC.cpp:(.text+0xe48): undefined reference to `outputConsole(MOL_BOND&, PATHWAY_ASSEMBLY&, std::string&, std::string&, long long, long long, long long, double)'
collect2: error: ld returned 1 exit status
Do you have any suggestions about how to resolve it? Thank you so much!