Comments (7)
Thank you for your report and solution!
I'll test the problem tonight.
Maybe, I'll try using #include "marisa/stdio.h" instead of #include "stdio.h"
so as to avoid the problem, because "marisa/stdio.h" is already a part of
libmarisa's API.
Original comment by [email protected]
on 19 Aug 2013 at 1:40
from marisa-trie.
Great! Looking forward to the fix!
Original comment by [email protected]
on 19 Aug 2013 at 8:06
from marisa-trie.
I tested compilation with Xcode, but I couldn't reproduce the problem.
Also, configure & make approach worked as well.
However, I'm not sure if my approach was right or not because I'm not familiar
with Xcode.
First, I created a project.
Then, I copied lib/marisa.h and lib/marisa/ to the project directory.
After that, I added the source & header files to the project (with
drag-and-drop).
And I could build a project successfully.
I would appreciate if you could tell me your steps to build your application.
By the way, I attached a special version that uses #include "marisa/stdio.h"
instead of #include "stdio.h".
This version might solve your problem but it does not work with Visual C++.
Original comment by [email protected]
on 20 Aug 2013 at 5:46
Attachments:
from marisa-trie.
Thanks - we'll look at that! Our problem probably was caused by using
'recursive' include in Xcode. We didn't include the marisa files 'explicitly'
but included a directory with a few subdirs. each subdir is an open source
project - one of them marisa - then it happened for us ...
Original comment by [email protected]
on 20 Aug 2013 at 3:06
from marisa-trie.
I'm happy to hear that the problem is solved.
In the future, I'll use non-standard include file names in order to avoid this
kind of problems.
Original comment by [email protected]
on 21 Aug 2013 at 2:34
- Changed state: WontFix
from marisa-trie.
Hi - sorry to be a bore - but why is this fixed? wouldn't it be great to always
include "marisa/stdio.h" instead of "stdio.h" and adjust the visual studio
build?
Many thanks
Thomas
Original comment by [email protected]
on 21 Aug 2013 at 10:16
from marisa-trie.
I'm sorry about being so late to reply.
I confirmed that VC++ can build libmarisa by adding "../../lib" to
AdditionalIncludeDirectories and I committed a fixed version (r147).
Thank you.
Original comment by [email protected]
on 27 Aug 2013 at 12:16
- Changed state: Fixed
from marisa-trie.
Related Issues (20)
- marisa-trie does not build under mingw32 HOT 7
- Typo at Project Home HOT 2
- Inherit Exception from std::exception HOT 2
- marisa-trie fails to save dictionary (mingw32) HOT 2
- predict_breadth_first , predict_depth_first in version marisa1.5 are not available in marisa2.0 HOT 2
- Stability of 0.2 version HOT 2
- How can I merge large number of large marisa tries ? HOT 4
- License questions HOT 5
- failing win 64bit build HOT 5
- Document for explaining the implementation. HOT 1
- Maximum keys in a marisa trie HOT 1
- hardcoded archtecture list for word size HOT 1
- Find All Prefixs doesn't work on Linux Mint 13 after installing thorugh PIP, but Filter By Prefix Does
- Map values
- Marisa 0.2.4: Shared library doesn't build in MSys/MinGW64 HOT 1
- Does marisa trie work on Android HOT 1
- sequential indexes HOT 6
- Alternative Python bindings HOT 2
- Stepwise walking HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marisa-trie.