Jason
Jason

Reputation: 367

Running objective c in windows

I installed GNUstep and minGW. My code seems to compile without errors, when I try to run it I get:

gnustep-base-1_24.dll is missing

I'm using Windows GNUStep.

Note: I added the GNUstep/system/Tools directory to my PATH

Upvotes: 0

Views: 1256

Answers (2)

yanfei pei
yanfei pei

Reputation: 11

For this problem , you may solve it follow the advice below:

  1. open Settings >> Compiler.. >> Global compiler settings >> Toolchain executables >> Additional Paths

  2. add Path “X:\GNUstep\GNUstep\System\Tools” where gnustep-base-1_24.dll located

Good Luck!

base on Code::Block 12.11

Upvotes: 1

36Kr
36Kr

Reputation: 121

this link is very helpful for set up GUNstep: objective-c-for-windows

But if there's something wrong when you compile, try this command: gcc -o hello hello.m -I/c/GNUstep/GNUstep/System/Library/Headers \ -L /c/GNUstep/GNUstep/System/Library/Libraries -lobjc -lgnustep-base \ -fconstant-string-class=NSConstantString

Upvotes: 1

Related Questions