|
From: | Mark Brand |
Subject: | Re: [Mingw-cross-env-list] Undefined Reference errors when linking |
Date: | Thu, 23 Feb 2012 13:58:52 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Firefox/10.0.2 SeaMonkey/2.7.2 |
The prefixing in qjson_export.h is sensitive to QJSON_STATIC. You should probably have a look to see how it works. The solution is probably to define QJSON_STATIC in your application.Thank you! I added add_definitions(-DQJSON_STATIC) in the CMake file and QJson works now!
Good.
Is QJSON_STATIC a QJson specific flag, or whom is it used by? I could not find it in the QJson source code.
It's in qjson_export.h.
Now I ned to convince ffmpeg to link with my program: http://granjow.net/uploads/temp/make3.txt What could I do here?
I don't anything useful in your make3.txt. It stops after 80%. Also, try building with "make V=1" to get some more verbose make output. Mark
[Prev in Thread] | Current Thread | [Next in Thread] |