Hi Luca,
/*Luca <er...@ya...>*/ wrote on 01/11/2011 7:11:59 PM +0350:
> Hello everybody!
> I've just joined the mailing list because I think I've a little patch to
> suggest, regarding OpenGL inclusion on Mac OS X.
> When some days ago i tried to install the server, (on a macbook 2.1, Snow
> Leopard, Xcode 3.2 ) i encountered some troubles at the linking phase: the
> linker could not find the graphic libraries and the make stop.
> Googling around i found this
> (http://www.cmake.org/pipermail/cmake/2009-February/027235.html) page,
> explaining the right way to make the inclusion.
> Thus, i tried this two little modifies at CmakeLists.txt files:
>
> - in simspark/trunk/rcssserver3d i've added in "include_directories()" the
> string "${OPENGL_INCLUDE_DIR}"
Would you please try again without the above modification and get the
error messages you receive?
> - in simspark/trunk/rcssserver3d/plugin/soccermonitor i've added in
> "target_link_libraries(soccermonitor ${spark_libs} )" the string
> "${OPENGL_LIBRARIES}"
Yes, this is fine. :)
> And it magically works out!
> I thought it was a good idea to suggest this little modify, in order to
> enhance the software portability.
Yes, thanks a lot for your consideration. I'll apply the changes.
Thanks again,
Hedayat
> Best Regards,
>
> Luca Giuliani
>
|