> Do you know why the unit path is "/usr/lib/fpc/2.6.4/" instead of
"/usr/lib/fpc/2.6.4/units/"? 

No, but I did have problems with that many -Fu lines, which is why I reduce
to just two:

-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* 
-Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/* 

And it works flawlessly. You can try and test it again.

Just to be sure, try this:
fpc -vt whatever | grep "Reading options"
to ensure the compiler reads from /etc/fpc.cfg, not somewhere else.



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/problem-with-the-opengl-unit-tp5719120p5719129.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to