Results 1 to 3 of 3

Thread: memcpy build error

  1. #1

    Default memcpy build error

    This is ClanLib 3.0 SVN rev 9607. Affects several files, typical error:
    Code:
    In file included from ../../Sources/API/Core/Math/mat3.h:38:0,
                     from ../../Sources/API/Core/Math/mat2.h:38,
                     from ../../Sources/API/core.h:180,
                     from ../../Sources/Scene3D/precomp.h:39,
                     from Passes/Skybox/skybox_pass.cpp:29:
    ../../Sources/API/Core/Math/mat4.h: In instantiation of 'clan::Mat4<Type>& clan::Mat4<Type>::operator=(const clan::Mat4<Type>&) [with Type = float]':
    Passes/Skybox/skybox_pass.cpp:60:35:   required from here
    ../../Sources/API/Core/Math/mat4.h:436:50: error: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    In file included from /usr/include/string.h:642:0,
                     from /usr/include/c++/4.7/cstring:44,
                     from ../../Sources/Scene3D/precomp.h:51,
                     from Passes/Skybox/skybox_pass.cpp:29:
    /usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: 'void* memcpy(void*, const void*, size_t)' declared here, later in the translation unit
    make[2]: *** [Passes/Skybox/libclan30Scene3D_la-skybox_pass.lo] Error 1

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Hopefully fixed now in svn

  3. #3

    Default

    Builds cleanly!

Similar Threads

  1. opengl.cpp build error
    By bvanevery in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 03-28-2013, 05:26 PM
  2. Android build error
    By Le Viet Bach in forum Proton SDK
    Replies: 1
    Last Post: 01-10-2011, 06:49 PM
  3. Replies: 5
    Last Post: 07-06-2009, 01:35 PM
  4. build clanLib on vc6.0 error
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-11-2007, 05:18 AM
  5. build clanLib on vc6.0 error
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-11-2007, 05:16 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •