Jump to content

[REACTIE] GTA V C++ Coding Guide


Recommended Posts

Ziet er erg overzichtelijk en handig uit! De tutorial over hoe een nieuw project aan te maken is ook zeker voor mij nog handig, aangezien ik altijd redelijk veel moest copy pasten van het Native Trainer-project en er dan wel wat mis kan gaan. :puh:

Link to comment
Share on other sites

  • 3 weeks later...

I followed what you said in the private message now I am getting this build error.

1>------ Rebuild All started: Project: Hello_WorldV1, Configuration: Release x64 ------

1> main.cpp

1>main.cpp(1): fatal error C1083: Cannot open include file: '.. \ .. \ inc \ main.h': No such file or directory

1> script.cpp

1>script.cpp(9): error C2146: syntax error : missing ';' before identifier 'Main'

1>script.cpp(9): error C2182: 'Script' : illegal use of type 'void'

1>script.cpp(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>script.cpp(12): warning C4508: 'Main' : function should return a value; 'void' return type assumed

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

As for the code you showed in the tutorial, I have typed it out manually & tried pasting it. Get the same result.

I am using C++ Development Settings in Microsoft Visual Studio Professional 2013. I've looked on google and it appears Visual Basic might have problems installing the compilers correctly. But I wanna be sure I am not making mistakes.

My path to main.cpp is as followed


My path to the inc & lib folders are as followed


I've even added the folders as Additional Directories so I am at a loss.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...