Comments (5)
Hi Mark,
Can you provide the following?
Full error message
Version of GCC
Version of OSX
from chrono.
Hi Hammad, I'm using OSX 10.11.5 and GCC 5.4.0 hooked into XCode 7.3.1 using your plugin (though CMake's log says it's still using AppleClang 7.3.0.7030031 yet the CMAKE_CX_COMPILER and CMAKE_C_COMPILER fields are set to /.../g++-5 and /.../gcc-5. I set CMAKE_AR, CMAKE_LINKER, CMAKE_NM and CMAKE_RANLIB to what seemed like appropriate execs for GCC5).
The error message is:
Ld build/lib/Debug/libChronoEngine.dylib normal x86_64
cd /.../chrono-develop
export MACOSX_DEPLOYMENT_TARGET=10.11
/usr/local/Cellar/gcc5/5.4.0/bin/g++-5 -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/.../chrono-develop/build/lib/Debug -F/.../chrono-develop/build/lib/Debug -filelist /Users/mark1/Documents/Chrono/chrono-develop/build/src/chrono/Chrono.build/Debug/ChronoEngine.build/Objects-normal/x86_64/ChronoEngine.LinkFileList -install_name /.../chrono-develop/build/lib/Debug/libChronoEngine.dylib -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -dynamiclib -Wl,-headerpad_max_install_names -lpthread -single_module -Xlinker -dependency_info -Xlinker /.../chrono-develop/build/src/chrono/Chrono.build/Debug/ChronoEngine.build/Objects-normal/x86_64/ChronoEngine_dependency_info.dat -o /.../chrono-develop/build/lib/Debug/libChronoEngine.dylib
Undefined symbols for architecture x86_64:
"std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::compare(char const*) const", referenced from:
chrono::ChClassRegisterABSTRACTchrono::ChAsset::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChAsset.o
chrono::ChClassRegisterABSTRACTchrono::ChAssetLevel::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChAssetLevel.o
chrono::ChClassRegisterABSTRACTchrono::ChBoxShape::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChBoxShape.o
chrono::ChClassRegisterABSTRACTchrono::ChCamera::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChCamera.o
chrono::ChClassRegisterABSTRACTchrono::ChCapsuleShape::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChCapsuleShape.o
chrono::ChClassRegisterABSTRACTchrono::ChColor::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChColor.o
chrono::ChClassRegisterABSTRACTchrono::ChColorAsset::get_conventional_name(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in ChColorAsset.o
Followed by 199 similar errors. Any ideas? Thanks
from chrono.
Would it be possible to try using makefiles directly?, We don't support using XCode on OSX currently.
from chrono.
Chrono parallel builds on macOS Sierra using the stock version of Apple clang as of commit db1ad88 (at least). GNU Make, Irrlicht, and boost are available via brew and should work "out of box". Blaze versions up to 2.6 are confirmed to work on macOS. You shouldn't require any special flags for CMake, but setting USE_PARALLEL_CUDA to OFF seems to be a good idea on Unix platforms at this time.
Proper documentation will be available at projectchrono.org in the near future.
from chrono.
Feel free to take a look at http://buildbot.projectchrono.org/#/builders/7 for example configurations on macOS. Closing stale issue.
from chrono.
Related Issues (20)
- FEA mesh and rigid body contacts, there is a difference between the theoretical solution and the results. HOT 1
- Includes don't work correctly when building my project HOT 1
- AttributeError:'ChSystemNSC' object has no attribute 'SetVisualSystem' HOT 14
- ModuleNotFoundError: No module named 'pychrono' on M1 Mac HOT 5
- ImportError: cannot import name '_core' from partially initialized module 'pychrono' (most likely due to a circular import)
- ChronoEngine Installation Issue on Ubuntu 23.10 with CMake 3.27.4: CHRONO_MPI_FOUND Variable Not Recognized in ChronoConfig.cmake HOT 6
- Chrono::Irrlicht and Chrono::Sensor sampling textures in opposite directions
- unable to use gpu HOT 1
- Certain fsi demos are not compatible with latest version of Chrono HOT 2
- PyChrono ChFunction example is out of date HOT 2
- How to use project chrono in QT? HOT 1
- How to simulate soil environment HOT 1
- How to add object after Render HOT 1
- Bug in FindThrust.cmake that breaks Chrono Multicore cmake build HOT 3
- Dockerfile for uwsbel/packages:ubuntu HOT 2
- demo_VEH_WheeledJSON.cpp visual does not render in low frequency HOT 1
- Bug? OpenGL does not work in combination with direct solvers HOT 4
- Viper
- Get listed on the FMI tools page HOT 1
- The description of GetPointAcceleration() may be wrong
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 chrono.