Code Monkey home page Code Monkey logo

libprotobuf_ue4's People

Contributors

alexchicn avatar gitter-badger 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libprotobuf_ue4's Issues

my advice

Hi,I've read your code,I find you didn't updaload android and ios protobuffer.a ,in build.cs ,you did not processer the android and ios platform.I have done the same thing in last year, now i want to configure android and ios platform.

Adding to new UE4 project

Placing this into ThirdParty folder as instructed does not appear to allow UE4 to find it as a module. Is there some other configuration I need to make to my project for Unreal to find this module?

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: TestProject1, Configuration: Shipping_Game x64 ------
2> Creating makefile for TestProject1 (changes to module files)
2>EXEC : error : Couldn't find module rules file for module 'libprotobuf'.

Compile protobuf with Visual Studio 2017 and integrate with UE4

Hi,

I already compiled protobuf with visual studio 2017 ( static compile in 64 bits)
To validate the result I have developed a simple console application to check if I can use the *.pb.cc and *.pb.h files
Everything is ok

Next step I tried to incorporate in a unreal engine 4 project. Set up a build files

File.Build.cs

...
PublicIncludePaths.Add(ModulePath + "/Include");
PublicLibraryPaths.Add(ModulePath + "/Lib");

    PublicAdditionalLibraries.Add("libprotobuf.lib");

...

But it gave me strange compile errors

1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\INCLUDE\type_traits(565): error C4647: behavior change: __is_pod(google::protobuf::internal::AuxillaryParseTableField) has different value in previous versions

...\Include\google/protobuf/generated_message_table_driven.h(159): note: see reference to class template instantiation 'std::is_podgoogle::protobuf::internal::AuxillaryParseTableField' being compiled

...\Messages.pb.h(992): warning C4668: 'PROTOBUF_INLINE_NOT_IN_HEADERS' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
...\Include\google/protobuf/descriptor.pb.h(4113): warning C4668: 'PROTOBUF_INLINE_NOT_IN_HEADERS' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
...\Messages.pb.cc(258): error C4125: decimal digit terminates octal escape sequence
...\Messages.pb.cc(259): error C4125: decimal digit terminates octal escape sequence

Search on web but I haven't mutch success: Example this error is real strange !!!!

"...\MSVC\14.11.25503\INCLUDE\type_traits(565): error C4647: behavior change: __is_pod(google::protobuf::internal::AuxillaryParseTableField) has different value in previous versions .."

Have you tried to compile this source code with recent versions of Protobuf and Visual Studio ?

Protocol Buffer 3.3.0
Visual Studio 2017
Release 64 bits

Regards
Nelson Bilber

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.