B2: Attempt to redeclare already registered project id - comments

My jamfile was working fine and now I have the following error:
error: at jamfile:4
error: Attempt to redeclare already registered project id '/MyProject'.
error: Original project:
error: Name: Jamfile<C:\dev\MyProject>
error: Module: Jamfile<C:\dev\MyProject>
error: Main id: /MyProject
error: File: jamfile
error: Location: .
error: New project:
error: Module: Jamfile<>
error: File: jamfile
error: Location: .
This is quite surprising because there is a single jamfile, a single project, no other projects with the same name...

Have you used // to comment lines ? This was the reason why I had this error.
You must use # to comment lines in jamfiles.

Related

There is no .trace file found for performance profile ‘Leaks’

Following this example and using Javascript, get the following error when run my tests. The error is generated on the following command:
enter code heredriver.executeScript('mobile: stopPerfRecord', [
{ profileName: 'Leaks' },
]);
Error:
Got this error “Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: There is no .trace file found for performance profile ‘Time Profiler’ and device XXXX. Make sure the selected profile is supported on this device”

how can I fix Simu5G error when it is building?

I have some error when I try to import Simu5G in Omnet++
here is my error.
**** Build of configuration gcc-debug for project simu5G ****`enter code here`
Error: cannot resolve import 'inet.common.INETDefs'
Error: cannot resolve import 'inet.common.packet.chunk.Chunk'
Error: cannot resolve import 'inet.common.geometry.Geometry'
Error: 'MultihopD2DPacket': unknown base class 'inet::FieldsChunk'
Error: unknown type 'inet::Coord' for field 'srcCoord' in 'MultihopD2DPacket'
Error: Unknown field 'chunkLength' (not found in any super class)
Error: cannot resolve import 'inet.common.INETDefs'
Error: cannot resolve import 'inet.common.packet.chunk.Chunk'
Error: 'AlertPacket': unknown base class 'inet::FieldsChunk'
[Makefile:339: apps/cbr/CbrPacket_m.h] Error 1
*** [Makefile:2: all] Error 2
You do not have (an installed) INET project in your workspace, or the INET project is not open or it is not set as a project dependency in Simu5G's project properties dialog.
I have experienced the similar issue in SimuLTE. This is due to an invalid project reference setting. To fix it:
Right Click the projet - Property - Project Reference, then select the inet you installed.

Objective Sharpie - Automated Binding of AWSCognito fails with "'AWSCore/AWSCore.h' file not found"

I'm trying to bind "AWSCognito" using Sharpie and Cocoapods using following command:
sharpie pod init -force ios AWSCognito && sharpie pod bind
It ran good but build was failed with following errors:
Parsing 1 header files...
While building module 'AWSCognito' imported from /private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h:1:
In file included from :1:
In file included from _ usr /build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognito-umbrella.h:3:
In file included from _ _usr /build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognito.h:26:
_ _usr _/build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognitoService.h:19:9: fatal error:
'AWSCore/AWSCore.h' file not found
#import <AWSCore/AWSCore.h>
^
/private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h:1:9: fatal error:
could not build module 'AWSCognito'
#import AWSCognito;
~~~~^~~~~~
Binding...
2 errors generated.
Error while processing /private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h.
Submitting usage data to Xamarin...
Submitted - thank you for helping to improve Objective Sharpie!
Done. Exiting with error code 1.
error: Clang failed to parse input and exited with code 1```
I can't figure out why and how do I solve this issue. Any help is appreciated. Thanks.

Issue with Qt 4.8.6 compilation with qpa configured.

I am getting the following error when I compile qt 4.8.6 source on Mac OS X version 10.8.5.
It looks like some platform related flags are not enabled.
In file included from text/qfontengine_coretext.mm:42:
text/qfontengine_coretext_p.h:64: error: expected `)' before‘font’
text/qfontengine_coretext_p.h:65: error: expected `)' before‘font’
text/qfontengine_coretext_p.h:93: error: ‘CGContextRef’ has not
been declared
text/qfontengine_coretext_p.h:111: error: ‘CTFontRef’ does not
name a type
text/qfontengine_coretext_p.h:112: error: ‘CGFontRef’ does not
name a type
text/qfontengine_coretext_p.h:114: error: ‘CGAffineTransform’ does
not name a type
text/qfontengine_coretext_p.h:122: error: expected ‘,’ or ‘...’
before ‘&’ token
text/qfontengine_coretext_p.h:122: error: ISO C++ forbids
declaration of ‘QCFString’ with no type
text/qfontengine_coretext_p.h:123: error: expected `)' before
‘ctFontRef’
text/qfontengine_coretext_p.h:134: error: ‘CTFontRef’ does not
name a type
text/qfontengine_coretext_p.h:144: error: ‘CTFontRef’ has not been
declared
text/qfontengine_coretext_p.h:145: error: ‘CTFontRef’ does not
name a type
text/qfontengine_coretext_p.h:146: error: ISO C++ forbids
declaration of ‘QCFType’ with no type
text/qfontengine_coretext_p.h:146: error: expected ‘;’ before ‘<’
token
text/qfontengine_coretext_p.h:147: error: ‘CGAffineTransform’ does
not name a type
text/qfontengine_coretext_p.h:152: error: ‘CGAffineTransform’ does
not name a type
text/qfontengine_coretext.mm:53: error: ‘acosf’ was not declared
in this scope
text/qfontengine_coretext.mm:53: error: ‘tanf’ was not declared in
this scope
text/qfontengine_coretext.mm:55: error: variable or field
‘loadAdvancesForGlyphs’ declared void
text/qfontengine_coretext.mm:55: error: ‘CTFontRef’ was not
declared in this scope
text/qfontengine_coretext.mm:56: error: ‘CGGlyph’ was not declared
in this scope
text/qfontengine_coretext.mm:56: error: template argument 1 is
invalid
text/qfontengine_coretext.mm:56: error: ‘cgGlyphs’ was not
declared in this scope
text/qfontengine_coretext.mm:57: error: expected primary-
expression before ‘*’ token
text/qfontengine_coretext.mm:57: error: ‘glyphs’ was not declared
in this scope
text/qfontengine_coretext.mm:57: error: expected primary-
expression before ‘int’
text/qfontengine_coretext.mm:58: error: expected primary-
expression before ‘flags’
text/qfontengine_coretext.mm:59: error: expected primary-
expression before ‘const’
text/qfontengine_coretext.mm:53: warning: ‘SYNTHETIC_ITALIC_SKEW’
defined but not used
make[2]: *** [.obj/debug-shared/qfontengine_coretext.o] Error 1
make[1]: *** [debug] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
Am i missing anything? The configuration command used is:
./configure -debug -opensource -confirm-license -arch "x86_64" -cocoa -qpa
and I have Xcode Mac base SDKs for 10.7 and 10.8.
QPA is Qt platform abstraction, wherein you can develop your own plugin for embedded systems. It basically replaces the platform port.
QPA is well developed in QT5, maybe you can consider using it.
You need to resolve these compilation issues on your own and if you are planning on how to use QPA, minimal plugin is the best choice.
You can resolve these issues, basically by including ApplicationService framework and header. Hope this helps.

Problems when make bochs on Mac OS X mountain lion

I have installed the X11 on Mac:
when I input some codes in terminal:
./configure --with-x11
make
After that, there appears some problems:
x.cc:37:22: error: X11/Xlib.h: No such file or directory
x.cc:38:23: error: X11/Xutil.h: No such file or directory
x.cc:39:21: error: X11/Xos.h: No such file or directory
x.cc:40:23: error: X11/Xatom.h: No such file or directory
x.cc:41:24: error: X11/keysym.h: No such file or directory
x.cc:42:35: error: X11/extensions/Xrandr.h: No such file or directory
x.cc:86: error: expected constructor, destructor, or type conversion before ‘*’ token
x.cc:88: error: expected initializer before ‘*’ token
x.cc:89: error: ‘Colormap’ does not name a type
x.cc:104: error: ‘Window’ does not name a type
x.cc:105: error: ‘GC’ does not name a type
x.cc:108: error: expected initializer before ‘*’ token
x.cc:136: error: ‘Pixmap’ does not name a type
x.cc:140: error: ‘Pixmap’ does not name a type
x.cc:146: error: ‘Pixmap’ does not name a type
x.cc:304: error: variable or field ‘xkeypress’ declared void
x.cc:304: error: ‘KeySym’ was not declared in this scope
x.cc:304: error: expected primary-expression before ‘int’
x.cc:326: error: ‘Colormap’ was not declared in this scope
x.cc:326: error: expected primary-expression before ‘n_tries’
x.cc:326: error: initializer expression list treated as compound expression
x.cc:326: error: expected ‘,’ or ‘;’ before ‘{’ token
Can you tell me how to solve the problems?
Use .conf.macosx instead of configure;
Open conf.macosx and add line: --with-x11;
Run:
sh .conf.macosx
Run:
make

Resources