OpenIntelWireless / itlwm

Intel Wi-Fi Drivers for macOS
https://OpenIntelWireless.github.io/itlwm/
GNU General Public License v2.0
6.82k stars 655 forks source link

Compiling error on Xcode Catalina with itlwm #156

Closed Vitoli-o closed 4 years ago

Vitoli-o commented 4 years ago

I am trying to compile the latest version of itlwm with Xcode 11.5 on Catalina 10.5.5.

All I do is change the config.plist and compile but I get a semantic error, which fails to compile the itlwm.kext.

"Assigning to 'bus_addr_t' (aka 'unsigned long long') from incompatible type 'nullptr_t')" File in question is io.cpp > itlwm:: iwm_dma_config_free(dma).

Thanks for your help!

Schermata 2020-06-30 alle 23 34 09

ErrorErrorError commented 4 years ago

Make sure you're using the latest SDK when building.

Vitoli-o commented 4 years ago

Make sure you're using the latest SDK when building.

Thanks for your reply! I am using macOS 10.15 when building, so latest non-beta SDK. Problem persists...

ailuoku6 commented 4 years ago

截屏2020-07-01 上午8 13 41

Longcoming commented 4 years ago

I am getting four errors when compiling: // itlwm

// Copyright © 2020 钟先耀. All rights reserved.

include "FwData.h"

const unsigned char itlwm_master[] = { };

const long int itlwm_master_size = sizeof(itlwm_master);

const unsigned char *[] = { };

const long int _size = sizeof();

const struct FwDesc fwList[] = { {IWL_FW("itlwm-master", itlwm_master, itlwm_master_size)}, {IWL_FW("", , *_size)}, }; const int fwNumber = 2;

Vitoli-o commented 4 years ago

I am getting four errors when compiling: // itlwm

// Copyright © 2020 钟先耀. All rights reserved.

include "FwData.h"

const unsigned char itlwm_master[] = { };

const long int itlwm_master_size = sizeof(itlwm_master);

const unsigned char *[] = { };

const long int _size = sizeof();

const struct FwDesc fwList[] = { {IWL_FW("itlwm-master", itlwm_master, itlwm_master_size)}, {IWL_FW("", , *_size)}, }; const int fwNumber = 2;

I can also confirm I have now 4 errors as well. Thanks!

@zxystd: What SDK are you using? macOS 10.12 to compile? It always brings this as default when I open the project.

Schermata 2020-07-01 alle 11 30 14

Longcoming commented 4 years ago

ı solved my compiling problem by doing this. 1.open terminal 2.git clone https://github.com/zxystd/itlwm.git 3.locate the itlwm folder(users/your user name) 4.open itlwm 5.first run fwgen then target itlwm

ı hope it helps

mehmetyukcell commented 4 years ago

ı solved my compiling problem by doing this.

1.open terminal

2.git clone https://github.com/zxystd/itlwm.git

3.locate the itlwm folder(users/your user name)

4.open itlwm

5.first run fwgen then target itlwm

ı hope it helps

Thanks but How do you compiled Heliport?

Longcoming commented 4 years ago

ı only compiled itlwm.kext which is now not connecting. I don't know Heliport,ıf you could enlighten me ı would be pleased.

Vitoli-o commented 4 years ago

ı solved my compiling problem by doing this. 1.open terminal 2.git clone https://github.com/zxystd/itlwm.git 3.locate the itlwm folder(users/your user name) 4.open itlwm 5.first run fwgen then target itlwm

ı hope it helps

Thanks, this worked. No errors left now.

Although, when I changed the variable to 0 (https://github.com/zxystd/itlwm/issues/156#issuecomment-652113894), cleaned build folder, ran fwgen then itlwm target, it would not compile successfully.

Longcoming commented 4 years ago

NULL means empty,0 is not empty

Longcoming commented 4 years ago

can you connect now,because ı can't

potato965 commented 4 years ago

ı solved my compiling problem by doing this. 1.open terminal 2.git clone https://github.com/zxystd/itlwm.git 3.locate the itlwm folder(users/your user name) 4.open itlwm 5.first run fwgen then target itlwm ı hope it helps

Thanks but How do you compiled Heliport?

I complied HeliPort by doing this. I don't know whether it is the right way. 1.git clone https://github.com/zxystd/HeliPort.git

  1. cd HeliPort
  2. pod install
  3. open the HeliPort.xcworkspace
Longcoming commented 4 years ago

how did you install podfile?can you specify?

potato965 commented 4 years ago

how did you install podfile?can you specify?

open the terminal, locate the HeliPort folder , enter the command "pod install"

Longcoming commented 4 years ago

command not found:pod

Longcoming commented 4 years ago

after installing cocoapods,ıt worked.thanks. By the way,heliport works