Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base64 build fails in ipc (QT Creator) #19

Open
GoogleCodeExporter opened this issue Aug 29, 2015 · 1 comment
Open

Base64 build fails in ipc (QT Creator) #19

GoogleCodeExporter opened this issue Aug 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant