Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help with NVU 0.3

Help with NVU 0.3
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 20, 2004, 12:08 PM
 
Been trying to build NVU for Mac OS X for the last couple of days... So far I have not had any luck. Unfortunately, I have limited experience with this.

Anyone else here tried it yet? Hints? Suggestions?

Here is error:

nsNvuApp.cpp
c++ -o nsNvuApp.o -c -DOSTYPE=\"Darwin7.4.0\" -DOSARCH=\"Darwin\" -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include/xulapp -I../../dist/include/xpinstall -I../../dist/include/appshell -I../../dist/include -I../../dist/include -I/Users/claudio/mozilla/dist/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsNvuApp.pp nsNvuApp.cpp
nsNvuApp.cpp: In function `int main(int, char**)':
nsNvuApp.cpp:49: error: `SetSplashEnabled' undeclared (first use this function)
nsNvuApp.cpp:49: error: (Each undeclared identifier is reported only once for
each function it appears in.)
nsNvuApp.cpp:50: error: `SetProductName' undeclared (first use this function)
nsNvuApp.cpp:51: error: `SetUseStartupPrefs' undeclared (first use this
function)
nsNvuApp.cpp:52: error: cannot convert `nsXREAppData' to `const nsXREAppData*'
for argument `3' to `int xre_main(int, char**, const nsXREAppData*)'
make[4]: *** [nsNvuApp.o] Error 1
make[4]: Target `libs' not remade because of errors.
/Users/claudio/mozilla/config/nsinstall -L /Users/claudio/mozilla/composer/app editorWindow.xpm editorWindow16.xpm ../../dist/bin/chrome/icons/default
make[4]: Target `libs' not remade because of errors.
make[3]: *** [libs] Error 2
make[2]: *** [tier_99] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2

On Editing nsNvuApp.cpp with Xcode:


int main(int argc, char* argv[])
{
nsXREAppData appData;
appData.SetSplashEnabled(PR_FALSE);
appData.SetProductName(NS_LITERAL_CSTRING("Nvu"));
appData.SetUseStartupPrefs(PR_TRUE);
return xre_main(argc, argv, appData);
}

What next?

Thanks....
     
Fresh-Faced Recruit
Join Date: Mar 2004
Status: Offline
Reply With Quote
Jun 22, 2004, 10:00 AM
 
I just followed the instructions on Glazman's blog. Here is my .mozconfig

http://www.noved.org/~stephen/public..._mozconfig.txt

I always build it with the -i flag so it will keep compiling past the errors. Once it is finished compiling the package is busted because it doesn't collect the right files, so you have to use "cp -RL" to collect all the files from "dist/bin" and stick them in to Nvu.app/Contents/MacOS. I also had to put together an Info.plist.

You can download the compiled Nvu 0.3.0 here

(Last edited by stephenh; Jun 22, 2004 at 10:19 AM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:36 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2