Forum > General
Lazarus trunk build error
Blaazen:
Hi,
after "git pull" and build with "clean all" option from menu I got this error:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---staticpackages.inc(5,28) Error: Duplicate identifier "LAZ.VIRTUALTREEVIEW_PACKAGE"staticpackages.inc(8,14) Error: Duplicate identifier "LAZDEBUGGERFP"make[2]: *** [Makefile:4960: lazarus] Error 1make[1]: *** [Makefile:5399: ide] Error 2Error: make: *** [Makefile:3791: ide] Error 2
The file staticpackages.inc seems to be auto-generated during build. It's content is just:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---freetypelaz,cody,eccontrols,idescout,laz.virtualtreeview_package,runtimetypeinfocontrols,allsyneditdsgn,lazdebuggerfp,
Thanks
zeljko:
Same here, make clean && make bigide fixed problem
Blaazen:
Thanks. It compiled Lazarus to GTk. But when I tried to rebuild to qt4 (from menu) I got another error:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses.inc(1,37) Error: Cannot find qt4 used by DelphiCompat. Enable flag "Use Unit" of unit qt4 in package LCL.
Bogen85:
--- Quote from: zeljko on January 28, 2023, 08:57:12 pm ---Same here, make clean && make bigide fixed problem
--- End quote ---
I just now rebuilt/reinstalled fpc and lazarus trunk.
I use a script that does a git pull for me to get the latest changes for me, but then I have it clone that local repo into a fresh repo locally to do the builds in, so I don't ever do to a make clean anymore for my rebuilds/re-installs.
make bigide and subsequent reinstall worked without any issues on the fpc built/installed immediately before it.
zeljko:
--- Quote from: Blaazen on January 28, 2023, 11:09:23 pm ---Thanks. It compiled Lazarus to GTk. But when I tried to rebuild to qt4 (from menu) I got another error:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses.inc(1,37) Error: Cannot find qt4 used by DelphiCompat. Enable flag "Use Unit" of unit qt4 in package LCL.
--- End quote ---
I've built for qt5 successfully (currently no the road with Mac book, so cannot test qt4) under linux with make bigide LCL_PLATFORM=qt5,
maybe make clean LCL_PLATFORM=qt && make bigide LCL_PLATFORM=qt can help. Is it vanilla git or you have some internal changes ?
Navigation
[0] Message Index
[#] Next page