Post Reply 
newRPL - build 1255 released! [updated to 1299]
06-11-2019, 12:25 PM
Post: #497
RE: newRPL - build 1255 released! [official and unofficial]
(06-07-2019 12:39 PM)pidhash Wrote:  .I get this error when I try to compile using qtCreator in linux, someone could help to fix this ?

----

09:38:36: Running steps for project newrpl-fw...
09:38:37: Configuration unchanged, skipping qmake step.
09:38:37: Starting: "/usr/bin/make" -j2
arm-none-eabi-gcc -c -pipe -g -mtune=arm920t -mcpu=arm920t -mlittle-endian -fno-jump-tables -fomit-frame-pointer -fno-toplevel-reorder -msoft-float -Og -pipe -mthumb-interwork -nostdinc -DTARGET_50G -DNDEBUG -DNEWRPL_BUILDNUM= -I../newrpl_31_05_2019 -I. -I/usr/lib/gcc/arm-none-eabi/8.3.0/include -I../newrpl_31_05_2019/firmware/include -I../newrpl_31_05_2019/newrpl -isystem /usr/local/include -isystem /usr/include -I/usr/lib/qt/mkspecs/linux-g++ -o auto_version.o auto_version.c
In file included from auto_version.c:3:
../newrpl_31_05_2019/newrpl/libraries.h:378:40: error: expected expression before ')' token
#define MAKESINT(a) MKOPCODE(DECBINT,(a)&0x3ffff)
^
../newrpl_31_05_2019/newrpl/libraries.h:77:55: note: in definition of macro 'MKOPCODE'
#define MKOPCODE(lib,op) (WORD)((((lib)&0xFFF)<<20)|((op)&0x7FFFF))
^~
auto_version.c:6:67: note: in expansion of macro 'MAKESINT'
0x0088000F,0x01B80004,0x5277656E,0x42204C50,0x646C6975,0x00000020,MAKESINT(NEWRP​L_BUILDNUM),0xFFA72010,
^~~~~~~~
make: *** [Makefile:2983: auto_version.o] Error 1
09:38:41: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project newrpl-fw (kit: Desktop)
When executing step "Make"
09:38:42: Elapsed time: 00:05.

Your problem is here:
DNDEBUG -DNEWRPL_BUILDNUM=

There's no version number, which means qmake wasn't able to run the git command, check your path, you may need to add the directory in the project build environment. Also, make sure you use git clone, not just checkout. The version number is the number of commits so you need a full repository.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1255 released! [official and unofficial] - Claudio L. - 06-11-2019 12:25 PM
How to participate? - erazor - 12-13-2019, 07:12 AM



User(s) browsing this thread: