I finally got started with developing something for the Prizm using C. (How many years late am I? 5? ) Things went reasonably well at first, but right now I have two questions. I am using Windows 7.
1. When I was going to download PrizmSDK, the wiki was rather vague about where I could find it. The PrizmSDK Setup Guide page says it's on the Prizm Programming Portal page, but the most relevant thing I could find there was a link back to PrizmSDK Setup Guide page. What I ended up doing was finding a link to PrizmSDK 0.3 on the news post about PrizmSDK 0.3 here at Cemetech. Now, I know that PrizmSDK 0.3 is outdated, so I'd like to update it if possible. How can I do that? I saw that newer versions of libfxcg were available somewhere, but that's not the entire SDK. I'm not sure if it's possible to download that and put it in the SDK I currently have or if there's somewhere I can find a complete SDK.
2. In the project I have, there's currently several .c and .h files in the src folder, and I also have one subfolder in the src folder that contains .c and .h files. More specifically, the subfolder contains one .h file that defines a bunch of types and one .c/.h file pair that contains a function called MallocWrapper. (If you're curious, it essentially just calls malloc and checks if the result is NULL, in which case it enters a loop where the only thing the user can do is to use the MENU key to exit.) The .h file that defines types works just fine, but I haven't been able to call MallocWrapper. When I try to make the program, what I assume is the linker gives me the build error "undefined reference to '_MallocWrapper'". What's wrong, and how can I resolve it? Do I need to do something special to make it pick up on .c files in subdirectories?
1. When I was going to download PrizmSDK, the wiki was rather vague about where I could find it. The PrizmSDK Setup Guide page says it's on the Prizm Programming Portal page, but the most relevant thing I could find there was a link back to PrizmSDK Setup Guide page. What I ended up doing was finding a link to PrizmSDK 0.3 on the news post about PrizmSDK 0.3 here at Cemetech. Now, I know that PrizmSDK 0.3 is outdated, so I'd like to update it if possible. How can I do that? I saw that newer versions of libfxcg were available somewhere, but that's not the entire SDK. I'm not sure if it's possible to download that and put it in the SDK I currently have or if there's somewhere I can find a complete SDK.
2. In the project I have, there's currently several .c and .h files in the src folder, and I also have one subfolder in the src folder that contains .c and .h files. More specifically, the subfolder contains one .h file that defines a bunch of types and one .c/.h file pair that contains a function called MallocWrapper. (If you're curious, it essentially just calls malloc and checks if the result is NULL, in which case it enters a loop where the only thing the user can do is to use the MENU key to exit.) The .h file that defines types works just fine, but I haven't been able to call MallocWrapper. When I try to make the program, what I assume is the linker gives me the build error "undefined reference to '_MallocWrapper'". What's wrong, and how can I resolve it? Do I need to do something special to make it pick up on .c files in subdirectories?