x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

StaticLibrary fail build

Hello,

I'm encounting a very strange error,

I'm trying to add the RakNet lib to the Engine, but i got this errors.

alt text

I turn the .lib file to /md - dll on the RakNet LibStatic solution, I added the build.cs here:

 Engine\Source\ThirdParty\RakNet\RakNet.Build.cs

this is the RakNet.cs :

 using UnrealBuildTool;
 
 public class RakNet : ModuleRules
 {
 public RakNet(TargetInfo Target)
 {
          Type = ModuleType.External;
 
              if (Target.Platform == UnrealTargetPlatform.Win64)
              {
                 PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "RakNet/RakNet-master/Source/");
                 PublicLibraryPaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "RakNet/RakNet-master/Lib/");
                 PublicAdditionalLibraries.Add("RakNet_vs2008_libstatic_release_x64.lib");
              }
       }
 }


Here is the StaticLib solution config:

alt text alt text

i change the Runtime lib to /MD /MT /MDD but i always got the same erro, as if the library didn't change... i also try without the lib file which i'm creating, i got error because it is not found, so it confirm that the generation work.

I'm really out of idea, if anyone have a solution for this problem.

Thanks.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 13 '15 at 12:37 AM in C++ Programming

avatar image

Atidote
11 2 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

ok i fixed it... i'm stupid sometimes, i'm compiling in release but editing settings for Debug... viva visual -__-

more ▼

answered Aug 13 '15 at 11:02 AM

avatar image

Atidote
11 2 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question