Sysprogs forums › Forums › VisualGDB › QT Raspberry local build on windows
- This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by a7v3a6.
-
AuthorPosts
-
October 11, 2013 at 11:11 #655a7v3a6Participant
Hi!
I’ve problems building my QT project local on Windows 7 64, Visual Studio 2008, VisualGDB 4.1.
C++ based only projects run perfectly. The QT project also runs when I build it on the Pi.
QMAKE seems to run but MAKE gives me this error:'test' is not recognized as an internal or external command
I’ve followed this tutorial (synchronized folders)
http://visualgdb.com/tutorials/raspberry/qt-cross/Where is this test file in MAKEFILE from?
CHK_DIR_EXISTS= test -d
Is something else missing on my local compter?
I’ve also noticed when VisualGDB is checking the toolchainchecking rm... checking cp...
have a red cross. All other stages are green.
Thanks
Andreas1> Build started: Project: LinuxProject7, Configuration: Debug Win32 1>Performing Makefile project actions
1>VisualGDB: Attempting inline build...
1>VisualGDB: Executing prebuild actions
1>VisualGDB: Run "d:SysGCCraspberryQtv4qmake.exe LinuxProject7.pro CONFIGNAME=Debug " in directory "D:ProjectsRaspberryLinuxProject7LinuxProject7" on (unspecified)
1>VisualGDB: Run "cmd.exe /c "C:Program Files (x86)SysprogsVisualGDBmake.exe"" in directory "D:ProjectsRaspberryLinuxProject7LinuxProject7" on (unspecified)
1>'test' is not recognized as an internal or external command,
1>operable program or batch file.
1>The syntax of the command is incorrect.
1>make: *** [Debug/LinuxProject7] Error 1
1> 1>Command exited with code 2
1>Executable: cmd.exe
1>Arguments: /c "C:Program Files (x86)SysprogsVisualGDBmake.exe"
1>Directory: D:ProjectsRaspberryLinuxProject7LinuxProject7
1>error: Build has failed. See the Output window for more details.
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://d:ProjectsRaspberryLinuxProject7LinuxProject7DebugBuildLog.htm"
1>LinuxProject7 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========MAKEFILE:
####### Compiler, tools and options CC = d:/SysGCC/raspberry/bin/arm-linux-gnueabihf-gcc.exe CXX = d:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB CFLAGS = -pipe -Wno-psabi -g -Wall -W -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -Wno-psabi -g -Wall -W -D_REENTRANT $(DEFINES) INCPATH = -I../../../../sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/share/qt4/mkspecs/arm-linux-gnueabihf -I. -I../../../../sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtCore -I../../../../sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtGui -I../../../../sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4 -IDebug -IDebug LINK = d:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe LFLAGS = LIBS = $(SUBLIBS) -LE:Qt4.8.5lib -lQtGui -lQtCore -lpthread AR = d:/SysGCC/raspberry/bin/arm-linux-gnueabihf-ar.exe cqs RANLIB = QMAKE = d:/SysGCC/raspberry/Qt/v4/qmake.exe TAR = tar -cf COMPRESS = gzip -9f COPY = copy /y SED = sed COPY_FILE = $(COPY) COPY_DIR = xcopy /s /q /y /i STRIP = d:/SysGCC/raspberry/bin/arm-linux-gnueabihf-strip.exe INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = del SYMLINK = ln -f -s DEL_DIR = rmdir MOVE = move CHK_DIR_EXISTS= test -d MKDIR = mkdir
October 11, 2013 at 16:30 #2672ketParticipantHi,
Reinstall the latest Raspberry Pi toolchain from http://gnutoolchains.com/raspberry/ . It was updated a couple of days ago to also include the test tool.
October 11, 2013 at 18:52 #2673a7v3a6ParticipantProblem solved 😀 New toolchain fixed it. Thanks a lot!
Building on Pi took ages 😆 -
AuthorPosts
- You must be logged in to reply to this topic.