xboxscene.org forums

Author Topic: Compiling Oxdk With Visual C++  (Read 90 times)

Smoko

  • Archived User
  • Jr. Member
  • *
  • Posts: 73
Compiling Oxdk With Visual C++
« on: May 19, 2005, 09:17:00 PM »

I have the openxdk and have been trying to compile some of the sample code with Visual C++.

It isnt working, how can I do it. And please dont tell me to read the tutorial thats pinned, I have done what it says, and I still get an error.
Logged

Smoko

  • Archived User
  • Jr. Member
  • *
  • Posts: 73
Compiling Oxdk With Visual C++
« Reply #1 on: May 20, 2005, 03:41:00 PM »

Ok, here is my compiling log screen thing:
CODE

--------------------Configuration: reboot - Win32 Debug--------------------
Compiling...
reboot.c
c:\openxdk\include\xboxkrnl\kernel.h(42) : error C2165: 'left-side modifier' : cannot modify pointers to data
Error executing cl.exe.

reboot.obj - 1 error(s), 0 warning(s)
Logged

Digital Marine

  • Archived User
  • Full Member
  • *
  • Posts: 148
Compiling Oxdk With Visual C++
« Reply #2 on: May 21, 2005, 01:05:00 PM »

I usually get the same error in everything I try building in C++  sad.gif Thats why I dont like it...
Logged

edwardaux

  • Archived User
  • Newbie
  • *
  • Posts: 15
Compiling Oxdk With Visual C++
« Reply #3 on: May 22, 2005, 04:22:00 PM »

My best guess (and it is a guess) is that VC++ is still trying to compile pointing to the standard Windows header files.  Kennelbound uploaded a detailed post on how to get C++ working with Bloodshed C++... it might be worth having a read of that to see if you have done the same activities for VC++.  Sorry I can't help more, but as I said, I don't have VC++, so its a bit hard for me to test.

--
Edwardaux
Logged