Comments (8)
This should be possible, I hope to have a look at it in the next week or so.
from vdrift-mac.
Seems to work, apart from one error:
vdrift/src/graphics/model_obj.cpp:224:54: error: invalid operands to binary expression ('basic_ostream<char, std::__1::char_traits<char> >' and 'std::ostream' (aka 'basic_ostream<char>'))
It does mean dropping support for Mac OS X 10.5 and 10.6, but I have no idea if VDrift works on them any more anyway.
from vdrift-mac.
That's a bug, luckily a trivial one.
from vdrift-mac.
Now something isn't linking right:
Undefined symbols for architecture x86_64:
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::length() const", referenced from:
calgo_testTest::run(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in containeralgorithm.o
from vdrift-mac.
Just did a quick grep for length(). This should fail in a few other places too. Replacing it with size() should do the job.
from vdrift-mac.
Hmm, it might be a bit more involved.
The code wants a reference to the length() function. My guess is that the compiler has it inlined, thus the linker can't find it.
from vdrift-mac.
I have the same problem in FreeBSD. I found that std::mem_fun_ref was deprecated in cplusplus.com reference , and I tested the example and it didn't work(get the same error). So maybe use std::mem_fn instead(I don't know how to use it)
from vdrift-mac.
VDrift/vdrift@31d53b5 fixes it
from vdrift-mac.
Related Issues (6)
- Build optimization HOT 7
- Sandboxing and linking HOT 1
- Master not building. HOT 5
- Use internal data folder for updates. HOT 7
- Use mac os tmp folders for updates. HOT 4
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 vdrift-mac.