<div dir="ltr">Dear All,<div><br></div><div>I have built vtk 7.0 successfully, both static and dynamic lib (.so and .a) in two different folders</div><div><br></div><div>So I create a project in codeblocks, copy the example cone.cxx into the project.</div><div>I set the include path  and the static library ( lib.a) path.</div><div>But at the end of the project building i have a lot of:</div><div>undefined reference errors....</div><div><br></div><div>The problem doesn't occur when I set the linker path to the dynamic libs (.so).</div><div><br></div><div>Furthermore, If I use cmake to generate a codeBlocks-unix makefile, it works both using static and dynamic linking,</div><div><br></div><div>I would like to know why creating a project directly with codeblocks and using static linking the build fails? Do I miss some setting or linker option?</div><div><br></div><div>Regards,</div><div>Fabio</div><div><br></div></div>