Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » build show "There were errors." without explanation
build show "There were errors." without explanation [message #55432] Tue, 10 November 2020 16:53 Go to next message
omari is currently offline  omari
Messages: 241
Registered: March 2010
Experienced Member
I am using theide without Upp framework.
the builder compile all cpp files, but it does not link, it show the message
qr/QRCodes: 12 file(s) built in (0:01.29), 107 msecs / file

There were errors. (0:01.29)


after investigation, i found that:

in file GccBuilder.cpp, line 86:
		if(!pkg[i].separator) {
			String gop = Gather(pkg[i].option, config.GetKeys());
			Vector<String> srcfile = CustomStep(pkg[i], package, error);
			if(srcfile.GetCount() == 0)
				error = true;
			



comment out the two lines
		//	if(srcfile.GetCount() == 0)
		//		error = true;


fix the build.



regards
omari.
Re: build show "There were errors." without explanation [message #55433 is a reply to message #55432] Tue, 10 November 2020 17:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12954
Registered: November 2005
Ultimate Member
Are you using custom steps?

How does .upp file look like?

Mirek
Re: build show "There were errors." without explanation [message #55434 is a reply to message #55433] Tue, 10 November 2020 17:43 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 241
Registered: March 2010
Experienced Member
mirek wrote on Tue, 10 November 2020 16:15
Are you using custom steps?

How does .upp file look like?

Mirek


no custom steps, but, i am using "import.ext"


regards
omari.
Re: build show "There were errors." without explanation [message #55435 is a reply to message #55434] Tue, 10 November 2020 17:59 Go to previous message
omari is currently offline  omari
Messages: 241
Registered: March 2010
Experienced Member
here a test case:

MacOS

test.upp:
file
	import.ext,
	test.cpp;

mainconfig
	"" = "";


test.cpp:
#include <iostream>

int main(int argc, const char *argv[])
{
	return 0;
}


import.ext:
include_path
	/usr/local/Cellar/opencv/4.5.0_3/include/opencv4,
	.
;


regards
omari.
Previous Topic: compile error on Magea Linux 7.1
Goto Forum:
  


Current Time: Sat Nov 28 23:24:59 CET 2020

Total time taken to generate the page: 0.01800 seconds