JamesBremner / knapsack

3D Bin packing code direct from psuedocode
3 stars 1 forks source link

Linux build - no static libraries #10

Closed JamesBremner closed 4 years ago

JamesBremner commented 4 years ago

Including the static versions of the standard libraries doe not work on Linux.

( reported in freelancer chat )

JamesBremner commented 4 years ago

When you have tested this, please close it. Unless there is a problem, when assign it back to me with explanation

Cashewfly commented 4 years ago

The linux target is not finding pack2.h when compiling. Adding the compiler argument

image

solves the problem. Note that this does not seem to be the correct 'codeblocks' solution, but it does work.

JamesBremner commented 4 years ago

Yikes! Don'd do that.

Cashewfly commented 4 years ago

Perfect - It builds cleanly now.