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 |
omari
Messages: 276 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 #55435 is a reply to message #55434] |
Tue, 10 November 2020 17:59 |
omari
Messages: 276 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.
|
|
|
Goto Forum:
Current Time: Sun Jan 26 00:16:44 CET 2025
Total time taken to generate the page: 0.07531 seconds
|