{"action":"created","issue":{"url":"https://api.github.com/repos/fbergmann/libSEDML/issues/37","repository_url":"https://api.github.com/repos/fbergmann/libSEDML","labels_url":"https://api.github.com/repos/fbergmann/libSEDML/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/fbergmann/libSEDML/issues/37/comments","events_url":"https://api.github.com/repos/fbergmann/libSEDML/issues/37/events","html_url":"https://github.com/fbergmann/libSEDML/issues/37","id":199985598,"number":37,"title":"VERSION.txt is 0.4.2 but getLibSEDMLDottedVersion returns \"1.0.1\"","user":{"login":"0u812","id":7402146,"avatar_url":"https://avatars.githubusercontent.com/u/7402146?v=3","gravatar_id":"","url":"https://api.github.com/users/0u812","html_url":"https://github.com/0u812","followers_url":"https://api.github.com/users/0u812/followers","following_url":"https://api.github.com/users/0u812/following{/other_user}","gists_url":"https://api.github.com/users/0u812/gists{/gist_id}","starred_url":"https://api.github.com/users/0u812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0u812/subscriptions","organizations_url":"https://api.github.com/users/0u812/orgs","repos_url":"https://api.github.com/users/0u812/repos","events_url":"https://api.github.com/users/0u812/events{/privacy}","received_events_url":"https://api.github.com/users/0u812/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T02:08:14Z","updated_at":"2017-01-11T07:46:47Z","closed_at":null,"body":"I'm getting \"1.0.1\" from getLibSEDMLDottedVersion, which is different than what I expected. I don't know why. Any help would be appreciated. The VERSION.txt file in the the source dir says 0.4.2 (which matches the GitHub repo). Here is my generated common/libsedml-version.h file. I am on CentOS 5 w/ gcc 4.8.\r\n\r\n```\r\n/**\r\n * @file    libsedml-version.h\r\n * @brief   Define libSEDML version numbers for access from client software.\r\n *\r\n * <!--------------------------------------------------------------------------\r\n *\r\n * This file is part of libSEDML.  Please visit http://sed-ml.org for more\r\n * information about SED-ML. The latest version of libSEDML can be found on \r\n * github: https://github.com/fbergmann/libSEDML/\r\n * \r\n * \r\n * Copyright (c) 2013-2014, Frank T. Bergmann  \r\n * All rights reserved.\r\n * \r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions are met: \r\n * \r\n * 1. Redistributions of source code must retain the above copyright notice, this\r\n *    list of conditions and the following disclaimer. \r\n * 2. Redistributions in binary form must reproduce the above copyright notice,\r\n *    this list of conditions and the following disclaimer in the documentation\r\n *    and/or other materials provided with the distribution. \r\n * \r\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\r\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\r\n * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n * \r\n * ---------------------------------------------------------------------- -->\r\n */\r\n\r\n#ifndef LIBSEDML_VERSION_H\r\n#define LIBSEDML_VERSION_H \r\n\r\n#include <sedml/common/extern.h>\r\n\r\n\r\n/**\r\n * LIBSEDML_DOTTED_VERSION:\r\n *\r\n * A version string of the form \"1.2.3\".\r\n */\r\n#define LIBSEDML_DOTTED_VERSION\t\"1.0.1\"\r\n\r\n\r\n/**\r\n * LIBSEDML_VERSION:\r\n *\r\n * The version as an integer: version 1.2.3 becomes 10203.  Since the major\r\n * number comes first, the overall number will always increase when a new\r\n * libSEDML is released, making it easy to use less-than and greater-than\r\n * comparisons when testing versions numbers.\r\n */\r\n#define LIBSEDML_VERSION\t\t402\r\n\r\n\r\n/**\r\n * LIBSEDML_VERSION_STRING:\r\n *\r\n * The numeric version as a string: version 1.2.3 becomes \"10203\".\r\n */\r\n#define LIBSEDML_VERSION_STRING\t\"402\"\r\n\r\n\r\nLIBSEDML_CPP_NAMESPACE_BEGIN\r\nBEGIN_C_DECLS\r\n\r\n/**\r\n * Returns the version number of this copy of libSEDML as an integer.\r\n *\r\n * @return the libSEDML version as an integer; version 1.2.3 becomes 10203.\r\n */\r\nLIBSEDML_EXTERN\r\nint \r\ngetLibSEDMLVersion ();\r\n\r\n\r\n/**\r\n * Returns the version number of this copy of libSEDML as a string.\r\n *\r\n * @return the libSEDML version as a string; version 1.2.3 becomes\r\n * \"1.2.3\".\r\n *\r\n * @see getLibSEDMLVersionString()\r\n */\r\nLIBSEDML_EXTERN\r\nconst char* \r\ngetLibSEDMLDottedVersion ();\r\n\r\n\r\n/**\r\n * Returns the version number of this copy of libSEDML as a string without\r\n * periods.\r\n *\r\n * @return the libSEDML version as a string: version 1.2.3 becomes \"10203\".\r\n *\r\n * @see getLibSEDMLDottedVersion()\r\n */\r\nLIBSEDML_EXTERN\r\nconst char* \r\ngetLibSEDMLVersionString ();\r\n\r\n\r\nEND_C_DECLS\r\nLIBSEDML_CPP_NAMESPACE_END\r\n\r\n#endif  /* LIBSEDML_VERSION_H */\r\n```"},"comment":{"url":"https://api.github.com/repos/fbergmann/libSEDML/issues/comments/271800481","html_url":"https://github.com/fbergmann/libSEDML/issues/37#issuecomment-271800481","issue_url":"https://api.github.com/repos/fbergmann/libSEDML/issues/37","id":271800481,"user":{"login":"fbergmann","id":949059,"avatar_url":"https://avatars.githubusercontent.com/u/949059?v=3","gravatar_id":"","url":"https://api.github.com/users/fbergmann","html_url":"https://github.com/fbergmann","followers_url":"https://api.github.com/users/fbergmann/followers","following_url":"https://api.github.com/users/fbergmann/following{/other_user}","gists_url":"https://api.github.com/users/fbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/fbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbergmann/subscriptions","organizations_url":"https://api.github.com/users/fbergmann/orgs","repos_url":"https://api.github.com/users/fbergmann/repos","events_url":"https://api.github.com/users/fbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/fbergmann/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T07:46:47Z","updated_at":"2017-01-11T07:46:47Z","body":"could you please attach your cmakecache.txt file ... i'd like to figure out where the odd version number is coming from ... are you compiling other projects as well?\r\n\r\nthanks\r\nFrank"}}
{"actor":{"display_login":"fbergmann"}}