Nmake Fatal Error U1033
Sign in Pricing Blog Support Search GitHub This repository Watch 13 Star 73 Fork 14 akrinke/Font-Stash Code Issues 2 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue Running Makefile with nmake -f on Windows: fatal error U1033: syntax error : '=' unexpected #12 Closed vexe opened this Issue Nov 11, 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants vexe commented Nov 11, 2015 Also, adding the header files to my project and #including them yield all sorts of linker errors (e.g. the sample code you have in the readme), which is why I tried the Makefile. I thought I could just drop in the header files and include them and things would go cozy, not the case it seems. Am I missing something? Owner akrinke commented Nov 11, 2015 To use Font-Stash, copy fontstash.* and stb_truetype.* to your project and include fontstash.h. The Makefile was written for GNU make on Linux. I guess it needs some changes to work with nmake and you would need sdl-config and pkg-config on Windows. So you probably shouldn't use the Makefile on Windows. If you want to compile the sample program (main.c) on Windows, you need to install SDL and SDL_image. Then you have to figure out, how to compile a program using these libraries and OpenGL. That depends heavily on your development environment (compiler, editor/IDE). The Makefile can give you some hints, though. What linker errors do you get? vexe commented Nov 11, 2015 Thanks for the reply. Yes I included all the headers including Sean's files (4 files in total) I just copy-pasted the sample code you had in the repository under the usage section (not in main.c) and got: 1>Breakout.obj : error LNK2019: unresolved external symbol "struct sth_stash * __cdecl sth_create(int,int)" (?sth_create@@YAPAUsth_stash@@HH@Z) referenced in function "void __cdecl FontTest(void)" (?FontTest@@YAXXZ) 1>Breakout.obj : error L
and running CINT here. Please post bug reports here. Moderator: cintdev Post Reply Search Advanced search First unread post • 21 posts 1 2 Next luckyzhangwei Posts: 47 Joined: Wed Dec 31, 2008 4:22 error in using makecint Quote Unread postby luckyzhangwei » Tue Feb 17, 2009 8:51 i downloaded the cint-5.16.19-win32.tar and decompressed it to the D:\Cint and set the enviroment. i entered into the d:\Cint\demo\makecint\Complex: i typed as follows: makecint -mk Makefile -o Complex -H Complex.h -C++ Complex.C and it produced the Makefile succefully; then i typed nmake /F Makefile CFG="Complex - Win32 https://github.com/akrinke/Font-Stash/issues/12 Release" Makefile(6) : fatal error U1033: syntax error : '=' unexpected Stop. i read the Makefile,it seems because of the Makefile didn't define the CINT,how to change the Makefile? BTW, i also tried the vcsetup.bat,it also says ‘=’ unexpected. what's wrong? Attachments Makefile.txt (3.06 KiB) Downloaded 91 times Top luckyzhangwei Posts: 47 Joined: Wed Dec 31, 2008 4:22 is there nobody told me how https://root.cern.ch/phpBB3/viewtopic.php?t=8049 to fix it? Quote Unread postby luckyzhangwei » Wed Feb 18, 2009 9:04 can anyone told me how to fix it? Top Axel Posts: 2608 Joined: Wed Sep 03, 2003 22:35 Location: CERN Quote Unread postby Axel » Wed Feb 18, 2009 10:27 Hi, yes we can help you, but we also sleep sometimes, even if you flood us with personal emails, too. So here is the solution: you should call "make" not "nmake". "make" is GNU make and is part of the cygwin tools that you can get from www.cygwin.com. Cheers, Axel. Top luckyzhangwei Posts: 47 Joined: Wed Dec 31, 2008 4:22 error again. Quote Unread postby luckyzhangwei » Wed Feb 18, 2009 10:31 i am sorry to trouble you. but unfortunately,it seems error again. BTW,there seems no detail installtion in using the cygwin to compile the root or cint.can you supply the installtion file in the next version?i think this will help lots of ppl. also, i had roughly read the makecint.cxx, i want to try to write a vesion to generate a makefile which can used by the nmake.it is unconvienent to using the cygwin.can you give me some advice? ///////////
Resolved bugs Rejected bugs Report a new bug This queue is for tickets https://rt.cpan.org/Ticket/Display.html?id=20371 about the Text-NSP CPAN distribution. Report information The Basics https://forum.qt.io/topic/22343/problem-with-building-qt5-0-0-rc2-with-webkit Id: 20371 Status: resolved Priority: 0/ Queue: Text-NSP People Owner: Nobody in particular Requestors: sean [...] semanticbible.com Cc: AdminCc: Bug Information Severity: Unimportant Broken in: 1.01 Fixed in: (no value) Attachments Makefile2.pl Sat Jul 08 20:30:02 2006 nmake fatal (2.9k) by Guest History Show all quoted text — Show full headers # SatJul0820:30:022006 Guest - Ticket created Subject: MakeMaker postamble breaks under nmake/Windows Download (untitled) / with headers text/plain 693b Module: Text-NSP-1.01 Perl 5.8.8 CYGWIN_NT-5.1 (Windows XP) When installing under Windows using nmake 1.5, nmake dies nmake fatal error on the '@echo' statement in the postamble. Example: --------------- c:\Perl\site\lib\Text\NSP\Text-NSP-1.01>nmake nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. makefile(1199) : fatal error U1033: syntax error : '@echo' unexpected Stop. --------------- Workaround: if you change Makefile.pl so MY::postamble just returns an empty string, it installs okay (but then of course you don't get the helpful message it was designed to deliver). I've attached Makefile2.pl which is how i got around it. Subject: Makefile2.pl Download Makefile2.pl text/x-perl 2.9k use 5.008005; use ExtUtils::MakeMaker; my @utils_to_install = qw (kocos.pl rank.pl combig.pl huge-count.pl huge-combine.pl sort-bigrams.pl split-data.pl); my @required_to_install = qw(count.pl statistic.pl); my @sh_to_install = qw( kocos-script.sh rank-script.sh combig-script.sh ); WriteMakefile( NAME => 'Text::NSP', VERSION_FROM => 'lib/Text/NSP.pm', # finds $VERSION PREREQ_PM => {}, CONFIGURE => \&configSub, EXE_FILES => [ map ("bin/$_", @required_to_install), map ("bin/utils/$_", @utils_to_install), map ("bin/utils/$
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development General and Desktop Problem with building QT5.0.0 RC2 with webkit Problem with building QT5.0.0 RC2 with webkit This topic has been deleted. Only users with topic management privileges can see it. dafreeze last edited by Hi, i got following Error: @ mt.exe /nologo /manifest release\LLIntOffsetsExtractor.exe.embed.manifes t /outputresource:release\LLIntOffsetsExtractor.exe;1 E:\Programmierung\qt5\qtbase\bin\qmake.exe E:\Programmierung\qt5\qtwebki t\Source\JavaScriptCore\DerivedSources.pri WEBKIT_CONFIG-=build_webkit2 WEBKIT_C ONFIG-=netscape_plugin_api CONFIG-=production_build -o Makefile.JavaScriptCore.D erivedSources "E:\Programmierung\Visual Studio Ultimate 2012\VC\BIN\amd64\nmake.exe" - f Makefile.JavaScriptCore.DerivedSources Microsoft (R) Program Maintenance Utility, Version 11.00.50727.1 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. Makefile.JavaScriptCore.DerivedSources(85) : fatal error U1033: Syntaxfehler: ": " unerwartet Stop. NMAKE : fatal error U1077: ""E:\Programmierung\Visual Studio Ultimate 2012\VC\BI N\amd64\nmake.exe"": Rückgabe-Code "0x2"@ This is my Makefile.JavaScriptCore.DerivedSources: http://pastebin.com/60bxG2fU The Problem seems to be: $(DESTDIR_TARGET): generated\ArrayConstructor.lut.h generated\ArrayPrototype.lut.h generated\BooleanPrototype.lut.h generated\DateConstructor.lut.h generated\DatePrototype.lut.h generated\ErrorPrototype.lut.h generated\JSGlobalObject.lut.h generated\JSONObject.lut.h generated\MathObject.lut.h generated\NamePrototype.lut.h generated\NumberConstructor.lut.h generated\NumberPrototype.lut.h generated\ObjectConstructor.lut.h generated\ObjectPrototype.lut.h generated\RegExpConstructor.lut.h generated\RegExpObject.lut.h generated\RegExpPrototype.lut.h generated\StringConstructor.lut.h generated\StringPrototype.lut.h generated\Lexer.lut.h generated\GeneratedJITSt