You were trying to use libeval which lived in `common` inside common.cpp which lives in `kicommon`
`common` -> static library, depends on kicommon `kicommon` -> shared library, cannot depend on common So that's just invalid. Yea theres two libraries, they are slowly being moved to kicommon as bad code boundaries are refactored. In this case, I moved libeval to kicommon for you. On Tuesday, May 7, 2024 at 1:17:34 PM UTC-4 [email protected] wrote: > Hey guys, thanks for welcoming me in this group. > > I don't know if it's the right place to ask this question, let me know if > another place would suit better. > > I was trying to work on integrating math evaluation in variable > substitution brackets in eeschema and pcbnew. I dove into the code and > write something that looks promising. I wanted to show this to you. I > hadn't pulled modifications for 3 months. When pulling and rebasing my > code, it wasn't not compiling anymore. Here is the error I got : > https://gitlab.com/montagnard.py/kicad/-/jobs/6782065751 > > Indeed, common/CMakeFiles/common.dir/libeval/numeric_evaluator.cpp.o is > compiled with fvisibility=hidden flag and no symbol are exported. > > Now i don't understand how my code compiled before. I am a bit lost in the > compilation process, can you help me understand or give me some insight on > how to debug thos type of things. Mainly i ran ninja -nv | grep > numeric_evaluator > > Am I using the right strategy to use libeval.cpp ? > > Thanks for your time, > Samuel > -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/d013dfc0-5495-4c52-8922-659d06395819n%40kicad.org.
