ofxLibRocket icon indicating copy to clipboard operation
ofxLibRocket copied to clipboard

linking problems

Open igiso opened this issue 11 years ago • 3 comments

I tried to run this in osx, latest branch but got linking problems

how do you go about to include the addon?

igiso avatar Sep 12 '14 11:09 igiso

Hi. What linker errors do you get? My guess is that the libs were compiled on an outdated system. Commit is from 2 years ago: https://github.com/underdoeg/ofxLibRocket/tree/master/libs/libRocket/lib/osx

I don't have a mac so I can't rebuild them ATM. Maybe you could give it a try? https://github.com/libRocket/libRocket or maybe you could try to just remove the prcompiled a file and add the librocket Source folder manually: https://github.com/libRocket/libRocket/tree/master/Source

It might compile out of the box since OF already includes a lot of libraries...

underdoeg avatar Sep 12 '14 12:09 underdoeg

I had linking problems, too with using the addon in new projects (the example worked perfectly). Solution for me was to add librocket header files manually: under Build Settings / Search Paths: add <path-to-ofxLibRocket>/libs/libRocket/include/

stc avatar Apr 14 '15 09:04 stc

Thank you for your info on this

underdoeg avatar Apr 14 '15 10:04 underdoeg