eikoyoneki / haggle

Automatically exported from code.google.com/p/haggle
Apache License 2.0
0 stars 0 forks source link

Base64 build fails in ipc (QT Creator) #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Import libhaggle into QT Creator and add to LIBS and INCLUDEPATH
2. Include "haggle.h" and write line to get handle eg 
haggle_handle_get("myapp",&_haggle);

What is the expected output? What do you see instead?
Expected build to run successfully instead build output is

/PolicyFrameworkManagerDesktop/libhaggle/base64.h:59: error: expected ';', ',' 
or ')' before 'in'
/PolicyFrameworkManagerDesktop/libhaggle/base64.h:66: error: expected ';', ',' 
or ')' before 'in'

What version of the product are you using? On what operating system?
I am using libhaggle on mac 10.6. Building and running the Haggle daemon 
works,just an issue with using libhaggle. The makefile is attached.

Please provide any additional information below.

Original issue reported on code.google.com by benardm...@gmail.com on 5 Dec 2010 at 1:52

Attachments:

GoogleCodeExporter commented 9 years ago
Work around by building libhaggle separately and including the following in 
.pro file

unix:LIBS +=-L/usr/include/libxml2 \
            /usr/local/lib/libhaggle.a

unix:INCLUDEPATH +=/usr/local/include/libhaggle/ \
                /usr/include/libxml2 \

QMAKE_CFLAGS_DEBUG += -std=gnu99 -O2
QMAKE_LFLAGS += -lxml2 -lz -lpthread -licucore -lm

Original comment by benardm...@gmail.com on 6 Dec 2010 at 9:32