[Vm-beginners] Problems while compiling CogVM

Igor Stasenko siguctua at gmail.com
Thu Jun 14 05:51:17 UTC 2012


On 14 June 2012 03:07, Lucas Mat <lucas.matw at gmail.com> wrote:
> Sorry my mail was a bit confusing.
>
> The errors were caused by references to undefined functions (like sqrt, cos,
> pthread_kill), for both configs CogUnixNoGLConfig and CogUnixConfig.
> I was able to fix it and compile the VM by manually adding the parameters
> "-lm -ldl -lpthread" at the end of the link.txt. But only worked with
> CogUnixConfig (the NoGL config throws "redefinition of ‘struct glRenderer’"
> error).
>
> Before that, I tried to add those flags through code, in the method:
>
> CogUnixConfig >> setExtraTargetProperties: maker
>
> but did't work.
>
> Just to clarify, it works as long as I add those parameters in the link.txt.
> :)
>
this is strange.. no manual fixing should be required.

> Thanks!
>
> --
> Lucas.-



-- 
Best regards,
Igor Stasenko.


More information about the VM-beginners mailing list