Comments (6)
Let me add that I use the Qt library. I don't know why it looks to be interfering with your header files as I have stream operators defined for my classes:
QDataStream& operator<<(QDataStream& out, const Statement& statement);
QDataStream& operator>>(QDataStream& in, Statement& statement);
And I left out from the above error:
could be 'QDataStream &talon::operator >>(QDataStream &,Statement &)'
If I comment out my stream operator. The code compiles. (Though my app needs the operator...)
from raftlib.
Hi @Meneleus, it would greatly help out debugging this if I had a minimal test case. Might I trouble you to post a link to a gist with an example that throws the error? I've tried random permutations to regenerate, however, I can't seem to hit the same errors.
Thanks in advance!
from raftlib.
I'll try to re-create the issue. It's really strange that only that one gives me trouble, I have plenty of stream operators defined for different data types using that same signature style. I assume I can use Qt? You should have it available on Linux by default? I'll try without Qt first...
P.S. It looks like using pointers is not the issue at all. Even if I declare those kernels without pointers I still get the compile issue.
from raftlib.
QT should be fine, not sure if it's always default, but I've definitely installed the package. .
Thanks!
from raftlib.
Hi @Meneleus, I've done my best to reproduce, the only way I could generate a similar error was not adding the raftlib header files. Given the first example, and subsequent error message, I'd bet that is likely the case. Could you double check the include path? The minimum error we should be seeing (if this theory is correct) is what you posted above. I'd hope, with the right headers included that we would see an "invalid conversion" or some such error. What I think is happening is the only stream operators that your compilation process is seeing are the ones for Qt and trying to fit them...which they won't fit.
Plz let me know if this is the case, I'll close out the issue. If not, let me know and I'll keep digging.
Thanks!
from raftlib.
I'm sorry I have not had time to create a standalone example. I do indeed #include the raftlib headers. I used
#include <raft>
I have luckily been able to comment out my stream operator that conflicts as I experiment with raftlib, so I'm not at a stoppage with this issue.
Give me a few days, I'll get to it!
from raftlib.
Related Issues (20)
- Make include guards unique HOT 2
- update qthreads version HOT 1
- fix cmake required version warnings
- namespace collision with common name in units.hpp header
- Debug detailed Info HOT 3
- Clarification around work generation of GPUs and CPUs
- Compiling on Windows HOT 9
- Download all submodules with code zip download HOT 1
- rbzip2 with Qthreads hanging/crashing HOT 4
- Map having no data source (a kernel has input only) could trigger segfault when execution starts. HOT 1
- File not found error for "hh.hpp" during raftlib compilation using pkgconfig HOT 5
- No such file or directory error for "raftutility". (example1.cc:9:10: fatal error: raftutility: No such file or directory) HOT 3
- Leading _kset_ to _kset_ join operator fails to parse in DSL HOT 1
- The const_map inilization could be deferred to when map execution settings are available
- CPU Consumption in a dormant system HOT 3
- hh.hpp file not found while compiling poc.cpp example HOT 1
- Unable to build v2020.07.01 from source - missing include file HOT 6
- Set task execution to happen on the main thread
- How to limit maximum capacity of a port?
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 raftlib.