0

I have trouble building Cppcheck in Windows. It's ok while building in Studio, but when I try build.bat, it fails with the following:

Makefile.Release:148: *** missing separator.  Stop.
mingw32-make: *** [release] Error 2

I'm not good with all the makefile technology, but the problematic spot does look broken:

{..\externals\tinyxml}.cpp{temp\}.obj::
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fotemp\ @<<
    $<
<<

Looks like something screws the generation of configuration dependent Makefiles. Any ideas?

UPDATE: Could it be related to the fact, I'm building 1.60 using qmake from Qt 5.1?

1 Answer 1

1

Using this in the root folder should work:

mingw32-make LDFLAGS=-lshlwapi
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.