Hirdetés
-
PROHARDVER!
Új hozzászólás Aktív témák
-
repvez
addikt
hát a moricka modszer nem jött be, mert hiába commenteltem át az egészet akkor meg azt irja, ki, hogy nincs rendesen lezárva a kod attol a sortol kezdve az utolsoig ahova a comment jelet tettem.
Az alábbi dolgokat megprobáltam megcsinálni, de nem találtam meg, hogy mit hova kéne másolni .
the "undefined reference" errors you are seeing are linker errors, which occur when the linker is unable to find a definition for a symbol that is used in the code. In this case, it means that you are missing some libraries that are needed to link your program.
To resolve these errors, you need to make sure that you are linking against the appropriate libraries. Here are some steps you can take to fix the issue:
Make sure that you have included the correct header files in your code. The header files are used by the compiler to resolve function signatures and other symbols.
Make sure that you have added the required libraries to your linker settings. The libraries are used by the linker to resolve the definitions of the functions and symbols used in your code.
In this case, since you are using DirectX, you need to link against the DirectX libraries. To do this, you can add the following linker directives to your project:
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "d3d11.lib")
#pragma comment(lib, "d3dcompiler.lib")these directives tell the linker to include the
dxgi.lib
,d3d11.lib
, andd3dcompiler.lib
libraries in the build process.
Alternatively, you can add the libraries to your linker settings in your project properties. To do this:
Right-click on your project in the Solution Explorer and select "Properties".In the "Configuration Properties" section, select "Linker" -> "Input".Add the required libraries to the "Additional Dependencies" field.
Make sure to separate the library names with a semicolon (;).
After making these changes, try rebuilding your project and see if the linker errors are resolved.
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- TCL LCD és LED TV-k
- Luck Dragon: Asszociációs játék. :)
- Pendrive irás-olvasás sebesség
- sziku69: Fűzzük össze a szavakat :)
- Kerékpársportok
- Motorolaj, hajtóműolaj, hűtőfolyadék, adalékok és szűrők topikja
- Samsung Galaxy S24 FE - később
- Formula-1 humoros
- Path of Exile 2
- Gitáros topic
- További aktív témák...
- ASUS Vivobook 15 X1504 - 15.6"FHD IPS - i5-1335U - 8GB - 512GB SSD - Win11 - 2 év gari - MAGYAR
- Hifiman Deva Pro (Stealth)
- Apple Watch Series 6 44mm Cellular Space Gray színben, szép állapotban, sok szíjjal, kiegészítővel.
- BONTATLAN ÚJ Gamiac HS-71 7.1 csatornás gamer fejhallgató (fekete)
- Latitude 5440 14" FHD IPS érintő i5-1245U 16GB 512GB NVMe IR kam gar
- Apple iPhone 13 Mini / 128GB / Gyárifüggetlen / 12Hó Garancia / 84% akku
- Gamer PC-Számítógép! Csere-Beszámítás! I7 6700 / Rog RX580 8GB / 32GB DDR4 / 500GB SSD
- ÁRGARANCIA!Épített KomPhone Ryzen 7 7700X 32/64GB RAM RX 9070 16GB GAMER PC termékbeszámítással
- Lenovo IdeaPad 3 17ITL6 - 17.3" HD+ Intel 6305 - 8GB - 256GB SSD - Win11 - MAGYAR
- ÁRGARANCIA!Épített KomPhone i9 14900KF 32/64GB DDR5 RAM RX 9070 XT 16GB GAMER PC termékbeszámítással
Állásajánlatok
Cég: CAMERA-PRO Hungary Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest