Makefile.Release(1143) : fatal error U1001: syntax error : illegal character '{' #1998
Replies: 4 comments 7 replies
-
Not sure if anything else then MSVC works with the build script. I‘d just install the Visual Studio build tools and follow the compilation instructions in this repository. |
Beta Was this translation helpful? Give feedback.
-
If you want to build with mingw, you need to use |
Beta Was this translation helpful? Give feedback.
-
I'll try that today thanks. |
Beta Was this translation helpful? Give feedback.
-
I'd suggest starting with an official Qt build for Windows with Qt Creator and all plugins, both latest Qt6 and latest Qt5 for all provided targets. Then you'll be able to pick the Qt5 kit using the provided GnuCC compiler - I've not yet tried this... it works with the MSVC kit, though. Once you have builds working from Qt Creator, you can inspect what it's doing and try recreating this - or inspect what the build chains are doing on Github. Me, I just want it built locally for testing. For deployment, I'd use the Github version every time, as you then know it'll be what goes into the official release. (If anyone gets Qt Creator builds on either Windows or Linux running targetting any Android version, I'd love to hear - not in this discussion, though.) |
Beta Was this translation helpful? Give feedback.
-
Anyone know what I am missing here. Acting like gcc is not defined.
Running,
.\windows\deploy_windows.ps1 -QtCompile64 'mingw81_64'
Getting:
Makefile.Release(1143) : fatal error U1001: syntax error : illegal character '{' in macro
1143 line is,
${CC} -msse $(CFLAGS) $(INCPATH) -c ../libs/opus/celt/x86/x86cpu.c -o release/x86cpu.o
CC is defined as, CC = gcc
My PC:
PS D:\projects\github\jamulus\build> which gcc
/c/ProgramData/chocolatey/bin/gcc
PS D:\projects\github\jamulus\build> gcc --version gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Environment:
install QT from choco install qt5-default C:\Qt\5.15.2\mingw81_64
.\vswhere.exe -property catalog_productDisplayVersion 15.9.38
Beta Was this translation helpful? Give feedback.
All reactions