Jump to content

I wanna use bits4_0.h but it gives the following error:

||=== Build file: "no target" in "no project" (compiler: unknown) ===|
C:\Users\YZ1\Desktop\exploit.cpp|33|fatal error: bits4_0.h: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 3 second(s)) ===|

I am using CodeBLock and I haven't installed anything including bits4_0.h which I presume is built-in.

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/
Share on other sites

Link to post
Share on other sites

You need to modify the project/build files to include the windows SDK headers and link the libs. You may also have to download and install the windows SDK since you're not using visual studio.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/#findComment-15309556
Share on other sites

Link to post
Share on other sites

3 hours ago, Sauron said:

are you following some sort of guide? anything that would indicate what this bits4_0 header is or where it's supposed to be?

No but I have not written this code and pretty sure there is not someting wrong with it.

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/#findComment-15310350
Share on other sites

Link to post
Share on other sites

15 hours ago, trag1c said:

You need to modify the project/build files to include the windows SDK headers and link the libs. You may also have to download and install the windows SDK since you're not using visual studio.

Is there no way of doing it without installing the sdk?

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/#findComment-15310390
Share on other sites

Link to post
Share on other sites

1 hour ago, Wictorian said:

Is there no way of doing it without installing the sdk?

If it is from the windows sdk (I am assuming since I have no idea what that library is and the only hits I could find were on msdn) then yes you need to install the sdk.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/#findComment-15310539
Share on other sites

Link to post
Share on other sites

8 hours ago, Sauron said:

link?

If "exploit.cpp" is the original filename then it's gonna be one of these

https://github.com/search?l=&p=1&q=bits4_0.h+extension%3A.cpp+filename%3Aexploit.cpp&ref=advsearch&type=Code

 

Presumably this one.

 

 

ಠ_ಠ

Link to comment
https://linustechtips.com/topic/1418819-c-module-error/#findComment-15311128
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×