Re: cannot find -lGL (OpenGLContext application)
Valdas Jankūnas wrote: [EMAIL PROTECTED] rašė: Quoting Marco Alvarado [EMAIL PROTECTED]: Oh look, I got the same error when compiling the TOpenGLContext example: Compiling package LazOpenGLContext 0.0 completed /usr/bin/ld: cannot find -lGL testopenglcontext1.lpr(14,1) Error: Error while linking testopenglcontext1.lpr(14,1) Fatal: There were 1 errors compiling module, stopping What needs to be configured in order to get these applications running? I am just guessing; but it is not linking in the GL library. is it -LGL instead of -lGL?, also just try -L GL? I think that you are very close.. the next error should be; cannot find library GL The linux linker is very pedantic - keep trying First check if library libGL is installed: open console, execute cd /usr/lib to goto in that dir then execute ls libGL*. If in output you see words like libGL.so.1.0.9639 - library is installed, otherwise you need install this library. If library is installed but you not see libGL.so in ls output then you need make symlink from libGL.so.some_numbers (in my example libGL.so.1.0.9639) to libGL.so: execute in that dir command sudo ln -s libGL.so.some_numbers libGL.so. usuallt you will get this symlink if you install the devel package if gl. Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] cannot find -lGL (OpenGLContext application)
libGL is mostly included in the mesa library so install mesa and mesa devel and it should be ok. Marco Alvarado schrieb: The application is running correctly in Windows, now I want to compile it in Linux. I get just one error while linking: /usr/bin/ld: cannot find -lGL pruebabasicalinux.lpr(97,1) Error: Error while linking pruebabasicalinux.lpr(97,1) Fatal: There were 1 errors compiling module, stopping I created this test from the new Application wizard, and added all the paths. The application uses GL, GLU and OpenGLContext. What could be missing? Thanks a lot for all your help, I have got very far on this project. -Marco _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] cannot find -lGL (OpenGLContext application)
The application is running correctly in Windows, now I want to compile it in Linux. I get just one error while linking: /usr/bin/ld: cannot find -lGL pruebabasicalinux.lpr(97,1) Error: Error while linking pruebabasicalinux.lpr(97,1) Fatal: There were 1 errors compiling module, stopping I created this test from the new Application wizard, and added all the paths. The application uses GL, GLU and OpenGLContext. What could be missing? Thanks a lot for all your help, I have got very far on this project. -Marco _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: cannot find -lGL (OpenGLContext application)
Oh look, I got the same error when compiling the TOpenGLContext example: Compiling package LazOpenGLContext 0.0 completed /usr/bin/ld: cannot find -lGL testopenglcontext1.lpr(14,1) Error: Error while linking testopenglcontext1.lpr(14,1) Fatal: There were 1 errors compiling module, stopping What needs to be configured in order to get these applications running? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: cannot find -lGL (OpenGLContext application)
Quoting Marco Alvarado [EMAIL PROTECTED]: Oh look, I got the same error when compiling the TOpenGLContext example: Compiling package LazOpenGLContext 0.0 completed /usr/bin/ld: cannot find -lGL testopenglcontext1.lpr(14,1) Error: Error while linking testopenglcontext1.lpr(14,1) Fatal: There were 1 errors compiling module, stopping What needs to be configured in order to get these applications running? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives I am just guessing; but it is not linking in the GL library. is it -LGL instead of -lGL?, also just try -L GL? I think that you are very close.. the next error should be; cannot find library GL The linux linker is very pedantic - keep trying Regards David _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: cannot find -lGL (OpenGLContext application)
[EMAIL PROTECTED] rašė: Quoting Marco Alvarado [EMAIL PROTECTED]: Oh look, I got the same error when compiling the TOpenGLContext example: Compiling package LazOpenGLContext 0.0 completed /usr/bin/ld: cannot find -lGL testopenglcontext1.lpr(14,1) Error: Error while linking testopenglcontext1.lpr(14,1) Fatal: There were 1 errors compiling module, stopping What needs to be configured in order to get these applications running? I am just guessing; but it is not linking in the GL library. is it -LGL instead of -lGL?, also just try -L GL? I think that you are very close.. the next error should be; cannot find library GL The linux linker is very pedantic - keep trying First check if library libGL is installed: open console, execute cd /usr/lib to goto in that dir then execute ls libGL*. If in output you see words like libGL.so.1.0.9639 - library is installed, otherwise you need install this library. If library is installed but you not see libGL.so in ls output then you need make symlink from libGL.so.some_numbers (in my example libGL.so.1.0.9639) to libGL.so: execute in that dir command sudo ln -s libGL.so.some_numbers libGL.so. -- Valdas Jankūnas _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives