
Installed the whole boost library in usr/local/lib (for no obvious reason because it didn't help), tried to edit LD PATH (I'm very new to Linux and I have no idea if that went right) and lots of stuff, but this thing doesn't seem to go through. I'm using Linux Mint 圆4 and I have tried everything I googled out. HDIRS = src,src/ext,src/qt_redistributable, usr/lib, usr/local/lib, usr/local/lib/include/boost, /usr/local/lib/lib/Ĭpu : $(addprefix $(OBJDIR)/, $(OBJECTS) $(CPUOBJS)) OBJECTS = main.o atom.o molecule.o charges.o pdb.o asa.o amino.o chain.o addition.o string_operation.o pdb_peptide.o protein_chain.o residue_atom.o chain_residue.o residue_contact.o atom_grid.o circles.o atom_space_calculations.oĬFLAGS = -O3 -Wall -lm -lboost_regex -L/usr/local/boost/lib This is how makefile looks: SHELL = /bin/bash "undefined reference to `boost::re_detail::put_mem_block(void*)'Ĭollect2: ld returned 1 exit status make: * Error 1" Every time I try, it stops somewhere in the midst of compiling saying this:

The only problem is, I can't even compile it to run it on my machine in the first place. I got an assignment to improve running time of some code.
