#hey, who can help me? type in DM.

163 messages · Page 1 of 1 (latest)

river oak
#

why dm?

rapid hatch
#

you can repeat here

#

good

river oak
#

what extensions do you use?

#

you have a issue with your intellisense

rapid hatch
stone otterBOT
#

@rapid hatch has reached level 1. GG!

river oak
#

do you have a compiler installed?

#

use mingw

rapid hatch
#

I can't test the app yet because it's a virus. but i can't understand why it shows error with include. maybe need to install libraries?

river oak
#

thats why it shows you a error

rapid hatch
#

maybe need to install libraries?

river oak
#

no, need to install compiler

#

iostream is a standard library

#

you dont need to install that, tho its shown as a error

rapid hatch
#

ah

river oak
#

install mingw

rapid hatch
#

i can install it from vs code extensions?

river oak
#

no

rapid hatch
#

k

river oak
rapid hatch
#

installed

river oak
#

open cmd and type gcc -v (just to test)

rapid hatch
stone otterBOT
#

@rapid hatch has reached level 2. GG!

rapid hatch
#

lol

river oak
#

probably not in your path

#

search for the mingw bin folder

#

and add it to the PATH environment @rapid hatch

rapid hatch
#

idk

#

i dont have

#

bin

#

in mingw folder

river oak
#

in mingw64

rapid hatch
#

alr

river oak
rapid hatch
#

i found

#

bin

river oak
#

👍

#

add it to the PATH

rapid hatch
#

which path?

river oak
#

windows searchbar -> "Edit environment variables for your account"

#

select Path in user variables

#

click edit

#

click new

#

add the bin folder you found

#

the path to it

#

then save

#

restart cmd

#

try again

#

gcc -v

rapid hatch
#

what name

#

i should type

river oak
rapid hatch
#

fuck

river oak
river oak
rapid hatch
#

that?

#

i replaced already

river oak
#

yes

rapid hatch
#

by the way, the question is, do I need to install libraries if I will not run this file on my PC? but I will simply convert it into a file so that it can be launched and used

river oak
rapid hatch
#

yep

river oak
#

do you have a gcc.exe inside your bin folder or nah?

rapid hatch
#

nah

river oak
#

show your file structure

rapid hatch
#

empty folder

river oak
#

only this one file?

rapid hatch
rapid hatch
river oak
rapid hatch
#

how does it work? Can I convert this file into a program?

river oak
#

use vcpkg

#

vcpkg install cpprestsdk cpprestsdk:x64-windows

rapid hatch
stone otterBOT
#

@rapid hatch has reached level 3. GG!

river oak
river oak
rapid hatch
#

oh

#

haha

#

alr

rapid hatch
river oak
#

its a dependency manager

rapid hatch
river oak
rapid hatch
#

where i can install vcpkg?

#

sorry man for my stupid questions

river oak
#

honestly, it might make sense to switch to visual studio at that point instad of visual studio code

#

it will be easier for you

river oak
#

and only execute .\vcpkg\bootstrap-vcpkg.bat in the folder

rapid hatch
river oak
#

did you install vcpkg?

river oak
#

also cpprestsdk ?

rapid hatch
river oak
#

y

rapid hatch
river oak
#

add to Path

rapid hatch
#

which path?

river oak
#

windows path

#

you did it with mingw a few minutes ago

rapid hatch
#

alr

#

but which path?

#

C:\Users\myName\Desktop\vcpkg-master

#

this?

river oak
#

the folder where vcpkg.exe is in

rapid hatch
#

i need to make new path?

river oak
rapid hatch
#

done?

river oak
#

c:\vcpkg

#

thats what you normally want

#

not desktop

#

then restart cmd

rapid hatch
#

im tryed to launch program

#

and got an error

rapid hatch
stone otterBOT
#

@rapid hatch has reached level 4. GG!

river oak
rapid hatch
#

i found problems

#

this

river oak
#

yea makes sense

#

ping me tomorrow again im going to sleep

rapid hatch
#

alr

#

good night

rapid hatch
#

@river oak

#

yo bro

river oak
#

you should use cmake

rapid hatch
#

yo

#

when i start program

#

im getting error

sacred grail
#

Which cmnd did you used to create exe file

#

If you are using vscode

#

Use extension code runner

#

Then click run it will automatically do all the work for you

#

If you need help with creating a program hit me up with a dm, I did be happy to help

river oak
#

you messed something up

rapid hatch
#

okay

#

i will try it

#

but now im going sleep

#

thanks for helping me guys