Coder Social home page Coder Social logo

Comments (5)

hmazhar avatar hmazhar commented on September 23, 2024

Hi Mark,
Can you provide the following?
Full error message
Version of GCC
Version of OSX

from chrono.

markrans avatar markrans commented on September 23, 2024

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.

hmazhar avatar hmazhar commented on September 23, 2024

Would it be possible to try using makefiles directly?, We don't support using XCode on OSX currently.

from chrono.

thepianoboy avatar thepianoboy commented on September 23, 2024

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.

thepianoboy avatar thepianoboy commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.