Giter Club home page Giter Club logo

osg-3rdparty-cmake's People

Contributors

bjornblissing avatar nathanstrong-tripwire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osg-3rdparty-cmake's Issues

LIBJPEG linker errors

Get linker errors when compiling against OpenSceneGraph:

jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order
jpegd.lib(jcapimin.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order
jpegd.lib(jdhuff.obj) : error LNK2019: unresolved external symbol _jpeg_natural_order referenced in function _decode_mcu_sub
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order7
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order7
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order7
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order6
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order6
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order6
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order5
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order5
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order5
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order4
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order4
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order4
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order3
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order3
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order3
jpegd.lib(jdmarker.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order2
jpegd.lib(jdinput.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order2
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jpeg_natural_order2
jpegd.lib(jdinput.obj) : error LNK2019: unresolved external symbol _jdiv_round_up referenced in function _jpeg_core_output_dimensions
jpegd.lib(jdmaster.obj) : error LNK2001: unresolved external symbol _jdiv_round_up
jpegd.lib(jcmaster.obj) : error LNK2001: unresolved external symbol _jdiv_round_up
jpegd.lib(jdcoefct.obj) : error LNK2019: unresolved external symbol _jround_up referenced in function _jinit_d_coef_controller
jpegd.lib(jdpostct.obj) : error LNK2001: unresolved external symbol _jround_up
jpegd.lib(jdsample.obj) : error LNK2001: unresolved external symbol _jround_up
jpegd.lib(jccoefct.obj) : error LNK2001: unresolved external symbol _jround_up
jpegd.lib(jdcoefct.obj) : error LNK2019: unresolved external symbol _jcopy_block_row referenced in function _decompress_smooth_data
jpegd.lib(jcsample.obj) : error LNK2001: unresolved external symbol _jcopy_sample_rows
jpegd.lib(jdsample.obj) : error LNK2019: unresolved external symbol _jcopy_sample_rows referenced in function _int_upsample
jpegd.lib(jdcolor.obj) : error LNK2001: unresolved external symbol _jcopy_sample_rows
jpegd.lib(jdmerge.obj) : error LNK2001: unresolved external symbol _jcopy_sample_rows
jpegd.lib(jcprepct.obj) : error LNK2001: unresolved external symbol _jcopy_sample_rows
D:\build_osgtemp\bin\osgPlugins-3.0.1\osgdb_jpegd.dll : fatal error LNK1120: 11 unresolved externals

Where to extract the sources?

Right, so umh.. there's absolutely no documentation. Where am I supposed to extract the sources for example libjpeg? I've tried extracting into osg-3rdparty-cmake/libjeg and various other locations and it just doesn't generate anything useful but just "empty" solution. Seems that LIBJPEG_SOURCE_DIR is never set in the top level CMakelist file. Where is that supposed to come from? If i comment out the check for that variable being set then it borks about not being able to find /jconfig.vc.

What a pain.

Thanks.

giflib library name should be giflib not libgif

giflib library name should be giflib not libgif.

OpenScenGraph 3.4.0's CMakeModule will not search for libgif.
" FIND_DEPENDENCY(GIFLIB gif_lib.h "ungif;libungif;giflib" ${OSG_3RDPARTY_BIN} "D" "")"
It only searches 'ungif;libungif;giflib'.
Project name is correct but target lib is not right.
It should be
"""
PROJECT(giflib C)

SET(TARGET_LIB giflib)

Unescaped backslash in freetype

There is an unescaped backslash in the regexp for the freetype cmake script which causes problems in some versions of CMake.

Missing some .c files in giflib CMake

Missing some .c files in giflib CMake.
When compiling and linking Plugin gif. It will report some unresolved symbols.

I think the CMakeFiles should be
......................................................
......................................................
......................................................
......................................................
FILE(GLOB GIFLIB_SRCS
${GIFLIB_SOURCE_DIR}/lib/*.c
)
......................................................
......................................................
......................................................
......................................................

Having a weird issue

I am trying to build for VS 2015. I followed the readme , but when I hit configure I get all sorts of errors.

CMake Warning (dev) at freetype/CMakeLists.txt:200 (ADD_LIBRARY):
Syntax error in cmake code when parsing string

D:\VAOne2017\OSG\freetype-2.3.9/include/ft2build.h

Invalid escape sequence \V

Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

Need for new way to store AppVeyor builds

AppVeyors new retention policy will start on June 7, 2018. This means that built artifacts will be removed from their repository after 6 months.

This will either force us to rebuild at least every 6 months to keep the pre-built download links valid.
The alternative is to find some other storing solution for the built artifacts.

Undefined label names in ZLIB when built with ZLIB_USE_AMD64

When building ZLIB with ZLIB_USE_AMD64 being enabled, ZLIB build is unsuccessful due to undefined label names.

I have temporarily solved the issue by doing the following:

ELSEIF(ZLIB_USE_AMD64)
    ... // same as existing
    // adds the following lines
    LIST(APPEND ZLIB_SRCS
        ${ZLIB_SOURCE_DIR}/contrib/masmx64/inffas8664.c)
ENDIF()

Many thanks for your effort in this repository.

Download sources automatically?

This is a question, not an issue really - why not use ExternalProjectAdd to download the sources automatically? (Don't have to use the build / install feature, it can be download only). Either from a zip or from source control with a stable branch name.

zlib cmake error

(1)
CMake Warning (dev) at CMakeLists.txt:44 (set):
implicitly converting 'Force change of path' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
(2)

……
Looking for unistd.h - not found
CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/adler32.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/compress.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/crc32.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/deflate.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/gzclose.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/gzlib.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/gzread.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/gzwrite.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inflate.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/infback.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inftrees.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inffast.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/trees.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/uncompr.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/zutil.c

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/win32/zlib1.rc

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/crc32.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/deflate.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/gzguts.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inffast.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inffixed.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inflate.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/inftrees.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/trees.h

Invalid character escape '\3'.

CMake Error at zlib/CMakeLists.txt:169 (add_library):
Syntax error in cmake code when parsing string

C:\3rdparty\zlib/zutil.h

Invalid character escape '\3'.

Configuring incomplete, errors occurred!
See also "D:/OSG/osg-3rdparty-cmake/build/CMakeFiles/CMakeOutput.log".
See also "D:/OSG/osg-3rdparty-cmake/build/CMakeFiles/CMakeError.log".

Add support for Visual Studio 2017 Toolset

Visual Studio 2017 comes with a new compiler version as well as a new toolset version. This toolset version should be reflected in the generated directory name:

Visual Studio Product Name Product Version Compiler Version Toolset Version
Visual Studio 2017 15.0 1910 V141

libCurl support

Hoping to use this code for FlightGear, where we need libCurl (not for OSG actually, but OSg can use it, so I figured I would mention it). I note there is a pending ticket for OpenSSL support, which presumably would be complement Curl support nicely.

Happy to look at this myself of course.

Freetype include errors

Include errors when compiling against OpenSceneGraph. Check ft2build.h and config/ftheader.h. These should be a bit dirferent since their path to include libraries are wrong in our case.

How to open project in VS2015

Sorry for my dump question, where is the .sln file after i build project with CMake. I just saw some files as following photo. And how to open it in VS2015?
image

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.